Menu
Advertisement

Attendance Percentage Calculator for the 75% Rule

Type the classes you attended and the classes held so far. You get your attendance percentage, how many classes you can miss in a row and stay at the minimum, or how many you must attend to reach it.

By Nethanel Bar, Co-founder & CEO

Last updated

Advertisement

Ready to actually learn to code?

Coddy teaches you by writing real code in your browser - interactive lessons, instant feedback, and AI help when you get stuck.

How to calculate attendance percentage

This calculator is for students in India, where the 75% figure comes from CBSE: its examination bye-laws require 75% attendance to sit the Class X and XII board exams, and CBSE can grant a relaxation of up to 25% for documented reasons such as a medical emergency or national or international sports events. Colleges are different. Under the UGC's 2025 regulations on minimum standards of instruction, each university or college decides its own minimum attendance through its statutory bodies, so yours may be 75% or another figure.

So the minimum here starts at 75 and you can change it. From your classes attended and held, the calculator shows your attendance now and one of two answers: how many classes in a row you can miss and still be at or above the minimum, or how many in a row you must attend to get back to it. Exactly 75% counts as meeting a 75% minimum.

If you know how many classes are left in the term, type them too. The calculator then shows how many of them you can still miss and end the term at the minimum, and your attendance at the end if you attend them all. When your college counts attendance subject by subject, work out each subject on its own. Nothing you type is sent or saved.

What you will learn from the attendance formula

  • Attendance percentage is attended ÷ held × 100. Every class held adds to the bottom of the fraction, whether you were there or not.
  • At 75%, one class missed costs as much as three classes attended earn back, because 75% means three of every four classes.
  • The classes you can bunk at a 75% minimum are attended ÷ 0.75 − held, rounded down: 45 ÷ 0.75 − 50 = 10. The classes you need are (0.75 × held − attended) ÷ 0.25, rounded up: (33.75 − 30) ÷ 0.25 = 15.
  • Whole-number arithmetic keeps the boundary exact, so 75% never turns into 74.999%. The Python example below works in whole numbers and gives the same answers as the calculator.

How to use the attendance calculator

  1. Type the classes you attended

    The number of classes you were present for, from your college portal or the register.

  2. Type the classes held so far

    Every class that has taken place up to now, the ones you missed included. It cannot be less than the classes attended.

  3. Check the minimum

    It starts at 75. Change it to your college's or board's rule, for example 80 or 85. Decimals work.

  4. Add the classes still to come

    Optional. Type the classes left in the term to see how many of them you can still miss and where your attendance ends if you attend them all.

  5. Read the result

    The result shows your attendance, the classes attended and missed, and either the classes you can still miss or the classes needed. With the classes still to come it adds the classes you can miss this term, or says that even attending all of them leaves you under the minimum.

How many classes you can bunk or must attend

Worked out with the calculator for a 75% and an 85% minimum. Every count is classes in a row, starting now.

Attended / heldAttendance nowAt a 75% minimumAt an 85% minimum
90 / 10090%Miss 20 in a rowMiss 5 in a row
45 / 5090%Miss 10 in a rowMiss 2 in a row
85 / 10085%Miss 13 in a rowNone: the next absence takes you under
72 / 9080%Miss 6 in a rowAttend 30 in a row
40 / 5080%Miss 3 in a rowAttend 17 in a row
38 / 5076%None: the next absence takes you underAttend 30 in a row
60 / 8075%None: the next absence takes you underAttend 54 in a row
35 / 5070%Attend 10 in a rowAttend 50 in a row
30 / 4566.67%Attend 15 in a rowAttend 55 in a row

Attendance calculator examples

Room to bunk

Paste a small example into the tool and change one part at a time.

Your attendance is 90%, and the result says you can miss 10 more classes in a row and stay at 75% or above. After those 10 it is 45 of 60, exactly 75%.

Below 75%

Copy the original value, run the tool, then compare the result.

