Skip to content
100% local

Attendance percentage calculator

Turn attended and total hours into an attendance percentage, plus how many hours you can still miss.

Input
Output

Attendance percentage calculator

Paste a list of attended and total hours and this tool works out the attendance percentage for each subject and for everything combined. It accepts two line formats: subject;attended;total for a subject you already have totals for (Math;18;20), or date;status for a day-by-day log where status is present, absent or excused (2026-01-10;present). Lines using the same subject name are added together automatically, so a term split across several exports still rolls up into one figure.

Set a minimum attendance percentage and the tool tells you exactly where you stand against it. Enter the hours still remaining in the term and it projects forward: when you are already on track, it shows how many of those remaining hours you can still miss and stay at or above the limit; when you are behind, it shows how many you must attend to catch up, or tells you plainly when the target is no longer reachable even with perfect attendance for the rest of the period. Excused absences can be excluded from the total entirely — the usual policy for a certified sick day — or counted as an ordinary absence, whichever your institution uses. Decimal places control how precise the percentage reads, and the output can switch between a readable summary and a CSV table for pasting into a spreadsheet.

Attendance data often mixes formats and stray whitespace: the tool handles Windows (CRLF) and Unix (LF) line endings the same way, ignores blank lines, and reports the exact line number if an entry can't be parsed or if attended hours exceed the total. The live tally above the output shows the number of subjects, the overall percentage, and a one-line note on whether the minimum is still within reach.

Everything runs in your browser — no attendance record, student name or school system is ever uploaded. Copy the result, download it as a .txt file, or send it back into the input to adjust the numbers and recalculate.

FAQ

What do the two input formats mean?
Use subject;attended;total when you already have totals per subject (Math;18;20). Use date;status for a day-by-day log, where status is present, absent or excused (2026-01-10;present) — every date line is combined into one "Days" summary.
How does "excused absences" affect the percentage?
With "Exclude excused absences from the total" on, an excused entry is dropped from both the attended and total counts, as if that session never happened. Turn it off to count an excused absence as an ordinary absence instead.
How is "hours you can still miss" calculated?
From the remaining hours you enter, the tool works out the largest number of additional absences that still leaves your final percentage at or above the minimum you set, assuming you attend the rest.
What happens if the minimum is no longer reachable?
The tool tells you so directly and reports by how many hours you would fall short, even if you attended every single remaining hour — rather than showing a negative or misleading number.
Is my attendance data uploaded anywhere?
No. The calculation runs entirely in your browser — subject names, dates and hours never leave your device.