Attendance Percentage Calculator Online

{
“@context”: “https://schema.org”,
“@type”: “FAQPage”,
“mainEntity”: [
{
“@type”: “Question”,
“name”: “How is attendance percentage calculated?”,
“acceptedAnswer”: {
“@type”: “Answer”,
“text”: “Attendance percentage is calculated using the formula: (Classes Attended ÷ Total Classes Conducted) × 100. For example, 42 attended out of 50 total classes equals 84.00%.”
}
},
{
“@type”: “Question”,
“name”: “What is a good attendance percentage in college?”,
“acceptedAnswer”: {
“@type”: “Answer”,
“text”: “Most Indian colleges and universities require a minimum of 75% attendance to appear for semester exams. Keeping your attendance between 78% and 80% gives you a safe buffer.”
}
},
{
“@type”: “Question”,
“name”: “How can I calculate attendance percentage for multiple subjects?”,
“acceptedAnswer”: {
“@type”: “Answer”,
“text”: “Add the attended classes across all subjects and divide by the sum of total classes held across all subjects, then multiply by 100. Note that many colleges also check 75% per individual subject.”
}
},
{
“@type”: “Question”,
“name”: “Does this Attendance Percentage Calculator work on mobile?”,
“acceptedAnswer”: {
“@type”: “Answer”,
“text”: “Yes, the calculator works on all mobile phones, tablets, and desktop browsers with instant results and no login required.”
}
}
]
}

.nk-pct-wrapper {
–nk-bg: #f8fafc;
–nk-card: #ffffff;
–nk-border: #e2e8f0;
–nk-text: #0f172a;
–nk-muted: #475569;
–nk-accent: #0f766e;
–nk-accent-dark: #115e59;
–nk-accent-soft: #f0fdfa;
–nk-warn: #d97706;
–nk-warn-soft: #fffbeb;
–nk-danger: #dc2626;
–nk-danger-soft: #fef2f2;
max-width: 780px;
margin: 0 auto;
color: var(–nk-text);
line-height: 1.65;
font-family: inherit;
}

.nk-pct-wrapper * {
box-sizing: border-box;
}

.nk-pct-intro {
font-size: 1.02rem;
color: var(–nk-muted);
margin: 0 0 20px;
}

.nk-pct-card {
background: var(–nk-card);
border: 1px solid var(–nk-border);
border-radius: 16px;
padding: 24px;
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
margin-bottom: 28px;
}

.nk-pct-card-head {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
gap: 10px;
margin-bottom: 18px;
}

.nk-pct-card-title {
font-size: 1.15rem;
font-weight: 700;
margin: 0;
}

.nk-pct-badge {
background: var(–nk-accent-soft);
color: var(–nk-accent-dark);
font-size: 12px;
font-weight: 700;
padding: 4px 10px;
border-radius: 999px;
}

.nk-pct-inputs {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 14px;
margin-bottom: 16px;
}

@media (max-width: 560px) {
.nk-pct-inputs {
grid-template-columns: 1fr;
}
.nk-pct-card {
padding: 18px;
}
}

.nk-pct-field label {
display: block;
font-size: 13px;
font-weight: 600;
color: var(–nk-muted);
margin-bottom: 6px;
}

.nk-pct-field input {
width: 100%;
padding: 11px 12px;
font-size: 16px;
font-weight: 600;
font-family: inherit;
color: var(–nk-text);
background: #ffffff;
border: 1.5px solid var(–nk-border);
border-radius: 10px;
outline: none;
}

.nk-pct-field input:focus {
border-color: var(–nk-accent);
}

.nk-pct-actions {
display: flex;
gap: 10px;
margin-bottom: 18px;
}

.nk-pct-btn-main {
flex: 1;
background: var(–nk-accent);
color: #ffffff;
border: none;
border-radius: 10px;
padding: 12px 18px;
font-size: 15px;
font-weight: 700;
cursor: pointer;
transition: background 0.15s ease;
}

.nk-pct-btn-main:hover {
background: var(–nk-accent-dark);
}

.nk-pct-btn-clear {
background: var(–nk-bg);
color: var(–nk-muted);
border: 1px solid var(–nk-border);
border-radius: 10px;
padding: 12px 16px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
}

.nk-pct-btn-clear:hover {
background: #e2e8f0;
color: var(–nk-text);
}

