Date & Time6 min read

How Age Calculation Actually Works (Including the Weird Edge Cases)

Subtracting birth years seems trivial — until you hit leap year birthdays, Korean age conventions, or a legal document asking for exact years, months, and days.

MN

MathNinja Editorial Team

MathNinja.io · REFINERY FZ-LLC

Age calculation sounds like the most boring possible topic. Subtract the year of birth from the current year — done, right? In practice there are at least four distinct situations where that approach gives you the wrong answer, and one of them (February 29 birthdays) is a genuine legal edge case that varies by country.

The basic method and where it breaks

Current year minus birth year gives the age you'll be on your birthday this year. But if your birthday hasn't happened yet, you're still one year younger. The fix: subtract 1 from the result if today's date is before the birthday month-and-day.

Example: born October 20, 1990. Today is January 15, 2026. Raw subtraction: 2026 − 1990 = 36. But January 15 is before October 20, so the actual age is 35. If today were November 1, 2026, the birthday has passed and the age is 36. This is the mistake many spreadsheet formulas make when someone uses YEAR(TODAY()) − YEAR(birthdate) without checking the month and day.

February 29 birthdays — genuinely complicated

People born on February 29 only have an exact birthday match every four years. This isn't just a fun trivia fact — it has actual legal implications for things like coming-of-age dates, driving licences, and contracts.

  • United Kingdom: the legal birthday in a non-leap year falls on March 1. So someone born February 29, 2008 becomes legally 18 on March 1, 2026.
  • New Zealand: the legal birthday falls on February 28 in non-leap years.
  • United States: varies by state, though most treat February 28 as the birthday for legal purposes.
  • Hong Kong: the official guidance is that February 29 people are born on March 1 in non-leap years.

If you're administering anything legally sensitive involving a February 29 birthday, check the jurisdiction-specific rules. This is not a case where you can assume a universal answer.

Exact age in years, months, and days

Passports, medical records, and legal documents sometimes ask for exact age rather than just the year. The process: count full years from birth to today, then count full months since the last birthday, then count remaining days. Sounds simple but February's variable length causes small complications — a month that starts on January 31 and 'ends' on February 28 is still counted as one full month, even though February is shorter.

Example: born March 15, 1988. Today: September 11, 2026. Full years: 38 (birthday has passed). Months since March 15: April, May, June, July, August = 5. Days: 11. Age: 38 years, 5 months, 11 days.

Korean age — the system that's actually more logical than it sounds

In traditional Korean age counting, everyone is 1 at birth (not 0 — the first year of life is acknowledged) and everyone gains a year together on January 1, not on their individual birthday. A baby born in December 2025 would be 2 years old in January 2026 by this counting system.

South Korea officially moved to the international (Western) age system in June 2023 for legal and administrative purposes. But the traditional system persists in cultural contexts, and plenty of Koreans still use it conversationally. When a Korean contact mentions their age, it's worth confirming which system they mean — the difference can be one or two years.

Days between dates — not just (Y2 − Y1) × 365

Leap years add an extra day roughly every four years (excluding century years, with exceptions). This means calculating exact days between two dates requires accounting for how many leap years fall in the range. The easiest approach: use a calculator that handles this automatically rather than trying to do it manually.

Free age and date calculators

The age calculator gives exact age in years, months, and days from any birthdate. The days-between-dates calculator handles arbitrary date ranges, including leap year adjustments.