Your attendance is 66.67%. The result says to attend the next 15 classes in a row to reach 75%: then it is 45 of 60. At an 85% minimum the same record needs 55 classes in a row.

Planning the rest of the term

Take a value from your own work and use this tool to inspect or prepare it.

You are at 74.29% and need the next 2 classes in a row to reach 75%. Over the term you can still miss 7 of the 30 classes to come, and attending all 30 ends the term at 82%.

When the term is too short

plain
Classes attended 30, Classes held so far 45, Minimum attendance 75, Classes still to come 10

You need 15 classes in a row but only 10 are left, so the result says that even attending all 10 classes to come, you end at 72.73%, under 75%. At that point only a relaxation your board or college grants can help, so talk to them early.

The attendance formula in Python

Classes to bunk or attend
import math
def attendance(attended, held, minimum=75):    percent = round(attended / held * 100, 2)    # Whole-number arithmetic, so 75% exactly never fails on rounding    surplus = attended * 100 - held * minimum    if surplus >= 0:        return percent, "can miss", surplus // minimum    return percent, "must attend", math.ceil(-surplus / (100 - minimum))
print(attendance(45, 50))print(attendance(30, 45))print(attendance(60, 80))
Output

(90.0, 'can miss', 10) (66.67, 'must attend', 15) (75.0, 'can miss', 0)

The surplus is how far above the minimum you are, counted in hundredths of a class. Divided by the minimum it gives the classes you can miss; a shortfall divided by 100 minus the minimum gives the classes you need. 60 of 80 is exactly 75%, so nothing can be missed.

Common mistakes when working out attendance

  • Leaving the missed classes out of Classes held. Held is every class that took place, so 45 attended and 5 missed is 45 of 50, not 45 of 45.
  • Assuming 75% is your college's rule. Under the UGC 2025 regulations each university sets its own minimum; check your college's regulations and type its figure.
  • Adding up all subjects when your college counts them one by one. A good total can hide one subject under the minimum, so run the calculator for each.
  • Bunking right down to the limit. At exactly 75% the next absence takes you under, and a register that is updated late can put you there before you know it.
  • Planning on the relaxation. CBSE's relaxation of up to 25% is for documented reasons such as a medical emergency, not a buffer for skipped classes.

Attendance calculator FAQ

How do I calculate my attendance percentage?

Divide the classes you attended by the classes held and multiply by 100. 45 of 50 classes is 90%, and 30 of 45 is 66.67%.

How many classes can I bunk and still have 75%?

Divide the classes attended by 0.75, subtract the classes held and round down. With 45 of 50 that is 60 − 50 = 10 classes in a row. The calculator does this for any minimum you type.

How many classes do I need to attend to reach 75%?

Multiply the classes held by 0.75, subtract the classes attended, divide by 0.25 and round up. With 30 of 45 that is (33.75 − 30) ÷ 0.25 = 15 classes in a row.

Is 75% attendance compulsory in India?

For CBSE board exams, yes: the examination bye-laws require 75% to sit the Class X and XII exams, with a relaxation of up to 25% for documented reasons. For colleges there is no single national figure: under the UGC 2025 regulations each institution sets its own minimum.

Is exactly 75% enough?

Yes, for a rule that asks for at least 75%. 60 of 80 classes meets it, and the calculator then tells you that missing the next class takes you under.

What if my college needs 80% or 85%?

Change the minimum. With 85 of 100 classes, an 85% minimum leaves no class to miss, while a 75% minimum lets you miss 13 in a row.

Can I still reach 75% before the term ends?

Type the classes still to come. The calculator shows how many of them you can miss and still end at the minimum, or, if attending all of them is not enough, the attendance you would end at: 72.73% from 30 of 45 with 10 classes left.

Can I use it for subject-wise attendance?

Yes. Run it once per subject with that subject's classes attended and held. The arithmetic is the same for one subject or for all of them.

Other developer tools

Coddy programming languages illustration

Learn to code with Coddy

Get started