How to Calculate Age in Days from Date of Birth: 3 Methods

Your age in days is simply the number of midnights between your date of birth and today. Someone born on 15 June 1990 has lived 13,291 days by 4 November 2026 — and learning how to calculate age in days from date of birth takes one subtraction, not a formula sheet. This guide shows the by-hand method, the spreadsheet and Python shortcuts, the leap-day correction, and the day-0 trap that makes even published guides disagree with themselves by a day.

If you have ever typed “how many days old am I” into a search box, you already know the answer is a single whole number: your total days lived. No months, no rounding, no averages. Every number below is checked by direct date subtraction, including the worked examples borrowed from rival guides — two of which check out, and one of which contradicts itself. Our chronological age calculator gives the same day count alongside the years, months and days breakdown, so you can check your own dates as you read.

how to calculate age in days from date of birth

How to Calculate Age in Days from Date of Birth by Hand

The manual method for how to calculate age in days from date of birth splits the span into two parts: whole years first, then the days since your last birthday. Count the completed years, multiply by 365, add one day for every leap day you have actually lived through, then add the days from your most recent birthday to the date you are measuring on.

Here is the full worked example. Take a birth date of 15 June 1990 and a reference date of 4 November 2026.

Step 1 — whole years. From 15 June 1990 to 15 June 2026 is 36 complete years. That is 36 × 365 = 13,140 days, before leap days.

Step 2 — leap days lived. Between those two dates there are nine 29 February days: 1992, 1996, 2000, 2004, 2008, 2012, 2016, 2020 and 2024. Add 9, giving 13,149 days.

Step 3 — days since the last birthday. From 15 June 2026 to 4 November 2026 is 142 days: 15 days left in June, 31 in July, 31 in August, 30 in September, 31 in October, and 4 in November (15 + 31 + 31 + 30 + 31 + 4 = 142).

Step 4 — add them. 13,149 + 142 = 13,291 days lived. That is the exact day count, and it is also the number our date duration calculator returns for the same two dates.

Part of the spanCalculationDays
Completed years (15 Jun 1990 → 15 Jun 2026)36 × 36513,140
Leap days lived (29 Feb, 1992–2024)9 leap days9
Days since last birthday (15 Jun 2026 → 4 Nov 2026)15 + 31 + 31 + 30 + 31 + 4142
Total days alive13,140 + 9 + 14213,291

The common shortcut — multiply your age in years by 365 — fails badly here. 36 × 365 = 13,140, which is 151 days short of the true 13,291, because it drops both the nine leap days and the 142 days since the last birthday. The shortcut is only ever an estimate, and it gets worse every year: by age 40 it is off by about ten days from leap years alone, plus up to 364 days since the last birthday.

How to Calculate Age in Days from Date of Birth in Excel and Google Sheets

A spreadsheet is the fastest way to answer how to calculate age in days from date of birth without counting on a calendar, because spreadsheets store every date as a day number and subtract them exactly. Put the birth date in one cell and the reference date in another, then subtract.

ToolFormula (birth date in A2, reference date in B2)Result for 15 Jun 1990 → 4 Nov 2026
Excel=B2-A2, formatted as a number13,291
Excel=DATEDIF(A2, B2, “d”)13,291
Google Sheets=DAYS(B2, A2)13,291
Google Sheets=B2-A213,291

Two warnings. First, if the cell shows a date instead of a number, the formula is right and the formatting is wrong — set the cell format to Number. Second, avoid DATEDIF with the “y”, “m” or “ym” codes for this job; it has known quirks with month boundaries, and the plain subtraction already gives the exact day count. Our guide to calculating age in Excel walks through the same formulas with screenshots, including the YEARFRAC version for decimal years.

If you want a second opinion on any day count in this article, the timeanddate.com Date Duration Calculator is an independent check that returns the same numbers — it agrees with every example here.

How to Calculate Age in Days from Date of Birth in Python

If you code, learning how to calculate age in days from date of birth in Python takes three lines, and it uses the same idea as the spreadsheet: convert both dates to day numbers and subtract.

from datetime import date
days = (date(2026, 11, 4) - date(1990, 6, 15)).days
print(days)  # 13291

Python’s date subtraction counts calendar days exactly, leap days included, with no averages anywhere. The same three lines answer “how many days old am I” for any birth date: change the two dates and run it again. For someone born on 1 January 2000, the answer as of 7 November 2026 is 9,807 days — which happens to be exactly 1,401 weeks, with no remainder. If you need the day count inside a larger program, this is the method to trust; a spreadsheet is easier for a one-off, but code is easier to repeat for a whole list of birthdays.

