← Back to Tools
Math · Date & Time

How to Calculate Age & Days Between Dates

By AutoCalcConvert · June 2026 · 5 min read

Date calculations come up more often than you'd expect — figuring out someone's exact age, counting down days to an event, calculating how long a project took, or finding out what day of the week a date falls on. While a calculator handles these instantly, understanding the math behind date arithmetic helps you make sense of the results and catch errors.

How Age Is Calculated

Your age in years is calculated by subtracting your birth year from the current year, then adjusting by one year if your birthday hasn't occurred yet this year.

Age = Current Year − Birth Year
Then subtract 1 if today's date is before your birthday this year.

Example: Born March 15, 1990. Today is January 10, 2026.
2026 − 1990 = 36, but birthday hasn't happened yet this year → Age = 35

Calculating Days Between Two Dates

The number of days between two dates is calculated by converting both dates to a number (days since a fixed reference point) and subtracting. The tricky part is accounting for leap years, which add an extra day every 4 years (with some exceptions).

Leap year rules:

This is why our date calculator handles the math for you — manually counting across multiple years with leap year adjustments is error-prone.

Days, Weeks, Months, Years — Converting Between Them

UnitExact ConversionApproximate
1 week7 days (exact)7 days
1 month28–31 days (varies)30.44 days average
1 year365 or 366 days365.25 days average
1 decade10 years3,652.5 days
1 century100 years36,524.25 days

The average year is 365.25 days (accounting for leap years), and the average month is 30.4375 days. These averages are what date calculators use when you ask "how many months" between two dates.

Common Date Calculation Examples

CalculationAnswer
Days in a non-leap year365
Days in a leap year366
Days from Jan 1 to Dec 31364 (365th day is Dec 31)
Weeks in a year52 weeks + 1 day (or 2 in leap year)
Age at 10,000 days old27 years, 4–5 months
Age at 1 billion seconds31.69 years

Fun Date Facts

Planning Uses for Date Calculations

Beyond curiosity, date calculations are practical for:

Calculate your exact age or days between any two dates instantly — free.

Open Date & Age Calculator →

Frequently Asked Questions

How do I calculate my exact age in days?
Subtract your birth date from today's date. Our age calculator shows this automatically — enter your date of birth and it shows your age in years, total days lived, months, and days until your next birthday.
How many days old am I?
Use our date calculator — enter your birth date as the start date and today as the end date. For reference, a 30-year-old has lived approximately 10,950 days, a 40-year-old about 14,600 days, and a 50-year-old about 18,250 days.
How do I count business days between two dates?
Count total days between the dates, then subtract weekends (Saturdays and Sundays). A rough estimate is: total days × (5/7). For example, 14 calendar days ≈ 10 business days. Our calculator gives total days — for business days specifically, divide by 7, multiply by 5, and add remaining weekdays.
Is 2026 a leap year?
No. 2026 is not a leap year. The next leap year is 2028. To check any year: if it's divisible by 4 it's likely a leap year, unless it's a century year not divisible by 400.
How do I calculate someone's age from their birthdate?
Subtract their birth year from the current year. If their birthday hasn't happened yet this calendar year, subtract one more. For example: born September 5, 1985, and today is June 28, 2026. 2026 − 1985 = 41, but their birthday (Sept 5) hasn't happened yet, so they are currently 40 years old.