The chronological age subtraction method
Write both dates as Year – Month – Day and subtract each component, borrowing from the previous month or year if the birth day or month is larger:
Age = (Target Y – M – D) – (Birth Y – M – D)
- Borrowing Days If Target Day < Birth Day, borrow the exact number of days from the preceding month (28, 29, 30, or 31) and reduce Target Month by 1.
- Borrowing Months If Target Month < Birth Month, add 12 to Target Month and reduce Target Year by 1.
Why calendar and age calculations are tricky
Unlike standard base-10 numbers, the Gregorian calendar has months of 28, 29, 30, and 31 days. Finding your exact age in completed years, months, and days requires subtracting the birth date from the target date from right to left (days, then months, then years) and borrowing when needed.
Similarly, counting the exact number of days between two dates depends on whether you are measuring elapsed time (exclusive of the end date) or inclusive calendar days (such as a vacation from Monday through Friday).
Memory aid: April, June, September, and November have 30 days; February has 28 (or 29 in a leap year); all the rest have 31.
90% of calculation errors come from mixing milliliters with liters or grams with kilograms
Before plugging numbers into any physical or time formula, check that every input shares the same base unit family. In Molarity (M = mol ÷ L), a 250 mL beaker must be entered as 0.250 L—entering 250 directly makes your concentration 1,000 times too small. Likewise, in payroll time duration, 8 hours and 30 minutes is 8.50 decimal hours, never 8.30.
Entering 45 minutes as ".45" on a decimal payroll timesheet
Because an hour has 60 minutes, 15 minutes is 0.25 hrs, 30 minutes is 0.50 hrs, and 45 minutes is 0.75 hrs (45 ÷ 60). Writing 7.45 instead of 7.75 shortchanges 18 minutes of pay.
Track significant figures from your least precise instrument
If your scale reads to 2 decimal places (12.45 g) and your graduated cylinder reads to 2 significant figures (50 mL), round your final reported lab answer to match the least precise measurement.
Step-by-step example
Let's walk through age on 10 October 2026 for a birth date of 25 May 1998.
Compare the days (10 vs. 25):
Since 10 < 25, borrow 30 days from September (month 9):
Days = (10 + 30) – 25 = 15 days; Target Month becomes 9
Subtract the months (9 vs. 5):
Months = 9 – 5 = 4 months
Subtract the years (2026 vs. 1998):
Years = 2026 – 1998 = 28 years
Final answer:
Exact age = 28 years, 4 months, and 15 days
25 May 1998 to 10 Oct 2026:
28y 4m 15d
Inclusive vs. exclusive day counting
Simple subtraction counts the nights or elapsed days between two dates. If both the start date and end date are active days (like a 5-day conference from May 10 to May 14), add 1:
Elapsed Days = End – Start | Inclusive Days = (End – Start) + 1
Worked Scenario: Counting days from May 10 to May 14:
- Exclusive difference: 14 – 10 = 4 days (e.g., 4 hotel nights)
- Inclusive span: (14 – 10) + 1 = 5 calendar days (May 10, 11, 12, 13, 14)
- Always check whether contracts specify “clear days” or “inclusive days”
Find your exact age or count days between any two dates with our Age Calculator.
How the Gregorian leap year rule works
A leap year adds 1 extra day (February 29) so the calendar stays aligned with Earth’s 365.2422-day orbit:
Leap Year = Divisible by 4 (except century years not divisible by 400)
Worked Scenario: Checking which years have 366 days:
- 2024 and 2028 are divisible by 4 → Leap years (366 days)
- 2000 was divisible by 400 → Leap year (366 days)
- 1900 and 2100 are divisible by 100 but not 400 → Common years (365 days)
Count exact weeks, workdays, and days between dates in the Date Difference Calculator.
Common mistakes
- Borrowing 30 days unconditionally when the preceding month actually has 31 or 28 days.
- Forgetting to add 1 day when counting inclusive event days (the fencepost error).
- Multiplying years by 365 without adding 1 extra day for each leap year in the span.
- Assuming every month equals exactly 4 weeks (28 days) when calculating multi-month deadlines.
- Forgetting time zones or daylight saving shifts when calculating exact hour durations.
Examples
| Start / Birth Date | End / Target Date | Year-Month-Day Span | Total Days |
|---|---|---|---|
| 01 Jan 2025 | 01 Jan 2026 | 1 year, 0 months, 0 days | 365 days |
| 01 Jan 2024 (Leap) | 01 Jan 2025 | 1 year, 0 months, 0 days | 366 days |
| 25 May 1998 | 10 Oct 2026 | 28 years, 4 months, 15 days | 10,365 days |
| 01 Mar 2026 | 15 Jun 2026 | 0 years, 3 months, 14 days | 106 days |
| 10 May 2026 | 14 May 2026 (Incl.) | 5 inclusive calendar days | 4 nights / 5 days |