The Leap-Day Correction — and the Guide That Counted One Too Many

The hardest part of how to calculate age in days from date of birth is not the subtraction — it is the leap days. Every fourth year adds a 29 February, and the trap is counting a leap day you never lived through. The clearest example comes from a rival guide, What Is My Age, which works the example of someone born on 15 March 1988, measured on 20 April 2026.

Its headline number is 13,915 days — and that number is correct. But its own worked formula gives a different answer: (38 × 365) + 10 leap days + 36 days since the last birthday = 13,916. The guide contradicts itself by one day, inside its own example.

The mistake is in the leap-day count. The guide lists ten leap years between 1988 and 2026, starting with 1988 itself. But a person born on 15 March 1988 never lived through 29 February 1988 — that date came two weeks before they were born. Only nine leap days were actually lived: 1992, 1996, 2000, 2004, 2008, 2012, 2016, 2020 and 2024. The correct arithmetic is 38 × 365 = 13,870, plus 9 leap days, plus 36 days from 15 March 2026 to 20 April 2026, which equals 13,915. The headline was right; the method shown underneath it was off by one.

The rule is simple: count only the 29 February days that fall strictly after the birth date and on or before the reference date. The birth year’s leap day counts only if the birthday falls before 29 February — someone born on 1 January 1988 did live through it; someone born on 15 March 1988 did not.

Two more leap-year facts matter. First, the century rule: a year divisible by 100 is a leap year only if it is also divisible by 400. The year 2000 was a leap year, but 1900 was not — so 28 February 1900 to 1 March 1900 is one day, while 28 February 2000 to 1 March 2000 is two days. Second, leap-day birthdays: someone born on 29 February 2000 has lived 9,496 days by 28 February 2026 and 9,497 days by 1 March 2026, so the answer depends on which date a calculator treats as the birthday in non-leap years. Our leap year birthday guide explains both conventions, and our calculator counts 29 February as 28 February in non-leap years.

The Day-0 vs Day-1 Trap

Once you know how to calculate age in days from date of birth, one question still decides whether your answer is off by one: is the birth date day zero, or day one? The standard convention — used by Age in Days, by spreadsheets, by Python’s date subtraction, and by our own calculator — is day zero. A baby is 0 days old on the day of birth and 1 day old the next morning. The day count is the number of midnights that have passed since birth, not the number of calendar dates touched.

The alternative convention counts the birth date as day one, which makes every answer exactly one higher. It is the same instinct that makes some people say a baby is “in its first year” on the day it is born, and it is why two calculators can disagree by exactly one day while both doing the arithmetic correctly. If a result looks one day higher than yours, check the convention before assuming an error — the difference is a definition, not a mistake. For legal and medical ages, day zero is the convention that matters: a newborn’s age in days is counted from zero, which is why paediatricians track the first weeks of life in days at all.

From Days to Weeks, Months and Years

Knowing how to calculate age in days from date of birth also answers the follow-up questions, but only some conversions are exact. Weeks are exact: divide by 7. Our main example, 13,291 days, is 1,898 complete weeks and 5 days (1,898 × 7 = 13,286, plus 5). Hours, minutes and seconds are exact too: 13,291 days is 318,984 hours, 19,139,040 minutes and 1,148,342,400 seconds.

Months and years are not exact, because months have 28 to 31 days and years have 365 or 366. Two popular averages mislead here. Dividing by 365 ignores leap years entirely and is the shortcut that already failed above. Dividing by 30.4 to get months — the average month length some calculators, including OmniCalculator’s method, use — gives 13,291 ÷ 30.4 = 437.2 months, but the exact calendar count from 15 June 1990 to 4 November 2026 is 436 full months and 20 days. The average is more than a month out. The honest route is to count calendar years, months and days separately, as our chronological age examples show, and to keep the day count as the single exact number underneath.

Two rival worked examples check out exactly, which is worth saying: Age in Days gives 13,270 days for 15 June 1990 to 14 October 2026, which is 1,895 weeks and 5 days — correct. And Momentix gives 12,993 days for 8 March 1991 to 3 October 2026, which is 35 years, 6 months and 25 days — also correct. When a guide’s arithmetic survives a direct check, say so; the one that did not is the exception, not the rule.

