How to Calculate Age

The years-months-days method, worked examples, how leap years and February 29 birthdays work, and the mistakes that get ages wrong by a day.

By 📅 Updated ⏱ 5 min read
⚡ Key Takeaways (TL;DR)

Age = current year minus birth year, minus one if this year's birthday has not happened yet. Then count whole months since your last birthday and the leftover days. Leap years add a day to the count but never change your age in years. Skip the arithmetic with our free age calculator, which also shows total days lived, your birth weekday, and a birthday countdown.

Skip the math — just use the tool: Jump straight to our free Age Calculator for your exact age, totals, and next-birthday countdown.
Open Age Calculator →

The Age Formula

Age in whole years follows one rule: current year minus birth year, minus one if this year's birthday has not arrived yet. That correction is the entire trick. Someone born in December 2000 is still 25 for most of 2026, because 2026 minus 2000 is 26 but the birthday has not happened.

Months and days need the walk-forward method. Start at the most recent birthday and count forward: whole years first, then whole months, then the remaining days. Counting from the birthday instead of subtracting raw date parts is what keeps month boundaries correct, because months are 28 to 31 days long and simple subtraction breaks on them.

Worked example: born June 15, 1990, and today is October 4, 2026. Years: 2026 minus 1990 is 36, birthday passed, so 36 years. From the June 15 birthday, four full months would land on October 15, which has not happened, so 3 full months to September 15, plus 19 days to October 4. Result: 36 years, 3 months, 19 days.

Why the Naive Subtraction Fails

The tempting shortcut is to subtract each date part: years, months, days separately. It works until it does not. Take someone born January 31 with today being March 1. Naive subtraction says 1 month and negative 30 days, which is nonsense. The walk-forward method says: one full month (January 31 to the end of February, clamped to February 28), then 1 day to March 1, giving 1 month, 1 day. Same birthday, same today, but only one method gives an answer that means something.

Month-end birthdays are the classic trap. Born March 31, and today is April 30? That is not one month, because a full month from March 31 lands on April 30 only by the clamping rule, and the honest answer depends on the convention you pick. Calculators handle this by clamping to the last day of the shorter month. If an exact day count matters to you, for a contract or a legal cutoff, use total days instead of the months-and-days breakdown, because total days has no ambiguity.

Leap Years, Explained Plainly

A leap year adds February 29, one extra day, roughly every four years. The rule: a year is a leap year if it is divisible by 4, except century years, which must also be divisible by 400. So 2024 was a leap year, 2025 was not, 2000 was, and 1900 was not.

For age math, leap years matter in exactly one place: the total day count. Between June 15, 1990 and October 4, 2026 there are 9 leap days (1992 through 2024), each adding one to the total-days-lived number. They never change the age in years. Nobody turns 36 a day early because a leap day exists; the birthday is the birthday.

The one real edge case is being born on February 29 itself. In non-leap years there is no February 29 to age on, so the birthday is observed on February 28 or March 1 depending on the jurisdiction. Most calculators, including ours, use February 28. Either way the year count is untouched: a person born February 29, 2000 turned 26 in 2026 like everyone else born that year.

Age on a Specific Date

Forms rarely ask "how old are you right now." They ask "how old will you be on September 1" for school enrollment, or "age as of the policy date" for insurance. The method is identical, with the target date standing in for today: subtract the birth year from the target year, subtract one if the birthday had not yet occurred by the target date, then walk forward months and days from the last birthday before the target.

Example: born November 20, 2018, school cutoff September 1, 2026. Years: 2026 minus 2018 is 8, but the November birthday has not happened by September, so 7 years. From the November 20, 2025 birthday, nine full months land on August 20, 2026, plus 12 days to September 1. Age on the cutoff: 7 years, 9 months, 12 days. Our age calculator has an "as of" field that runs this exact computation, which beats doing it on your fingers when a deadline is involved.

Watch the off-by-one that bites everyone: "as of" usually means at the start of that date. If a cutoff says "must be 5 by September 1," a child born September 1 qualifies and a child born September 2 does not. When a day decides eligibility, compute total days or just use the tool rather than trusting mental math.

What Else You Can Derive From a Birthdate

The birth weekday is pure calendar math: every date on the Gregorian calendar maps to exactly one day of the week, so "what day was I born on" has a definite answer going back centuries. Total days lived is the UTC day difference between the two dates, which sidesteps daylight-saving quirks. Total weeks, months, and hours are just unit conversions of the same span.

A birthday countdown is the same subtraction pointed at the future: next birthday minus now, broken into days, hours, minutes, and seconds. Milestone dates, turning 18, 21, 30, or 65, are the birthdate with the year shifted. None of this needs a server; it is all deterministic arithmetic your browser can do in a millisecond, which is why the tool runs entirely client-side and never sends your birthdate anywhere.

One related number people often want next is a percentage: what share of an average lifespan is 36 years? Pair your result with our percentage calculator if you want that framing, and if milestones have you thinking about money, the compound interest guide shows why starting early matters more than starting big.

Frequently Asked Questions

How do I calculate my age by hand?

Subtract your birth year from the current year, then subtract one more if your birthday has not happened yet this year. Then count the whole months since your last birthday and the leftover days. Example: born June 15, 1990, on October 4, 2026 gives 36 years, 3 months, 19 days.

Do leap years change how old I am?

No. You turn a year older on your birthday regardless of leap years. Leap years only add one day to the total-days count, roughly every four years.

When do people born on February 29 have birthdays?

In non-leap years, February 29 birthdays are observed on February 28 or March 1 depending on jurisdiction; most calculators and most places use February 28. The person's age in years is unaffected.

How do I calculate someone's age on a specific date?

Use the target date instead of today in the same steps: subtract the birth year from the target year, subtract one if the birthday had not yet occurred by the target date, then count months and days from the last birthday before the target date. Our free age calculator has an "as of" field that does this automatically.

Want your exact numbers? Enter your birthdate for your age in years, months, and days, total days lived, and your birthday countdown.
Open Free Age Calculator →