Age Calculator

Enter a birth date and an as-of date to see an age in calendar years, months, and days.

Use this tool

Result

The result appears in this panel after you run the tool.

About this tool

The count walks calendar months from the birth date to the as-of date, then counts the remaining days. A year is not treated as 365 days, and a month is not treated as 30 days.

If the as-of date is earlier than the birth date, the page reports that instead of a negative age.

How to use it

  1. Enter the birth date.
  2. Enter the as-of date. It can be today or another date.
  3. Calculate. The result is years, months, and days, not a count of 365-day years.

Limitations

Borrowed days come from the previous month

Years, then months, then a day remainder

The readout is three integers: completed years, completed months, and leftover days. It is not a single decimal year and it is not a count of 365-day blocks. The as-of year minus the birth year is the starting year count. The month numbers are subtracted the same way, then the day numbers. If the as-of day is earlier in the month than the birth day, one month is borrowed and the length of the month before the as-of month is added to the day remainder. If the month remainder is then negative, one year is borrowed and twelve is added to the months. A birth date after the as-of date is an error, not a negative age.

That borrowed length is why month size shows up in an age. From 31 January to 1 March, the day subtraction is short, so the previous month is February. In a leap year February contributes 29. In a common year it contributes 28. The age is not computed by dividing total days by 30.44 or by any average month. Two babies born a month apart can show the same year and month figures with different day remainders solely because the month that was borrowed had 28, 29, 30, or 31 days.

Where a 29 February birthday completes a year

Take a birth date of 29 February 2020. On 28 February 2021 the page reports 0 years, 11 months, 30 days. The day borrow uses January, which has 31 days, and the month borrow then turns the negative month into 11. On 1 March 2021 the same birth reports 1 year, 0 months, 0 days. The missing 29 February is filled by the 28 days of February 2021 plus the 1st of March, so the remainder comes out even. The anniversary in a common year is 1 March on this page, not 28 February. On 29 February 2024 the age is 4 years, 0 months, 0 days, because that as-of date exists and matches the birth day.

The sample birth field is filled with a date 25 years before today only as a starting value. Replace it. The as-of field defaults to today’s local calendar date, which can differ from the UTC date near midnight. Both fields still have to be real civil dates. 29 February in a common year is rejected rather than shifted.

Privacy

Your input is processed in your browser and is not uploaded to UtilChain. File names, text, and results are not sent to analytics.