ConversionFormulaResult for 13,291 daysExact?
Weeks liveddays ÷ 71,898 weeks, 5 daysYes
Hoursdays × 24318,984Yes
Minutesdays × 1,44019,139,040Yes
Secondsdays × 86,4001,148,342,400Yes
Months (÷ 30.4 average)days ÷ 30.4437.2 monthsNo — true value is 436 months, 20 days
Years (÷ 365)days ÷ 36536.41 yearsNo — true age is 36 years, 4 months, 20 days

If you need the same span in years and months, use our age difference calculator for two dates, or our decimal age calculator for the single-number form — our guide to decimal age explains why 13,291 days ÷ 365.25 = 36.39 years, not 36.41.

Milestones Worth Marking: 1,000 Days, 10,000 Days and 1 Billion Seconds

Once you can work out how to calculate age in days from date of birth, you can also work out the dates your day count will hit round numbers — and those dates make better celebrations than most birthdays. For someone born on 15 June 1990, the milestones fall like this:

MilestoneDate it falls onAge then
100th day23 September 19903 months, 8 days
1,000th day11 March 19932 years, 8 months, 24 days
5,000th day22 February 200413 years, 8 months, 7 days
10,000th day31 October 201727 years, 4 months, 16 days
15,000th day10 July 203141 years, 25 days
20,000th day18 March 204554 years, 9 months, 3 days

The 10,000th day is the famous one: at about 27 years and 5 months, it lands in the late twenties for most people, which is why it gets shared online as a moment to take stock. The 1,000th day, at roughly 2 years and 9 months, is a quieter milestone parents sometimes mark. And 1 billion seconds — 11,574 days — fell on 21 February 2022 for our example person.

To find your own milestone dates, add the day count to your birth date in a spreadsheet, or use our birthday countdown to see how far away the next one is. Our age milestones guide covers the 10,000-day milestone in more detail, and if you want to know where you will be in a few years, our 2030 age guide does the same arithmetic forward instead of back. Parents planning school entry will also find the kindergarten age requirements by state useful — the same day-count logic, applied to cut-off dates.

How to Calculate Age in Days from Date of Birth, in One Sentence

So, how to calculate age in days from date of birth? Count the midnights from the birth date to the date you want — whole years times 365, plus only the leap days you actually lived through, plus the days since your last birthday — and check the result with a subtraction in a spreadsheet or in Python. For 15 June 1990 to 4 November 2026 that is 13,291 days: 1,898 weeks, 318,984 hours, and one number that never needs rounding. Try it on our chronological age calculator with your own birth date, and remember the two traps: the birth year’s leap day only counts if you were born before it, and the birth date itself is day zero.

How do I work out my age in days?

Subtract your date of birth from today’s date and count the midnights between them. For example, born 15 June 1990, as of 4 November 2026 that is 13,291 days. In Excel use =B2-A2 with the birth date in A2 and today’s date in B2; in Google Sheets use =DAYS(B2, A2); in Python use (date(2026, 11, 4) – date(1990, 6, 15)).days.

How many days old am I if I was born on 1 January 2000?

As of 7 November 2026, someone born on 1 January 2000 is 9,807 days old — exactly 1,401 weeks. The count rises by one every midnight, so add one day for each day after 7 November 2026.

Why does multiplying my age by 365 give the wrong number of days?

Because it drops two things: every leap day you have lived through (about one per four years) and every day since your last birthday (up to 364 days). At age 36 the shortcut gives 13,140 days against the true 13,291 — 151 days short. Count calendar days instead, or subtract the dates in a spreadsheet.

Do I count the leap day in the year I was born?

Only if you were born before it. A person born on 15 March 1988 never lived through 29 February 1988, so it does not count — that is exactly the one-day error in a rival guide’s worked example, which counted ten leap days instead of nine. Someone born on 1 January 1988 did live through it, so it counts for them.

Am I 0 days old or 1 day old on the day I am born?

0 days old. The standard convention counts the birth date as day zero: a baby is 0 days old on the day of birth and 1 day old the next morning. Some calculators count the birth date as day one, which makes every answer exactly one higher — if a result looks one day out, check which convention it uses.

How do I convert my age in days to weeks or months?

Weeks are exact: divide by 7 (13,291 days is 1,898 weeks and 5 days). Months are not exact, because months have 28 to 31 days — dividing by the 30.4-day average gives 437.2 months for 13,291 days, but the true calendar count is 436 months and 20 days. Count calendar months separately instead of dividing.

2 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *