Age Calculator

Your exact age

—

Total days lived

—

Day of week born

—

Days until next birthday

—

What Is an Age Calculator?

An age calculator takes a birthdate and computes the exact age — in years, months, and days — as of today or any date you choose. Beyond the headline age, it also shows the total number of days lived, the day of the week you were born, and how many days remain until your next birthday. It's the kind of tool you reach for when a form asks for an exact age, when you're checking eligibility for school enrollment, a driver's license, retirement benefits, or voting, or simply when a milestone birthday is approaching and you want the precise count.

What makes an age calculator more than a subtraction problem is that calendar math is irregular. Months are 28, 29, 30, or 31 days long, and leap years insert an extra day every four years (with century exceptions). A good age calculator handles all of that borrowing and leap-year logic correctly, which is exactly what the tool above does.

How Age Math Works: Calendar Borrowing Explained

Computing an exact age works like subtraction with borrowing, the same way you learned to subtract multi-digit numbers in school — except the "columns" are years, months, and days, and the months column has a variable base.

The algorithm goes like this. Start with years = as-of year − birth year, months = as-of month − birth month, and days = as-of day − birth day. If days is negative, you've "overspent" the days: borrow one month (subtract 1 from months) and add the number of days in the previous month to days. If months is then negative, borrow one year (subtract 1 from years) and add 12 to months. That's it — the result is always a valid calendar age.

The tricky part is the day-borrowing step, because months have different lengths. Borrowing across March means adding 28 or 29 days (February's length, which depends on whether it's a leap year); borrowing across May means adding 30 days (April). The calculator looks up the actual length of the month being borrowed from, so leap years are handled automatically with no special cases. This is also why you can't just divide a day count by 365 — that shortcut ignores both leap days and the uneven month lengths, and it gives you a decimal instead of the years-months-days breakdown that birthdays, legal ages, and forms actually use.

Worked Example: Born June 15, 1990

Let's calculate the exact age of someone born on 1990-06-15, as of 2026-10-04, step by step:

  1. Subtract each column: years = 2026 − 1990 = 36; months = 10 − 6 = 4; days = 4 − 15 = −11.
  2. Days are negative, so borrow a month: months drops from 4 to 3, and we add the days in the previous month (September has 30 days): days = −11 + 30 = 19.
  3. Months are fine now (3 is not negative), so no year borrowing is needed.
  4. Result: 36 years, 3 months, 19 days.

Check it forward: June 15, 1990 plus 36 years is June 15, 2026; plus 3 months is September 15, 2026; plus 19 days is October 4, 2026. It lands exactly on the as-of date. Try these same dates in the calculator above to confirm.

Everyday Uses for an Exact Age

Forms and applications: Insurance quotes, medical intake forms, and background checks sometimes ask for age in years and months rather than just years.

Eligibility cutoffs: School enrollment, youth sports leagues, driver's licenses, voting, drinking age, and retirement benefits all hinge on exact dates. Being "almost 18" isn't 18 — the calculator settles it.

Milestones: The total-days-lived figure turns birthdays into bigger numbers (10,000 days old happens at about age 27 years and 5 months), and the days-until-next-birthday countdown is handy for planning.

Genealogy and history: Setting the "as of" date to a past date lets you compute how old an ancestor was at a marriage, immigration, or military service record — a staple of family-history research.

How to Use This Calculator

  1. Enter the birthdate. Use the date picker or type a date in YYYY-MM-DD format.
  2. Set the "as of" date. It defaults to today; change it to compute an age on any past or future date.
  3. Read the results instantly. Exact age, total days lived, birth weekday, and days until the next birthday all update as you change the dates.
  4. Watch for the error message. If the birthdate is after the "as of" date, the calculator tells you plainly instead of showing a negative age.

Frequently Asked Questions

Why can't you just divide total days by 365 to get someone's age?

Dividing days by 365 ignores leap years and produces a decimal, not a calendar age. A calendar-correct age borrows months and days like real date arithmetic, so it matches how birthdays actually work — years, whole months, and remaining days.

How are leap years handled?

Leap years are handled automatically because the calculation uses the real calendar. February has 29 days in leap years and 28 otherwise, so day-borrowing and total-day counts are always correct, including for people born on February 29.

What if I was born on February 29?

Your age is calculated normally — you still age one year every year. In non-leap years your "next birthday" countdown rolls to March 1, since February 29 does not exist that year. Some people celebrate on February 28 instead; legally, either convention is accepted depending on the jurisdiction.

Can I calculate someone's age on a past date?

Yes. Change the "as of" date to any date in the past or future and the calculator shows the exact age on that date. This is useful for historical research, insurance forms, and checking eligibility as of a specific deadline.

What does "total days lived" mean?

It is the exact number of full days between the birthdate and the "as of" date, counting every day including leap days. It is a fun milestone number and a useful cross-check that the years-months-days figure is correct.

Related Tools