Age Calculator

Ever wonder exactly how old you are down to the day? Or maybe you need to figure out someone's age for a legal form, a birthday surprise, or just plain curiosity. An age calculator takes a birth date and figures out precisely how much time has passed since then, breaking it down however you need it. Whether you want a simple years count or a full breakdown in months, weeks, days, hours, and even seconds, this page covers how age calculations work and what to watch out for along the way.

Enter Details

Result

Enter a birth date to calculate age.

Note — This result is an estimate. Talk to a healthcare provider for personalized guidance.

How to Calculate Age from Date of Birth

The basic idea is simple: subtract the birth date from today's date. But the math gets a little more involved than it looks, because months have different lengths and years aren't all the same size.

Here's how it works step by step:

  1. Start with today's date (year, month, day).
  2. Subtract the birth year from the current year to get a rough age in years.
  3. Check whether the birthday has already occurred this calendar year. If today's month and day fall before the birth month and day, subtract one from that year count.
  4. The result is the person's current age in completed years.

For example, if someone was born on August 15, 1990, and today is June 10, 2025, their birthday hasn't happened yet this year. So their age is 2025 minus 1990 minus 1, which equals 34. They'll turn 35 in August.

This is the same method most governments, schools, and hospitals use to determine age for eligibility purposes. It counts only completed years, not the year you're currently living through.

Age Calculator by Birth Date and Target Date

Sometimes you don't want to calculate age as of today. Maybe you need to know how old someone was on a specific date in the past, or how old they'll be at a future milestone like a retirement date or a child's first day of school.

An age calculator that accepts a target date works exactly the same way, just swapping out "today" for whatever date you specify. Enter the birth date, enter the target date, and the calculator finds the difference between the two.

This comes in handy in a lot of real situations:

  • Checking whether someone met an age requirement on a specific date (voting, driving, retirement benefits)
  • Figuring out a historical figure's age at a key moment in their life
  • Planning ahead to see how old a child will be when they graduate or turn 18
  • Calculating age for medical records or insurance documents tied to a specific date

The target date can be earlier than today too. Set the target date to any past date and the calculator works backward just as cleanly as it works forward.

Calculate Exact Age in Years, Months, and Days

Getting just the years is useful, but sometimes you need more precision. An exact age calculation breaks the time span into years, months, and days, which is how most people intuitively think about age for babies, toddlers, or precise legal situations.

The process goes like this: first calculate the full completed years, then count the remaining full months after the last birthday, then count the leftover days after the last complete month. It sounds straightforward, but the varying lengths of months (28, 29, 30, or 31 days) mean you have to be careful.

Take someone born on March 31, 2000. If you're calculating their age on May 15, 2025, they turned 25 on March 31. From March 31 to April 30 is one full month. From April 30 to May 15 is 15 days. So their exact age is 25 years, 1 month, and 15 days.

This level of detail matters most for infants and young children, where pediatricians track development by months and weeks. It also shows up in legal documents, immigration paperwork, and situations where someone needs to prove they were a certain age on a certain date.

Age in Weeks, Days, Hours, Minutes, and Seconds

Want to go even deeper? You can convert a person's total age into a single unit, like the total number of days they've been alive, or even the total seconds. It's a fun thing to look at, and it's actually useful for certain technical calculations.

Here's roughly what those numbers look like for someone who is 30 years old:

UnitApproximate Value (Age 30)
Years30
Months360
Weeks1,565
Days10,957
Hours262,980
Minutes15,778,800
Seconds946,728,000

These numbers shift slightly depending on how many leap years fall within the person's lifetime, but the values above give you a solid ballpark. Seeing your age in days or seconds for the first time is usually a bit of a jolt.

Total days is the most practically useful of these. It's used in financial calculations, scientific research, and anywhere you need to express an age or duration as a plain integer.

How Leap Years Affect Age Calculations

Leap years add an extra day to February every four years (with a few exceptions), and that one day can actually matter when you're calculating ages precisely.

