Age Calculator: How Exact Age in Years, Months and Days Is Counted
By FindMySum · Last reviewed
An age calculator answers a question that sounds trivial until you try it by hand: exactly how old is someone today, in years, months and days? Counting years is easy. Counting the months and days left over is where people slip, because months run from 28 to 31 days and every fourth year has an extra day in February. This page works on the real Gregorian calendar, one date at a time, so the answer matches what you would get by counting forward on a wall calendar. Below is the method it uses, a worked example with the starting values the page shows, and the edge cases that trip up both people and software.
The counting method
There is no single formula that turns two dates into "years, months and days", because a month is not a fixed number of days. Instead the calculator counts in three passes, largest unit first:
- Years: count forward from the birth date one birthday at a time until the next birthday would land after today. That count is the age in whole years.
- Months: from the most recent birthday, count forward one monthly anniversary at a time (the same day number in each following month) until the next one would land after today.
- Days: count the days from that last monthly anniversary to today.
This is the same convention used by the duration calculators at timeanddate.com and by most people counting on their fingers. The separate totals are simpler: total days = today − birth date in calendar days, total weeks = total days ÷ 7, rounded down, and total months = years × 12 + leftover months. Because the totals only count completed units, a person who is 30 years and 10 months old has lived 370 completed months, not 370.2.
Why the order matters
Counting days first and then converting gives different, worse answers. Ten thousand days is about 27 years and 4 months, but "about" hides a spread of several days depending on how many leap years and long months fall inside the span. Counting the large units against the actual calendar first keeps the years and months exact and leaves only the final few days to count.
Short months and leap days
When a month is too short for the birth day number, there is no "February 31" to land on. The calculator moves that month's anniversary to the 1st of the following month, so day counts never go negative. The same rule handles leap-day birthdays: someone born on 29 February has a birthday on 29 February in leap years and on 1 March in the other three years. Because some people and systems use 28 February instead, the calculator shows a choice between the two when you enter a 29 February birth date; 1 March is the default. Canadian federal law does not spell out a leap-day rule for every purpose, so if a legal deadline depends on it, check the statute or program involved.
Worked example: the calculator's starting values
The page opens with a birth date of 1 January thirty years before the current year, so the example changes each year. Taking 8 November 2026 as today, that is 1 January 1996, and the engine returns:
- Years: 1 January 1996 to the most recent birthday, 1 January 2026, is 30 years.
- Months: 1 January 2026 to the most recent monthly anniversary, 1 November 2026, is 10 months.
- Days: 1 November to 8 November 2026 is 7 days. The exact age is 30 years, 10 months and 7 days.
- Total days: 30 years containing 8 leap days (1996, 2000, 2004, 2008, 2012, 2016, 2020 and 2024) is 30 × 365 + 8 = 10,958 days to 1 January 2026, plus 311 days to 8 November, for 11,269 days.
- Total weeks: 11,269 ÷ 7 = 1,609.86, so 1,609 completed weeks. Total months: 30 × 12 + 10 = 370.
- Next birthday: 1 January 2027, 54 days away, when the person turns 31.
The extras follow from the birth date alone: a 1 January birthday is Capricorn on the tropical zodiac, and a 1996 birth year falls in the Pew Research Center's Millennial range (1981 to 1996). The milestone list shows every marker up to age 25, the last one being the age at which most car rental companies stop charging a young-driver fee. Because the page's default birth date moves with the current year, a visitor on another day will see slightly different days and weeks.
A leap-day example
For a second check, take a birth date of 29 February 2000, again with 8 November 2026 as today. The engine gives 26 years, 8 months and 10 days, with 9,749 total days. The last birthday was 1 March 2026 (2026 is not a leap year), and the next is 1 March 2027, 113 days away, when the person turns 27. Notice that the monthly anniversaries still fall on the 29th in months that have one: the days are counted from 29 October 2026, not from the 1st.
Where age calculations go wrong
Time zones in software. Many apps store a birth date as midnight in UTC. Read back in Toronto or Vancouver, that instant is the evening before, and a date-of-birth check can be off by a day. Treating birth dates as plain calendar dates, as ISO 8601's calendar date format does, avoids the problem entirely.
Thirty-day months. Spreadsheet shortcuts such as dividing a day count by 365.25 or 30 give fractional ages that drift. They are fine for rough statistics and wrong for anything that depends on a birthday, such as eligibility on a specific date.
Different birthdays for the same leap-day person. Some systems use 28 February instead of 1 March in common years. The difference only matters for a single day each year, but that day can decide whether someone is old enough to sign up for something. Pick "28 February" under the birth date to see the age that way: born 29 February 2000, the next birthday after 8 November 2026 is then Sunday, 28 February 2027, 112 days away.
Non-Gregorian ages. Lunar calendar birthdays and East Asian age reckoning give different numbers. The calculator gives the international age used on Canadian identity documents.
Using the result
If you are planning around a future age, for example when a child can start school or when you can begin a pension, the milestone list is a starting point, not a rule. The Canada Pension Plan retirement pension can start as early as 60 at a reduced amount, and the CPP timing calculator compares starting ages in dollars. To count to a specific date rather than today, use the days between dates calculator; to find the date a set number of days after a birthday, use the date calculator. And if a total in days or weeks needs converting into hours or seconds, the time converter does it in one step.
More questions
Can I find out how old someone was on a past date, not today?
This page always measures to today. For an age on another date, such as the day a contract was signed or the date of a past census, open the days between dates calculator, put the birth date as the start and the date you care about as the end. Its years, months and days breakdown uses the same anniversary rule, so it gives the age on that day.
When does a person legally turn a year older in Canada?
Under section 30 of the federal Interpretation Act, a person is not deemed to have reached an age until the start of the anniversary of their birth date. So you turn 18 at the first moment of your 18th birthday, not the day before (an old common-law rule that some other countries still follow). Provincial statutes and specific programs can have their own wording, so check the rule behind any legal deadline.
Why does my age in total months not match my age in days divided by 30?
Months are not all the same length. Total months here counts completed calendar months, while dividing days by 30 assumes every month has 30 days. Over a lifetime the average month is about 30.44 days, so the days-divided-by-30 estimate runs ahead by roughly 5 months every 30 years.
How is age counted in Korea, China or Japan?
Traditional East Asian reckoning counts a newborn as one year old and adds a year at the lunar or calendar new year rather than on the birthday, so a person can be one or two years older than their international age. South Korea switched its legal and administrative age to the international method in 2023. This calculator uses the international method only.
How do I work out a baby's age in weeks for check-ups?
Enter the baby's birth date: the total weeks figure is the number of completed weeks since birth, which is what most well-baby schedules and growth charts use in the first months. For babies born early, doctors often use corrected age as well, which subtracts the weeks the baby arrived before the due date. This calculator gives chronological age only.
Why does a website or form sometimes reject my age by one day?
Usually because it compares dates as timestamps in UTC. A birth date stored as midnight UTC falls on the previous evening in Canadian time zones, so a check run in the evening can be off by a day around a birthday. This calculator compares plain calendar dates, so the time zone you are in never changes the answer.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.