✨ Free step-by-step solutions with full working — no sign-up ever needed

Age Calculator (Date of Birth)

Free age calculator. Enter a date of birth to instantly calculate exact age in years, months, and days, as of today or any date you choose.

📅 Age & Date Calculator

Overview & Concepts

A date of birth calculator finds the exact time that has passed between a starting date (the date of birth) and an end date, usually today. The tricky part isn't the concept — it's that months don't all have the same number of days, and every four years February gets an extra one. Doing this by hand means subtracting years, months, and days separately, then borrowing across columns whenever a subtraction would go negative, much like borrowing in ordinary column subtraction.

Our Calculator tool automates this borrowing process instantly, but understanding the method below is useful for checking results by hand, for school assignments, or for building the logic into a spreadsheet.

Step-by-Step Mathematical Method

Let the date of birth be Year1-Month1-Day1, and the target (end) date be Year2-Month2-Day2. Subtract each component separately, starting from days:

General Age Calculation Method

Copy this step-by-step process:

1
Step 1: Subtract Day1 from Day2. If the result is negative, borrow: subtract 1 from Month2, and add the number of days in the borrowed (previous) month to Day2
2
Step 2: Subtract Month1 from Month2. If the result is negative, borrow: subtract 1 from Year2, and add 12 to Month2
3
Step 3: Subtract Year1 from Year2. This is the age in whole years
4
Step 4: The three results give the age as Years, Months, and Days

The only place this method requires care is Step 1: the number of days you add back depends on which month you're borrowing from (28, 29, 30, or 31 days), and whether that month is February in a leap year.

Days in Each Month (for Borrowing)

MonthDays (Regular Year)Days (Leap Year)
January3131
February2829
March3131
April3030
May3131
June3030
July3131
August3131
September3030
October3131
November3030
December3131

Worked Examples with Solutions

Example 1: No borrowing needed. Find the age of someone born on March 15, 2000, as of August 25, 2026.

Example 1 Walkthrough

Copy each calculation step:

1
Day: 25 - 15 = 10 (no borrow needed)
2
Month: 8 - 3 = 5 (no borrow needed)
3
Year: 2026 - 2000 = 26
4
Result: 26 years, 5 months, 10 days

Example 2: Borrowing across both days and months. Find the age of someone born on July 20, 1995, as of February 10, 2026.

Example 2 Walkthrough

Copy each calculation step:

1
Day: 10 - 20 is negative, so borrow from the month: reduce Month2 by 1 (Feb becomes Jan), add January's 31 days to Day2: (10 + 31) - 20 = 21
2
Month: after borrowing, Month2 is now 1 (January). 1 - 7 is negative, so borrow from the year: reduce Year2 by 1 (2026 becomes 2025), add 12 to Month2: (1 + 12) - 7 = 6
3
Year: 2025 - 1995 = 30
4
Result: 30 years, 6 months, 21 days

Common Mistakes & Tips

A few errors come up repeatedly when calculating age by hand:

  • Forgetting leap years when borrowing in February: if the month you're borrowing days from is February, you must check whether that specific year is a leap year (29 days) or not (28 days) before adding it back.
  • Mixing up which year to check for the leap day: when borrowing from February, always check the year February actually falls in — not the birth year or the end year by default.
  • Counting the birthday itself incorrectly: if the day, month, and year all match exactly (e.g., calculating age exactly on a birthday), the result should come out to whole years with 0 months and 0 days — a good way to test your arithmetic.
  • Off-by-one errors near month boundaries: always subtract Day1 from Day2 first and resolve any borrowing there before touching the month column, since a day borrow can change the month subtraction that follows.

Frequently Asked Questions

Q1How do I calculate my exact age in years, months, and days?
▼
Subtract the date of birth from the target date column by column (days, then months, then years), borrowing from the next column whenever a subtraction goes negative, as shown in the step-by-step method above.
Q2Does the calculation account for leap years?
▼
Yes. Whenever you borrow days from February, use 29 days if that particular year is a leap year (divisible by 4, and by 400 if it's a century year) or 28 days otherwise.
Q3Why do two different age calculators sometimes give slightly different answers?
▼
Small differences usually come from how each tool defines 'months' and 'days' when borrowing, or whether it counts the end date as included. The column-subtraction method described here is the standard approach used by most calendar-based calculators.
Q4Can I calculate age as of a date other than today?
▼
Yes. The same method works for any two dates; simply use your chosen date as Year2-Month2-Day2 instead of today's date.