Age Calculator

How old are you in years, months, and days?

Calculate your exact age in years, months, and days from your birth date to today or any specific date.

Updated June 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Age calculation seems straightforward until you encounter the quirks of our calendar system. A person born on January 31st will have their 1-month birthday fall on February 28th (or 29th in leap years) because February lacks a 31st day. This creates cascading effects throughout age calculations.

The algorithm works by subtracting birth year from target year, then adjusting backward if the birth month and day haven't occurred yet in the target year. When the target day is earlier in the month than the birth day, it borrows days from the previous month and adjusts the month count accordingly.

Leap years add complexity because February 29th only exists every four years (with exceptions for century years not divisible by 400). Someone born on February 29th technically ages only on leap years, but legal systems typically recognize February 28th as their birthday in non-leap years for practical purposes.

When To Use This
Right tool, right situation

Use precise age calculation for legal documents, medical records, government applications, and insurance policies that depend on exact dates. Passport applications, Social Security benefits, and age-restricted purchases all require day-level accuracy.

This calculator is also essential for milestone planning—tracking when someone will reach exactly 18, 21, or 65 years old for legal purposes. Parents use it to monitor infant development stages measured in weeks and months.

Don't rely on this calculator for historical dates before the Gregorian calendar adoption (1582 in most countries, later in others) or for cultures using different calendar systems. The calculator assumes modern Western calendar conventions throughout history.

Common Mistakes
Why results sometimes look wrong

The most common mistake is using approximate values like 30 days per month or 365 days per year. These averages create errors that compound over time, especially around month boundaries and leap years.

Another frequent error occurs when comparing ages across time zones or daylight saving transitions. Birth certificates record local time, but age calculators often use UTC time, creating off-by-one-day errors for births near midnight.

Many people miscalculate their age in months by multiplying years by 12 and adding months, forgetting that partial months require day-level precision. A person born on January 31st is not 1 month old on February 28th—they're still a few days short depending on the specific birth date.

The Math
Worked examples and deeper derivation

Age calculation involves three calendar units that don't convert evenly: years (365 or 366 days), months (28-31 days), and days. The challenge lies in handling month-end dates when the target month has fewer days than the birth month.

The algorithm first calculates the year difference, then month difference, then day difference. If days go negative, it borrows from months by adding the number of days in the previous month. If months go negative, it borrows from years by adding 12 months.

Total day calculation divides the millisecond difference between dates by 86,400,000 (milliseconds per day). This handles leap years automatically because it counts actual elapsed time rather than estimating with average values. The result is always exact, never approximate.

Passport Application Age Verification
Born June 15, 1990, applying on March 10, 2024
You are 33 years, 8 months, 24 days old. Total days lived: 12,322 days. This precise age calculation ensures your passport application matches official requirements.
Retirement Planning Milestone
Born August 3, 1965, checking age on your 65th birthday
On August 3, 2030, you will be exactly 65 years old. This helps plan Social Security benefits and retirement account withdrawals that depend on precise age requirements.
Child Development Tracking
Born November 20, 2023, checking age today
Your child is 1 year, 2 months old. Total days: 417 days. Tracking exact age helps monitor developmental milestones and vaccination schedules that depend on precise timing.
Expert Unlock
The thing most explanations skip

Legal systems handle edge cases differently than mathematical age calculation. Some jurisdictions consider you a day older at midnight on your birthday, while others require the full 24-hour period to pass. This matters for age-of-consent laws and mandatory retirement dates that hinge on specific timing.

How does leap year affect age calculation?

Why does my age calculator show different results than others?
Age calculations can vary based on how leap years and month-end dates are handled. Our calculator uses standard calendar rules where February 29th only exists in leap years, and it counts complete years, months, and days rather than estimating with average month lengths.
Can I calculate age in just years without months and days?
While this calculator shows complete precision with years, months, and days, your age in whole years is simply the years portion. For official documents, most require only the year count, but some legal situations need the exact day count.
What if someone was born on February 29th?
People born on February 29th celebrate birthdays on February 28th in non-leap years. Our calculator properly handles this edge case and will show their next birthday correctly based on whether the target year is a leap year.

Need something this doesn't cover?

Suggest a tool — we'll build it →