A little help goes a long way. Find a tool/

Time FIELD NOTES · 4 MIN READ

How Age Is Calculated (It's Trickier Than You Think)

Age in years, months, and days is a borrow algorithm, not subtraction: month-length traps, the day-before-birthday shape, and the February 29 exception.

"How old are you?" sounds like subtraction: 2026 minus 1990. But ask for an age in years, months, and days and the subtraction develops borrows, because months run 28 to 31 days and the calendar refuses to be tidy. Age is not one number; it is an algorithm.

The borrow algorithm behind years, months, days

An age is computed like long subtraction, component by component, with borrowing when a component goes negative. Take someone born August 20, 1990, on October 5, 2026:

days:    5 − 20 = −15        → borrow from the month before: September
days:    −15 + 30 = 15       (the borrow is September's real length —
                              had the target month been August, July's 31)
months:  10 − 8 − 1 = 1      (one month consumed by the borrow)
years:   2026 − 1990 = 36

age = 36 years, 1 month, 15 days

The subtle part is the borrow: you lend the actual length of the previous month, which is 28, 29, 30, or 31 days depending on which month precedes the target — and on whether February's year leaps. That is why two people born on different days can be "36" for different lengths of time, and why the same person's age gains a month on different calendar days each year. The Age Calculator runs precisely this algorithm, then adds two extras: total days lived and a countdown to the next birthday.

Total days is the honest number

Born June 15, 1990, on October 23, 2026: 36 years, 4 months, 8 days — and 13,279 days exactly. The day count needs no borrowing at all; it is a straight calendar difference between two dates, unambiguous to the day. What you cannot do is recover the years-months-days breakdown by dividing: 13,279 ÷ 365.25 gives 36.34 years, but the fractional part is not "4 months and 8 days," because months are not equal slices. That is why date tools that convert day counts into months use approximations (a 30.44-day month) and label them approximate — the exact breakdown can only come from the borrow walk above.

The day before your birthday

Run the algorithm on the eve of a birthday and you get a result that looks like a bug: someone born February 10, 2014, is 11 years, 11 months, 30 days old on February 9, 2026 — not 12 years minus a day. It is correct. The years component has not ticked over yet, the months are one short, and the day count is maxed out at the previous month's length. The same person is 12y 0m 0d the very next day. Birthdays in or near February get the odd-looking versions — 27, 28, 29, or 30 days — because the borrowed month is short.

The February 29 exception

A leap-day birthday stresses every part of the algorithm. Born February 29, 2000: on February 28, 2026 the age is 25 years, 11 months, 30 days; on March 1 it is 26 years, 0 months, 0 days. The birthday effectively lands on March 1 in common years, because "February 29" does not exist that year and calendar arithmetic slides the anniversary to the next real date. Some conventions celebrate on February 28 instead, and jurisdictions differ legally — but the arithmetic answer is unambiguous: the 26th birthday arrives March 1. Whether a given year even contains the leap day is exactly what the Leap Year Checker answers, with a plain-English reason; the calendar history behind the rule is in how leap years work.

Next-birthday math

The countdown works by planting the birthday in the current year — same month, same day — and, if that date has already passed (or is today), moving to next year's. For the leap-day birthday on February 28, 2026, the planted date resolves to March 1, so the countdown reads 1 day — technically correct, and surprising every time. In normal years the countdown is a simple difference; across a leap day it is a day longer, one of the quiet ways February 29 makes arithmetic interesting.

Try it yourself

Get your full breakdown — years, months, days, total days, next-birthday countdown — from the Age Calculator, and check it the night before your next birthday to see the 11-months-30-days shape appear. Test a February 29 birthdate against the Leap Year Checker for the surrounding years. For spans where a calendar-exact answer matters more than an age-style breakdown, the Date Difference Calculator reports the raw days, and how a date countdown works explains the walk-the-calendar method behind it.

Frequently asked questions

Why isn't age just birthday subtraction?
Because the components have different sizes. Subtracting years, months, and days separately goes negative whenever the target day-of-month is smaller than the birth day-of-month, and the borrow has to take the actual length of the previous month — 28 to 31 days — not a fixed 30. It is subtraction with carries, like school arithmetic.
How old are you the day before your birthday?
One year less, eleven months, and the previous month’s full length in days — e.g. 11 years, 11 months, 30 days, never "12 years minus a day." The years component has not ticked over, and the day count is maxed at what the borrowed month can lend. February birthdays get 27, 28, or 29 there.
What happens to people born on February 29?
In common years the anniversary date does not exist, so calendar arithmetic slides it to March 1: someone born Feb 29, 2000 turns 26 on March 1, 2026, and is 25y 11m 30d the day before. Some conventions celebrate on February 28 instead, and laws differ, but the arithmetic answer is unambiguous.
Is "total days old" an exact number?
Yes — it is a straight calendar difference between the two dates, no borrowing involved, so it is exact to the day. What is approximate is dividing those days into years and months: 13,279 days is 36.34 by the 365.25-day year, but the "0.34" is not a clean number of months, because months are unequal.
When does the next-birthday countdown hit zero?
The calculator plants the birthday in the current year; if that date has already passed (or is today), it moves to next year and counts the days. For a February 29 birthday in a common year, the planted date resolves to March 1 — so on February 28 the countdown reads one day, which surprises everyone.