Attendance Calculator
See your attendance % and how many classes you can miss
About Attendance Calculator & FAQs
Enter classes attended and classes held to get your attendance percentage, then see how many lectures you can skip or must attend in a row to stay at 75% or any target. Add a row per subject for a subject-wise and overall view. Works in your browser with nothing uploaded.
How is the attendance percentage calculated?
It is classes attended divided by classes held, multiplied by 100. With 30 attended out of 40 held, that is 30 ÷ 40 × 100 = 75%. The overall figure adds up attended and held classes across every subject row before dividing.
How does it work out how many classes I can miss?
If you are above the target, every missed class adds one to classes held but not to classes attended. The most you can miss is the whole-number part of (attended ÷ target) − held. With 45 of 50 and a 75% target, 45 ÷ 0.75 − 50 = 10 classes.
How many classes must I attend to get back to 75%?
Each class you attend adds one to both attended and held, so the count is (target × held − attended) ÷ (1 − target), rounded up. With 20 of 40 and a 75% target, (0.75 × 40 − 20) ÷ 0.25 = 40 classes in a row, which gives 60 of 80.
Extensible Module
Standalone component src/tools/students/AttendanceCalculatorTool.tsx; the maths is attendance() in src/tools/students/math.ts, covered by src/tools/money/math.test.mjs.
src/tools/attendance-calculator/