.nk-pct-output {
border-radius: 12px;
padding: 18px;
border: 1px solid var(–nk-border);
background: var(–nk-bg);
}

.nk-pct-output.is-good {
background: var(–nk-accent-soft);
border-color: #99f6e4;
}

.nk-pct-output.is-low {
background: var(–nk-warn-soft);
border-color: #fde68a;
}

.nk-pct-output.is-err {
background: var(–nk-danger-soft);
border-color: #fecaca;
color: var(–nk-danger);
}

.nk-pct-out-row {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 10px;
}

.nk-pct-big {
font-size: 1.85rem;
font-weight: 800;
}

.nk-pct-pill {
font-size: 12px;
font-weight: 700;
padding: 4px 10px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.9);
}

.nk-pct-bar {
width: 100%;
height: 10px;
background: rgba(15, 23, 42, 0.08);
border-radius: 999px;
overflow: hidden;
margin-bottom: 12px;
}

.nk-pct-bar-inner {
height: 100%;
width: 0%;
border-radius: 999px;
transition: width 0.3s ease, background-color 0.3s ease;
}

.nk-pct-stats {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
margin-top: 12px;
}

@media (max-width: 520px) {
.nk-pct-stats {
grid-template-columns: 1fr;
}
}

.nk-pct-stat-box {
background: rgba(255, 255, 255, 0.85);
padding: 10px 12px;
border-radius: 8px;
font-size: 13px;
color: var(–nk-muted);
}

.nk-pct-stat-box strong {
display: block;
font-size: 15px;
color: var(–nk-text);
}

.nk-pct-msg {
margin: 0;
font-size: 0.95rem;
font-weight: 600;
}

.nk-pct-section {
background: var(–nk-card);
border: 1px solid var(–nk-border);
border-radius: 14px;
padding: 22px;
margin-bottom: 20px;
}

.nk-pct-section h2 {
font-size: 1.28rem;
margin: 0 0 10px;
font-weight: 700;
color: var(–nk-text);
}

.nk-pct-section p {
margin: 0 0 12px;
color: #334155;
}

.nk-pct-formula {
background: var(–nk-accent-soft);
border-left: 4px solid var(–nk-accent);
padding: 12px 16px;
border-radius: 0 10px 10px 0;
font-weight: 700;
color: var(–nk-text);
margin: 12px 0;
}

.nk-pct-steps {
margin: 0;
padding-left: 20px;
color: #334155;
}

.nk-pct-steps li {
margin-bottom: 8px;
}

.nk-pct-faq-item {
border-bottom: 1px solid var(–nk-border);
padding: 10px 0;
}

.nk-pct-faq-item:last-child {
border-bottom: none;
padding-bottom: 0;
}

.nk-pct-faq-q {
width: 100%;
background: none;
border: none;
text-align: left;
font-family: inherit;
font-size: 15px;
font-weight: 700;
color: var(–nk-text);
padding: 4px 0;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
gap: 10px;
}

.nk-pct-faq-a {
display: none;
padding-top: 8px;
font-size: 14px;
color: var(–nk-muted);
}

.nk-pct-faq-item.is-open .nk-pct-faq-a {
display: block;
}

Use this free Attendance Percentage Calculator to instantly check your current attendance percentage, total classes missed, and how close you are to the 75% college requirement.

Attendance Percentage Calculator

Instant Result


80.00%
75%+ Eligible

What Is Attendance Percentage?

An attendance percentage measures the share of total scheduled classes you have attended during a semester or academic year. Most colleges, engineering institutes, and universities in India require students to maintain at least 75% attendance to qualify for final exams.

Attendance Percentage = (Classes Attended ÷ Total Classes Conducted) × 100

Example: If 50 classes were held and you attended 40 of them, your attendance is (40 ÷ 50) × 100 = 80.00%.

How to Use the Attendance Percentage Calculator

  1. Enter Total Classes Held: Type the total number of lectures or lab sessions conducted so far.
  2. Enter Classes Attended: Type how many of those classes you attended.
  3. View Instant Results: Click Calculate Percentage (or type directly) to see your exact percentage, total missed classes, and whether you meet the 75% mark.

Need to recover from a shortage or check more student utilities? Explore all free calculators on NK Online Tools at JustNK.in.

Frequently Asked Questions

Divide the number of classes you attended by the total classes held, then multiply by 100.

