Skip to content
100% local

Century of a year

Find the century and millennium a year or date falls in, plus how far into it that leaves you.

Input
Output

Century of a year

Paste a year — or a full date — and this tool tells you which century and which millennium it falls in, along with how much of that century is left. It handles one entry per line, so you can check a whole list of years at once: birth years, historical dates, founding years of companies, anything where "which century was that?" comes up.

By default the input is a bare year like 2024 or 1900, but you can switch to full dates (YYYY-MM-DD, optionally with a time and UTC offset) when the day matters — useful for a timestamp near midnight on New Year's Eve of a century-ending year, where the time zone option decides whether it counts toward the old century or the new one. Negative years and BC/BCE-suffixed years ("44 BC") are supported too, using the standard historical convention where the 1st century BC runs from 100 BC to 1 BC. Choose how the century number is written — ordinal (21st), Roman numeral (XXI) or a plain number — and whether the remaining time in that century is shown in years, months or days, optionally counting the century's final day as still part of the count.

Every line is checked independently, so one unparseable entry doesn't stop the rest: it appears in the output tagged as invalid instead. The tally under the output reports how many years converted, how many were invalid, and the total character count of the result.

Everything runs locally in your browser — no year, date or list you paste is ever uploaded anywhere. When you're done, copy the result, download it as a .txt file, or send the output straight back into the input to run it again with different options.

FAQ

How is the century of a year determined?
Centuries run 1–100, 101–200 and so on, so the year 2024 falls in the 21st century (2001–2100) and the year 2000 is the last year of the 20th. There is no year 0 in the historical calendar, which is why the 1st century runs from year 1, not year 0.
Does it handle years BC/BCE?
Yes. Enter a year like "44 BC" or "44 BCE", or a negative year using astronomical numbering (-43 is the same moment). BC centuries count backward from 1 BC, so 100 BC to 1 BC is the 1st century BC.
What does "time remaining" mean here?
It is the distance from the year (or date) you entered to the last day of its century, shown in whichever unit you pick — years, months or days. Turning on "include the century’s last day" adds one extra day to that count.
Why does the time zone option matter for a full date?
Only when the date includes a time and UTC offset near a year boundary — converting "31 Dec 2000, 11:30pm −05:00" to UTC lands it on 1 January 2001, which can shift which century it belongs to. A bare date with no time ignores this option entirely.
Is my list of years or dates uploaded anywhere?
No. The century calculator runs entirely in your browser — nothing you paste is sent to a server.