What this calculator does
This tool tells you exactly how many days old you are. Enter your date of birth and a reference date (today by default), and it computes the total number of days, weeks, and hours that have elapsed between the two dates. It's a fun and precise alternative to thinking about your age in years.
How to use it
Enter your birth year, month, and day. Then enter the reference date you want to measure against — leave it on today's date to find your current age in days, or change it to count toward a milestone such as your 10,000th day. Click calculate to see your age in days, weeks, and hours.
The formula explained
The calculation is simply the difference between two calendar dates measured in days: $$\text{days} = \text{reference date} - \text{birthdate}$$ Internally both dates are converted to milliseconds since a fixed point in time, the difference is taken, and that value is divided by the number of milliseconds in a day (86,400,000). Weeks are \(d / 7\), and hours are \(d \times 24\). The day count automatically accounts for leap years because it works from real calendar dates.
Worked example
Suppose you were born on January 1, 2000 and the reference date is January 1, 2020. That span includes 20 years, five of which (2000, 2004, 2008, 2012, 2016) are leap years. That gives $$15 \times 365 + 5 \times 366 = 5{,}475 + 1{,}830 = 7{,}305 \text{ days}.$$ Dividing by 7 gives about \(1{,}043.6\) weeks, and multiplying by 24 gives \(175{,}320\) hours.
Age in Days Milestones Reference Table
The table shows common day-count milestones with approximate equivalents in years and weeks. Years are calculated as days ÷ 365.25 (the average calendar year including leap days), and weeks as days ÷ 7. Values are rounded.
| Days old | Approx. years | Approx. weeks |
|---|---|---|
| 1,000 | ~2.7 | ~142.9 |
| 5,000 | ~13.7 | ~714.3 |
| 10,000 | ~27.4 | ~1,428.6 |
| 15,000 | ~41.1 | ~2,142.9 |
| 20,000 | ~54.8 | ~2,857.1 |
| 25,000 | ~68.4 | ~3,571.4 |
| 30,000 | ~82.1 | ~4,285.7 |
| 36,500 | ~99.9 | ~5,214.3 |
Example of the conversion: \(10{,}000 \div 365.25 \approx 27.38\) years and \(10{,}000 \div 7 \approx 1{,}428.6\) weeks. Because real years vary between 365 and 366 days, the exact calendar date of a milestone can differ slightly from these approximations.
Time Constants Used in the Calculation
| Constant | Value |
|---|---|
| Seconds per day | 86,400 (24 × 60 × 60) |
| Milliseconds per day | 86,400,000 |
| Hours per day | 24 |
| Days per week | 7 |
| Days in a common year | 365 |
| Days in a leap year | 366 |
| Average Gregorian year | 365.2425 days |
Leap year rule (Gregorian calendar)
- A year divisible by 4 is a leap year,
- except century years (such as 1900), which are not leap years,
- unless the century year is also divisible by 400 (such as 2000), in which case it is a leap year.
This gives 97 leap years in every 400-year cycle, so the cycle contains \(400 \times 365 + 97 = 146{,}097\) days. The average year length is therefore \(\frac{146097}{400} = 365.2425\) days.
The calculator subtracts the birth date from the reference date and divides the difference in seconds by 86,400 to get whole days. Weeks are days ÷ 7 and hours are days × 24.
FAQ
Does it count leap years? Yes. Because it subtracts actual calendar dates, every leap day is included automatically.
Why use a reference date? Setting a custom reference date lets you check your age on a past or future day, or count down to milestones like 10,000 days old.
Is the day count inclusive? No — it counts the number of full days between the two dates, so the birthdate itself counts as day zero.