Age in Days Calculator
Calculate your exact age in days, weeks, months, years, hours, minutes, and seconds. Perfect for milestones and celebrations.
This calculator converts two calendar dates -- a birth date and a current or reference date -- into elapsed time. It builds both dates from Year, Month, and Day fields and takes the plain difference between their timestamps in milliseconds, then divides by the length of a day to get Age in Days (line 19); every other unit is derived straight from that single day count rather than recalculated independently. Age in Weeks divides the day count by seven, Age in Hours multiplies it by 24, and Age in Minutes and Age in Seconds keep multiplying from there (lines 20 and 23-25) -- so all four track Age in Days exactly and will never disagree with it. Age in Months and Age in Years are the two exceptions: instead of counting real calendar months and years the way a birthday-borrowing calculation would, they divide the day count by two fixed averages, 30.44 days per month and 365.25 days per year (lines 21-22), the long-run average including leap years. That means Age in Years from this calculator can differ by up to a few days' worth of rounding from a birthday-based age calculation for the same two dates, especially near a birthday. Current Year, Current Month, and Current Day default to today's date but can be set to any date, letting the calculator measure the gap between any two dates, not just age from a real birthday. It does not validate that the day you entered exists in the month you chose -- JavaScript's own date handling rolls an out-of-range day into the following month automatically, rather than the calculator rejecting it.
Inputs
Results
Age in Days
13,379
Age in Years
36
How to Use This Calculator
- Enter your Birth Year, Birth Month, and Birth Day.
- Set the Current Year, Current Month, and Current Day (defaults to today).
- Review your Age in Days and Age in Years as calculated outputs.
How the result changes with Current Year
| Current Year | Age in Days | Age in Years |
|---|---|---|
| 810 | -430,756 | -1,180 |
| 2,836 | 309,226 | 846 |
| 5,268 | 1,197,496 | 3,278 |
| 7,294 | 1,937,477 | 5,304 |
What each input means
- Birth Year
- Year you were born
- Birth Month
- Month (1-12)
- Birth Day
- Day of month
- Current Year
- Current year (defaults to today)
- Current Month
- Current month (defaults to today)
- Current Day
- Current day (defaults to today)
How this is calculated
Formula
Age in Days = (Current Date - Birth Date) in daysWorked example, using the default values
- Identify Input Parameters4 parametersBirth Year = 1990, Birth Month = 1, Birth Day = 1, Current Year = 2026 = 6 input(s) provided
- Calculate Age in DaysAge in Days13379 = 13379
- Calculate Age in YearsAge in Years36 = 36
- Calculate Age in WeeksAge in Weeks1911 = 1911
- Calculate Age in MonthsAge in Months439 = 439
Engine last updated . Checked against 2 independently-derived tests — how we verify calculators.
Frequently Asked Questions
Why might this calculator's Age in Years differ from a calendar-based age calculator?
Because Age in Years here is Age in Days divided by 365.25, a fixed average that accounts for leap years only in the long run (line 22), not the exact borrow-a-day logic a calendar-based age calculator uses. The two will usually agree to the nearest year, but can disagree by a day or two of underlying precision right around a birthday, since one counts real calendar months and the other doesn't.
Do Age in Weeks, Hours, Minutes, and Seconds ever disagree with Age in Days?
No, they can't. All four are computed directly from the same Age in Days figure -- weeks by dividing by seven, hours by multiplying by 24, and minutes and seconds by continuing to multiply from there (lines 20 and 23-25) -- so if you ever multiply Age in Weeks by seven by hand, you will always land back on Age in Days exactly, unlike figures that are computed independently and can round differently.
What happens if I enter a day that doesn't exist for the month I selected, like day 31 for April?
The calculator doesn't reject it. Birth Date and Current Date are built directly from JavaScript's own date constructor (lines 15-16), which silently rolls an out-of-range day into the next month -- day 31 of April becomes May 1st -- rather than raising an error, so an invalid combination still produces a result, just for a slightly different date than the one typed in.
Can I use this to measure the days between two dates that aren't my actual birthday?
Yes. Despite the Birth Year/Month/Day labels, the calculator only ever takes the plain difference between two dates you supply (line 18) -- Current Year, Current Month, and Current Day default to today but accept any date you type in, so you can use the same six fields to measure the gap between any two dates, past or future, not only a literal birth date and today.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Age Calculator
Calculate your exact age in years, months, days, and more. Find out how many days until your next birthday.
Time & DateDate Difference Calculator
Calculate the exact number of days, months, and years between two dates. Also shows weeks, hours, and minutes.
Time & DateDate & Time Master Calculator
Calculate age, date differences, countdowns, Unix timestamps, and track milestones all in one place.
More in Time & Date.