OmniFeed Search

Age calculator

The calculator counts whole years, then whole months, then the days left over, the same way you count birthdays. If you were born on February 29, it puts your birthday on February 28 in other years. It runs in your browser; nothing you enter is uploaded.

How the age is counted

The calculator counts whole years up to the last birthday, then whole months since that birthday, then the days left over. Say someone was born on July 15, 1990, and you want their age on November 6, 2026. They turned 36 on July 15, 2026. From July 15 to October 15 is 3 months, and from October 15 to November 6 is 22 days, so they're 36 years, 3 months, and 22 days old.

Total days counts every day from the date of birth to the "as of" date: 13,263 in this example. A baby is 0 days old on the day it's born and 1 day old the next day. The countdown to the next birthday gives 251 days here, counting to July 15, 2027, and on the birthday itself it says "Today is the birthday".

Leap-day birthdays and month ends

If you were born on February 29, your birthday only exists in leap years. In other years the calculator puts it on February 28, the last day of your birth month, so someone born on February 29, 2000, turned 1 on February 28, 2001. The law on this differs between countries, and some count the birthday as March 1 instead.

Months work the same way: one month after January 31 is the last day of February, and one month after August 31 is September 30. That has an odd side effect. In a year that isn't a leap year, January 28, 29, 30, and 31 all count as exactly one month before February 28. Java's plusMonths, .NET's AddMonths, and Python's dateutil.relativedelta also land on the last day of a short month.

In a spreadsheet

Excel and Google Sheets both have DATEDIF. With the date of birth in A1 and the "as of" date in B1, =DATEDIF(A1, B1, "Y") gives whole years, "YM" gives the months since the last birthday, and "MD" gives the days after that.

Don't trust "MD", though. Microsoft's own DATEDIF documentation advises against it because it can give wrong results. Get the leftover days from the calculator instead, and use =B1-A1 when you only need the total number of days.

Questions

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

Yes. Change "Age as of" to any date after the date of birth, which is how you'd check whether someone will be 18 by a cut-off date. The Today button sets it back to today.

What is Korean age?

Korean age is the traditional count that made everyone 1 at birth and added a year every January 1. South Korea switched its legal and administrative age to the international count in June 2023. The calculator uses the international count, where you're 0 until your first birthday.

Why isn't the age in months the total days divided by 30?

Because months have 28 to 31 days, and dividing by 30 drifts away from the calendar. The calculator counts calendar months instead.

More in everyday calculators

Other tools