Age in Days Calculator

Enter a start date and an as-of date to get the exact number of days between them, plus the same span in weeks, months, and years.

Quick Facts

Formula
(As-of date − start date) in whole days
Both dates compared at midnight, so leap years are counted exactly, not estimated.
Average year
365.25 days
Accounts for one leap day roughly every 4 years.
Leap years
Every 4 years*
*Except century years not divisible by 400, like 1900.

Your Results

Calculated
Age in days
-
Exact whole days elapsed
Age in weeks
-
Days ÷ 7, rounded down
Age in months
-
Calendar months completed
Age in years
-
Calendar years completed

Ready

Set a start date and an as-of date, then press Calculate.

About the Age in Days Calculator

This calculator finds the exact number of days between two calendar dates — typically a birth date (or any start date) and today (or another as-of date). It reports that span as a raw day count and as the equivalent number of weeks, calendar months, and calendar years, so you can read the same duration in whichever unit makes sense for your situation.

The formula

Both dates are set to midnight in your local time zone, then the calculator subtracts: days = (as-of date − start date) ÷ 86,400,000 milliseconds, since there are 86,400,000 milliseconds in a day. Because the subtraction works on actual calendar dates, every leap day that falls between the two dates is automatically included — there's no need to estimate with a flat 365-day year.

  • Age in weeks is the day count divided by 7, rounded down to a whole week.
  • Age in months counts completed calendar months: it compares year, month, and day-of-month between the two dates, borrowing a month whenever the as-of day-of-month is earlier than the start day-of-month.
  • Age in years counts completed calendar years the same way, so a birthday only "counts" once it has actually passed.

Common uses

  • Finding your exact age in days for a milestone (10,000 days old, for example) or a birthday countdown.
  • Pediatric and neonatal contexts where age is tracked in days rather than months during the first weeks of life.
  • Legal, contractual, or insurance calculations that reference a specific number of elapsed days (notice periods, waiting periods, eligibility windows).
  • Research and cohort tracking that measures time-on-study or days-since-enrollment.

Precision note

This tool compares calendar dates, not exact timestamps — it doesn't account for the hour someone was born or time-zone differences between the two dates. If a calculation has legal or contractual significance, confirm whether the relevant rule counts the first day, the last day, both, or neither, since conventions vary by jurisdiction and contract.

Frequently Asked Questions

How is age in days calculated?
Both dates are set to midnight and the start date is subtracted from the as-of date, then the difference in milliseconds is divided by 86,400,000 (the number of milliseconds in a day). The result is the exact count of whole calendar days between the two dates, and it automatically accounts for leap years because it works from actual calendar dates rather than an assumed 365-day year.
Why does the day count differ slightly from a rough years times 365 estimate?
Multiplying years by 365 ignores leap days. Roughly one out of every four years has 366 days, so over long spans the true day count runs higher than a flat 365-per-year estimate. The exact day-count method used here counts real calendar days, including every leap day in the range, so it stays accurate no matter how many leap years fall between the two dates.
Does time of day or time zone affect the result?
No. This calculator compares calendar dates at midnight, not exact timestamps, so it is unaffected by time zone or the hour someone was born. If you need an age based on an exact birth time rather than a calendar date, that requires a separate hours-or-minutes-based calculation.
How many days are in a year on average?
A calendar year is either 365 or 366 days, and averages 365.25 days once leap years are included (one extra day every 4 years, except century years not divisible by 400). That 365.25-day average is why converting a day count to years is only approximate, while the day count itself is always exact.