Most universities mandate 75% minimum attendance. Aiming for 78%–80% protects you against unexpected leaves or portal rounding differences.

Sum all attended classes across subjects and divide by the sum of total classes held. Check your college rules too, as some require 75% in each subject separately.

Yes, it works smoothly on mobile phones, tablets, and desktops with instant updates.

(function () {
var totalEl = document.getElementById(‘nk-pct-total’);
var attEl = document.getElementById(‘nk-pct-attended’);
var calcBtn = document.getElementById(‘nk-pct-calc-btn’);
var resetBtn = document.getElementById(‘nk-pct-reset-btn’);
var outputBox = document.getElementById(‘nk-pct-output’);
var valEl = document.getElementById(‘nk-pct-value’);
var pillEl = document.getElementById(‘nk-pct-pill’);
var barEl = document.getElementById(‘nk-pct-bar-inner’);
var msgEl = document.getElementById(‘nk-pct-msg’);
var statsEl = document.getElementById(‘nk-pct-stats’);
var faqBtns = document.querySelectorAll(‘.nk-pct-faq-q’);

function updateCalc() {
var total = parseInt(totalEl.value, 10);
var attended = parseInt(attEl.value, 10);

outputBox.classList.remove(‘is-good’, ‘is-low’, ‘is-err’);

if (isNaN(total) || isNaN(attended) || total <= 0 || attended total) {
outputBox.classList.add(‘is-err’);
valEl.textContent = ‘Check Input’;
pillEl.textContent = ‘Error’;
barEl.style.width = ‘0%’;
msgEl.textContent = ‘Classes Attended cannot exceed Total Classes Held.’;
statsEl.innerHTML = ”;
return;
}

var pct = (attended / total) * 100;
var missed = total – attended;
valEl.textContent = pct.toFixed(2) + ‘%’;
barEl.style.width = Math.min(100, Math.max(0, pct)) + ‘%’;

var actionLabel = ”;
var actionValue = ”;

if (pct >= 75) {
outputBox.classList.add(‘is-good’);
pillEl.textContent = ‘75%+ Eligible’;
barEl.style.backgroundColor = ‘#0f766e’;
var canSkip = Math.floor((4 * attended – 3 * total) / 3);
msgEl.textContent = canSkip > 0
? ‘Great job! You meet the 75% rule and can safely skip up to ‘ + canSkip + ‘ ‘ + (canSkip === 1 ? ‘class.’ : ‘classes.’)
: ‘You are right at the 75% mark—attend the next class to stay safe.’;
actionLabel = ‘Safe to Skip’;
actionValue = canSkip + (canSkip === 1 ? ‘ class’ : ‘ classes’);
} else {
outputBox.classList.add(‘is-low’);
pillEl.textContent = ‘Below 75%’;
barEl.style.backgroundColor = ‘#d97706’;
var needed = 3 * total – 4 * attended;
msgEl.textContent = ‘Attend ‘ + needed + ‘ consecutive ‘ + (needed === 1 ? ‘class’ : ‘classes’) + ‘ to reach 75%.’;
actionLabel = ‘Needed for 75%’;
actionValue = needed + (needed === 1 ? ‘ class’ : ‘ classes’);
}

statsEl.innerHTML =
‘

Attended‘ + attended + ‘ / ‘ + total + ‘

‘ +
‘

Missed‘ + missed + (missed === 1 ? ‘ class’ : ‘ classes’) + ‘

‘ +
‘

‘ + actionLabel + ‘‘ + actionValue + ‘

‘;
}

calcBtn.addEventListener(‘click’, updateCalc);
totalEl.addEventListener(‘input’, updateCalc);
attEl.addEventListener(‘input’, updateCalc);

resetBtn.addEventListener(‘click’, function () {
totalEl.value = ”;
attEl.value = ”;
outputBox.classList.remove(‘is-good’, ‘is-low’, ‘is-err’);
valEl.textContent = ‘0.00%’;
pillEl.textContent = ‘Ready’;
barEl.style.width = ‘0%’;
msgEl.textContent = ‘Enter your total and attended classes above.’;
statsEl.innerHTML = ”;
});

faqBtns.forEach(function (btn) {
btn.addEventListener(‘click’, function () {
btn.parentElement.classList.toggle(‘is-open’);
});
});

updateCalc();
})();