Skip to content
Investment Math
Investment Math

Currency and number style

Only changes how amounts look. There is no currency conversion.

Age explained: formula, worked example and common mistakes

The exact gap between two dates in years, months and days, the same gap in weeks, days and hours, and the next birthday. Free, no sign-up.

Updated

Counting the way people count ages

Ages are counted in whole years, then whole months, then days. That sounds obvious until a month gets in the way: 31 January to 1 March is one month and one day, but subtract the parts and borrow a month and you get one month and minus two days.

This calculator counts by adding instead of subtracting. It adds whole months to the date of birth until adding one more would overshoot the end date, clamping to the last day where a month is too short, and then counts the days left over. That method gives the same answer as a calendar in every case, including the awkward ones.

The worked example

From 15 June 1990 to 1 January 2026.

Whole years:  1990-06-15 + 35 years  = 2025-06-15
Whole months: 2025-06-15 + 6 months  = 2025-12-15
Days left:    2025-12-15 -> 2026-01-01 = 17 days

Answer: 35 years, 6 months and 17 days

The same gap, counted other ways:

Unit Value
Months 426
Weeks 1,854
Days 12,984
Hours 311,616

And the next birthday: 15 June 2026, which is 165 days after the end date.

Time zones, and why there are none here

Dates on this page are plain calendar days read in a single fixed zone. No time of day is stored, nothing is converted, and the same two dates give the same answer in every country.

The alternative — reading dates in the visitor’s local time — sounds friendlier and causes a familiar bug: someone born on 1 March in one zone becomes someone born on 28 February a few hours west, and their age moves by a day. Dates that are only ever days cannot do that.

The one place the local clock does get used is the starting value of the second box, which is set to today on your own device after the page loads. The server renders a fixed date so that the page has a real answer before anything runs, which is also what a search engine sees.

When to use it, and when not to

Use it for an exact age in years, months and days, for an age on a particular date, for an age in whole months where a form asks for that, or for the number of days between a birth and now.

For a gap between two dates that has nothing to do with a birthday — a project length, a notice period, days until a deadline — the date calculator is the better page: it adds weekday counts, a weeks-and-days reading, and the ability to move a date on or back by a length of time.

For legal age, pension age or anything else with a rule attached, this page gives the arithmetic and nothing else. The rule is not stored here, because no rule of that kind is stored anywhere on this site.

Common mistakes people make

1. Reading years as a decimal. 35.5 years is not 35 years and 5 months. The page gives both the exact years-months-days breakdown and the decimal, so there is no need to translate one into the other by eye.

2. Assuming a month is 30 days. It is between 28 and 31, and that is what makes the day count non-obvious.

3. Counting both end days. The gap between two dates is the difference between them. Counting the first day as well — which some contexts want — gives one more.

4. Forgetting leap days on long spans. Thirty-five years contains eight or nine of them depending on where the span starts. The day total already includes them; a quick multiplication by 365 does not.

5. Expecting a leap day birthday to behave. It comes round once every four years, and every page has to choose what to do in the other three. This one says what it chose.

Frequently asked questions

How is an age worked out exactly?

Whole years first, then whole months, then the days left over. From 15 June 1990 to 1 January 2026 is 35 years, 6 months and 17 days, which is 12,984 days in total.

Why do two age calculators sometimes disagree by a day?

Because months are different lengths and there is more than one convention for the leftover days. This page counts by adding whole months to the start date and clamping to the end of a short month, which is what a calendar shows. Subtracting the parts and borrowing a month — the other common method — gets short months wrong.

What happens if someone is born on 29 February?

Their birthday only truly comes round in a leap year. In other years this page counts it as 1 March, which is the common convention, and it flags the date so you know a choice was made.

Can I work out an age on a date in the past or future?

Yes. The second date starts at today on your own device and you can change it to any date — how old someone was at an event, or will be at one.

Does the time of day matter?

Not here. Dates are read as plain calendar days with no time and no time zone, so the answer is the same wherever it is worked out. That is deliberate: an age that changed depending on where you opened the page would be worse than useless.

How many days has someone been alive?

The total days line gives it, and the page also shows weeks and hours. In the worked example, 12,984 days is 1,854 whole weeks and 311,616 hours.

What is an age in months used for?

Forms, medical records and school entry often want whole months rather than years. The page gives 426 months for the worked example — the same gap counted a different way.

This tool shows math, not advice.

Cite this page

Copy this line into a reference list, a report or a spreadsheet note.

Investment Math Calculator. “Age Calculator”. Updated 2026-10-30. https://investmentmathcalculator.com/guides/age-calculator/

Disclaimer: For education only. These calculators show arithmetic and hypothetical scenarios. They are not investment, tax or legal advice and do not recommend any security or product. Consult a licensed adviser in your country before acting.