How age is calculated
Age is counted the way people say it: whole years first, then whole months, then the days left over.
- Count the whole months from the birth date that fit before the end date. Each month lands on the same day number as the birthday.
- Split those months into years (12 months each) and months.
- Count the days from the last "month birthday" to the end date.
Age = whole months ÷ 12 → years and months, then the leftover days
Total days are counted on the calendar (using UTC day numbers), so daylight saving changes never add or lose a day.
Worked example
Someone born on May 15, 1990 is, on October 27, 2026:
- May 15, 1990 to May 15, 2026 is 36 years.
- May 15, 2026 to October 15, 2026 is 5 months.
- October 15 to October 27 is 12 days.
So the age is 36 years, 5 months, 12 days. That's 13,314 days in total, or 1,902 weeks exactly. They were born on a Tuesday, and their next birthday, May 15, 2027, is 200 days away.
Month ends and February 29
When a month doesn't have the birthday's day number, the "month birthday" moves to the last day of that month. Someone born on January 31 is one month older on February 28 (or 29 in a leap year).
People born on February 29 only have a real birthday every four years. There's no single US rule for which day counts in other years, so you can choose:
- February 28 (the default): the same last-day-of-the-month rule as every other date.
- March 1: the day after February 28. Some laws, such as the UK's for legal age, use this.
Limitations
- Some Asian age systems count age differently (for example, the traditional Korean system starts at 1 at birth). This calculator uses the international system, starting at 0.
- Legal ages for things like retirement benefits can follow their own rules. Social Security, for instance, treats you as reaching an age the day before your birthday, which is why people born on January 1 use the previous year's retirement age. Check the rule that applies to you.
- Hours are calendar days × 24. They don't add time of day or the hour gained or lost to daylight saving time.
- Dates before 1582 use the Gregorian calendar extended backwards, not the Julian calendar people used then.
Sources
- U.S. Naval Observatory: Introduction to calendars (Gregorian leap-year rule)
- Social Security Administration: Normal retirement age (note for people born on January 1)