The rule for leap years: a year is a leap year if it's divisible by 4, except for century years, which must be divisible by 400. So 2000 was a leap year, but 1900 was not.

For most people, leap years just mean the calendar is slightly longer in certain years and the total day count shifts a bit. But for people born on February 29, it gets more interesting. Leap day babies only have an actual birthday every four years. For legal and practical purposes, most places treat February 28 or March 1 as their birthday in non-leap years, depending on the country or context.

When a calculator is counting total days lived, it accounts for every leap year that fell within the person's lifetime. Someone born in 1980 who is 44 years old has lived through about 11 leap years, adding 11 extra days to their total day count compared to a world where every year had exactly 365 days.

For most everyday age questions, leap years are handled automatically in the background. But if you're doing precise calculations or writing code to compute ages, you have to build in that logic explicitly.

Next Birthday and Birthday Countdown

Knowing your next birthday and how many days away it is turns out to be surprisingly useful, not just for party planning but also for tracking benefit eligibility, insurance renewal dates, and age-based milestones.

To find the next birthday from today's date, check whether this year's birthday has already passed. If it has, the next birthday is on the same month and day in the following year. If it hasn't passed yet, it's still coming up this year. Simple enough.

The countdown is just the difference in days between today and that upcoming date. The one wrinkle: if the next birthday falls in a leap year and the person was born on February 29, you need to handle that edge case by deciding whether to count the birthday as February 28 or March 1 in non-leap years.

A few things people like to track around birthdays:

  • Days until the next birthday (classic countdown)
  • Day of the week the next birthday falls on
  • Which milestone birthday is coming up (18, 21, 30, 50, 65, etc.)
  • Age they'll be turning on the next birthday

Milestone birthdays in particular carry real-world significance. Turning 18 often unlocks voting rights and contracts. Turning 65 triggers Medicare eligibility in the US. Having the exact date and countdown for those moments is genuinely practical.

Age Difference Between Two Dates

Calculating the age difference between two people, or between any two dates, uses the same subtraction logic. You just find the age of each person as of the same reference date, then subtract the smaller from the larger.

Say Person A was born on January 5, 1985, and Person B was born on September 20, 1991. As of today, Person A is about 40 years old and Person B is about 33. The age difference is roughly 6 years and 8 months.

For a more precise result, calculate the exact age of each person in years, months, and days, then find the difference between those two dates of birth directly. Subtracting the earlier birth date from the later one gives you the exact gap.

This kind of calculation comes up in:

  • Family relationships (sibling age gaps, parent-child differences)
  • Relationship compatibility discussions
  • Medical research comparing patient cohorts
  • Employment records and workforce demographics

One thing worth knowing: the age difference between two people stays constant in years, but the relative difference shrinks as a percentage of total life as both people get older. A 5-year gap feels enormous between a 10-year-old and a 15-year-old, but barely noticeable between a 50-year-old and a 55-year-old.

Common Age Calculation Examples

A few concrete examples help tie all of this together. Here are some common scenarios and how the math shakes out.

ScenarioBirth DateTarget DateResult
Current age (birthday passed)March 10, 1990June 10, 202535 years old
Current age (birthday not yet)August 15, 1990June 10, 202534 years old
Age on a past dateJuly 4, 1980July 4, 2000Exactly 20 years
Exact age with months and daysJanuary 31, 2000March 15, 202525 years, 1 month, 15 days
Leap day birthdayFebruary 29, 2000February 28, 202524 years (birthday tomorrow by most conventions)

The leap day example is the trickiest of the bunch. Different countries and legal systems handle it differently, so always check the relevant rules if it matters for something official.

For everyday use, the key things to remember are: age counts only completed years, the birthday must have occurred in the current year to count that year, and month-length differences add up when you're calculating exact breakdowns. Get those three things right and the rest falls into place.

Other Other Calculators

Explore all