Skip to content
TinySolve

Age Calculator

Find an exact age in years, months and days, plus the countdown to the next birthday.

Runs in your browser — nothing you type is sent anywhere

Defaults to today. Change it to work out an age on any other date.

Enter a date of birth

The exact age appears here straight away — in years, months and days, plus the countdown to the next birthday.

About the Age Calculator

Working out an age in whole years is easy. Working out an exact age in years, months and days is where most calculators quietly go wrong, because months are not the same length and the arithmetic has to account for it. Someone born on 31 January is one month and one day old on 1 March in a common year, but the naive calculation produces a negative number of days and needs correcting.

This calculator handles that by stepping forward from the date of birth a whole number of years and months first, landing on the most recent monthly anniversary, and then counting the real days from there. Where that anniversary would fall on a date the month does not have, it clamps to the last day of the month — which is the same convention a calendar app uses when you add a month to 31 January.

Day counts are done in UTC rather than local time. That sounds like a technicality, but a period spanning a daylight saving change is 23 or 25 hours long, so a calculator that subtracts timestamps and divides by the length of a day can be a full day out twice a year.

You also get the total days, weeks, months and hours lived, the day of the week you were born, and how long until the next birthday. Because 29 February only comes round once every four years, a leap day birthday is treated as falling on 1 March in common years, which is the convention most legal systems use.

Set the second date to something other than today to work out how old someone was, or will be, on any particular date — useful for eligibility cut-offs, school year rules and forms.

How to use the Age Calculator

  1. Enter the date of birth

    Use the first date field. Your browser's own date picker is used, so the format matches whatever your device normally shows.

  2. Leave the second date as today

    It is filled in with today's date automatically. Change it only if you want the age on a different date.

  3. Read the exact age

    Years, months and days appear immediately, along with the total days lived and the day of the week of the birth.

  4. Check the birthday countdown

    The panel underneath shows how many days remain until the next birthday and which age it will be.

Frequently asked questions

How is the exact age calculated?
The date of birth is moved forward by the whole years and months that have fully elapsed, which lands on the most recent monthly anniversary, and the remaining days are counted from there. This avoids the negative-day problem that simple field subtraction produces at the end of a month.
What happens if someone was born on 29 February?
In leap years the birthday falls on 29 February as normal. In common years it is treated as 1 March, which is the convention used by most legal and administrative systems. The age in years increments once a year either way.
Can I calculate an age on a date other than today?
Yes. Change the second date to any date you like and the age is calculated as of that day. This is useful for checking eligibility against a cut-off date, such as a school admission or an insurance band.
Is the total number of days accurate across leap years?
Yes. The day count works on calendar dates rather than elapsed time, so leap days are included exactly once each and daylight saving changes have no effect. A year spanning 29 February correctly counts 366 days.
Why does my age show fewer days than I expected?
The days shown are those since the most recent monthly anniversary of your birth date, not the days in a fixed 30-day month. Because months vary between 28 and 31 days, that figure legitimately differs depending on which month you are in.
Is my date of birth sent anywhere?
No. The whole calculation runs in your browser and nothing is transmitted or stored. A date of birth is a genuinely sensitive piece of information, which is exactly why this tool has no server component at all.