People often expect the year 1800 to be the start of the 19th century because it begins with “18.” Historically, that isn’t how centuries (or millennia) are counted. A century is a complete block of 100 years, and a millennium is a complete block of 1,000 years. By convention, counting begins at year 1, not year 0. That means:
So the year 1800 is the last year of the 18th century (1701–1800). The year 1801 is the first year of the 19th century (1801–1900). The exact same idea applies to millennia: the 2nd millennium CE runs from 1001 through 2000, and the 3rd millennium begins in 2001.
To compute a century number from a year, you divide by 100 and round up to the next whole number (the “ceiling” function). For millennia, divide by 1,000 and round up.
Century number = ceil(|year| / 100)
Millennium number = ceil(|year| / 1000)
The calculator uses absolute value (|year|) so that the same arithmetic works for BCE and CE years. After the number is found, the result is labeled as BCE when the input year is negative and CE when the input year is positive.
This tool uses a simple input convention: negative years represent BCE. For example, enter -44 for 44 BCE. Internally, the calculator computes the century and millennium from the magnitude of the year, then appends the BCE label.
Examples:
Because centuries and millennia are grouped into full blocks that start at 1, boundary years can feel surprising at first. Here are the key boundary rules the calculator follows:
Example: What century and millennium is 1905?
So 1905 is in the 20th century and the 2nd millennium.
| Input year | Era | Century | Millennium | Why |
|---|---|---|---|---|
| 1 | CE | 1st | 1st | Counting starts at year 1 |
| 100 | CE | 1st | 1st | End of the first 100-year block |
| 101 | CE | 2nd | 1st | Begins the second century |
| 1000 | CE | 10th | 1st | End of the first millennium |
| 1001 | CE | 11th | 2nd | Begins the second millennium |
| 1800 | CE | 18th | 2nd | 1701–1800 is the 18th century |
| 2000 | CE | 20th | 2nd | End of the 2nd millennium (1001–2000) |
| -1 | BCE | 1st | 1st | 1 BCE falls in the first century BCE |
| -44 | BCE | 1st | 1st | 44 BCE is within years 1–100 BCE |
| -101 | BCE | 2nd | 1st | 101–200 BCE corresponds to the 2nd century BCE |
The tool formats century and millennium numbers as ordinals so they read naturally (for example, “21st century” instead of “21 century”). Suffix rules include a special case for 11, 12, and 13 (which always use “th”).