Every calculator on AgeCalculator.uno uses the same calendar engine and the same conventions. This page explains them in one place. Where people or other tools use a different convention, it says so.
Calendar age
An age is counted in complete calendar units:
- Years: the number of birthdays that have passed.
- Months: the number of complete months since the last birthday.
- Days: the number of days since the last complete month.
For a person born on March 15, 1990, the age on November 25, 2026 is found like this: the last birthday was March 15, 2026, the 36th; from March 15 to November 15 is 8 complete months; from November 15 to November 25 is 10 days. The age is 36 years, 8 months and 10 days.
Months are never converted to 30 days and years are never converted to 365.25 days, because real months have 28 to 31 days. The same counting is used for the age calculator, the age difference calculator, the baby age calculator and the anniversary calculator.
Month ends and February 29
Some months do not contain the day a count starts on. On this site, a month is complete on the last day of a month that is too short:
| Start | End | Result |
|---|---|---|
| January 31, 2001 | February 27, 2001 | 0 months and 27 days |
| January 31, 2001 | February 28, 2001 | 1 month and 0 days |
| January 31, 2001 | March 1, 2001 | 1 month and 1 day |
| February 29, 2000 | February 28, 2001 | 1 year, 0 months and 0 days |
| February 29, 2000 | March 1, 2001 | 1 year, 0 months and 1 day |
So a person born on February 29 has a birthday on February 28 in years without a February 29. The same rule is used when adding months to a date: January 31 plus one month is February 28 (or 29). Some other tools count a month as complete only when the same day number is reached, and would show 28 days for January 31 to February 28; neither convention is wrong, which is why this page states the one used here.
Calendar age is not legal age. Legal age is set by the law that applies to a person, for a particular purpose: voting, driving, buying alcohol, signing contracts or receiving benefits. Each jurisdiction sets its own rules, including whether a person born on February 29 reaches a new age on February 28 or March 1, and sometimes the moment of the day it happens. This site does not determine legal age.
Counting days
The number of days between two dates is the count of calendar days from the first to the second: from November 25 to November 26 is 1 day. Leap days are counted whenever they fall in between. The days between dates calculator can also include the end date, for spans such as events that run “from … through …”.
A day number within the year starts at 1 on January 1, as in the day of the year calculator. Day and week milestones, such as 10,000 days old, count from the date of birth as day 0. When the date calculator adds a mix of units, it adds years and months first and then weeks and days, the order used by date standards and most software.
Ages with a time of day
Calculators that use a time of day, such as the age in seconds calculator and the date and time difference calculator, read the times in your device’s time zone and measure real elapsed time. When daylight saving time starts or ends between two moments, the hour that the clocks skip or repeat is accounted for, and the result says so. Leap seconds are not counted, because device clocks do not count them either. Worked examples on those pages use 24-hour days so that they read the same in every time zone.
Today’s date and time zones
“Today” is the date on your device’s clock, in your device’s time zone, and it is read again every time you calculate, so a page left open overnight stays correct. When it is already the next day elsewhere in the world, a person there can be one day older than the result shows. If your device clock is wrong, or you need a result for a date elsewhere, enter the date yourself.
Business days and US federal holidays
The business days calculator counts Monday to Friday and can also skip the eleven US federal holidays defined in federal law (5 U.S.C. § 6103): New Year’s Day, the Birthday of Martin Luther King Jr., Washington’s Birthday, Memorial Day, Juneteenth National Independence Day (from 2021), Independence Day, Labor Day, Columbus Day, Veterans Day, Thanksgiving Day and Christmas Day. Holidays on fixed dates are moved to their observed day when they fall on a weekend: Saturday holidays are observed on the Friday before and Sunday holidays on the Monday after. Holidays are applied from 1986, the first year the current set was in place. State, local and company holidays are not included. The observed dates follow the rules the Office of Personnel Management applies to federal employees.
When counting between two dates, both dates are counted if they are business days. When adding business days, the start date is not counted.
Week numbers
The week number calculator gives two numbers. ISO 8601 weeks start on Monday, and week 1 is the week that contains the year’s first Thursday, so a year has 52 or 53 weeks and early January can belong to the previous year’s last week. US weeks start on Sunday, and week 1 is the week that contains January 1.
Leap years
A Gregorian year is a leap year if it is divisible by 4, except years divisible by 100, unless they are also divisible by 400. This gives 97 leap years every 400 years and an average year of 365.2425 days, close to the solar year of about 365.2422 days. The leap year calculator applies the rule step by step.
Chronological age for testing
The chronological age calculator shows the age at a test date in two ways. The test-manual method subtracts years, months and days separately and, when needed, borrows 30 days for a month and 12 months for a year, as many test score sheets do. The calendar method is the calendar age described above. The two can differ by a day or two near the end of a month. Rounding rules come from each test’s manual; the calculator does not round.
Corrected age for premature babies
The corrected age calculator counts a baby’s age from the due date instead of the birth date. When the weeks of pregnancy at birth are entered instead of a due date, the due date is worked out from a full-term pregnancy of 40 weeks (280 days), the same count the American Academy of Pediatrics uses to find how many weeks early a baby was born. Before the due date has been reached, the result shows the time remaining until it. Babies born before 37 completed weeks of pregnancy are preterm, as the CDC defines it, and the American Academy of Pediatrics advises using corrected age to track development until 2 years of age; from that age the result adds a note.
Social Security retirement age
The retirement age calculator uses the full retirement age table published by the US Social Security Administration: 65 for people born in 1937 or earlier, rising by two months a year to 66 for 1943 to 1954, and rising again by two months a year to 67 for 1960 and later. People born on January 1 use the previous year. The early-claiming reduction is 5/9 of 1% for each of the first 36 months before full retirement age and 5/12 of 1% for each further month; delayed retirement credits for people born in 1943 or later are 2/3 of 1% per month up to age 70.
Social Security counts a person as reaching an age on the day before the birthday, and it pays retirement benefits only for months in which the person is 62 for the whole month. So people born on the 1st or 2nd of a month can start in the month of their 62nd birthday, and everyone else in the following month. Someone born on the 1st is treated as if the birthday were in the previous month, so they reach full retirement age a month earlier. The calculator shows these months and works out the reduction from your actual first eligible month, which for most people is one month less than the 60 months in Social Security’s chart for a full retirement age of 67. Sources: full retirement age and reductions, delayed credits, age 62 for the whole month.
Generations
The generation calculator uses the generation years published by Pew Research Center: Silent Generation 1928–1945, Baby Boomers 1946–1964, Generation X 1965–1980, Millennials 1981–1996 and Generation Z 1997–2012, with the Greatest Generation for 1901–1927. Generation boundaries are conventions, and other sources set them differently.
Historical dates
All calculators use the Gregorian calendar, the calendar in everyday use today, extended backward for earlier dates (the proleptic Gregorian calendar). The Gregorian calendar began in October 1582, but countries adopted it at different times. Great Britain and its colonies, including those in North America, switched in September 1752: September 2, 1752 was followed by September 14. The same law moved the start of the legal year to January 1 from 1752; before that, the legal year in England began on March 25, so older records can show a different year for dates in January, February and March. Russia did not switch until 1918.
The calculators do not convert dates between calendars. If a date was recorded in the Julian calendar, convert it to the Gregorian calendar first. Results for early dates include a reminder.
How the calculations are checked
The calendar engine is tested automatically before each release. The tests check every date from year 1 to year 9999, leap years, month ends and February 29, the observed dates of US federal holidays, ISO week numbers and dates in many time zones. Results are also compared with an independent implementation of calendar arithmetic across hundreds of thousands of random date pairs. Every worked example on the site is produced by the same code as the calculators, so the examples and the calculators cannot disagree.
If you find a result you believe is wrong, please contact us with the dates you entered. To learn more about the site and its principles, read about AgeCalculator.uno.
Sources
- Social Security Administration: Benefits Planner, full retirement age and benefit reduction by year of birth
- Social Security Administration: Benefits Planner, delayed retirement credits
- Social Security Administration: Apply for retirement benefits (age 62 for the whole month)
- Social Security Administration, Program Operations Manual System RS 00615.015: How the day of birth affects benefits
- American Academy of Pediatrics (HealthyChildren.org): Corrected age for preemies
- American Academy of Pediatrics (HealthyChildren.org): Your preemie’s growth and developmental milestones
- Centers for Disease Control and Prevention: Preterm birth
- 5 U.S. Code § 6103, Holidays (Legal Information Institute, Cornell Law School)
- U.S. Office of Personnel Management: Federal holidays
- Pew Research Center: Defining generations: Where Millennials end and Generation Z begins (2019)
- 23 U.S. Code § 158, National minimum drinking age (Legal Information Institute, Cornell Law School)