Skip to main content
Calcimator

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

Age in Weeks1,911
Age in Months439
Age in Hours321,096
Age in Minutes19,265,760
How to Use This Calculator
  1. Enter your Birth Year, Birth Month, and Birth Day.
  2. Set the Current Year, Current Month, and Current Day (defaults to today).
  3. Review your Age in Days and Age in Years as calculated outputs.

How the result changes with Current Year

Current YearAge in DaysAge in Years
810-430,756-1,180
2,836309,226846
5,2681,197,4963,278
7,2941,937,4775,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 days

Worked example, using the default values

  1. Identify Input Parameters
    4 parameters
    Birth Year = 1990, Birth Month = 1, Birth Day = 1, Current Year = 2026 = 6 input(s) provided
  2. Calculate Age in Days
    Age in Days
    13379 = 13379
  3. Calculate Age in Years
    Age in Years
    36 = 36
  4. Calculate Age in Weeks
    Age in Weeks
    1911 = 1911
  5. Calculate Age in Months
    Age in Months
    439 = 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.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Time & Date.