How to Calculate Age and Date Differences Correctly

Counting the time between two dates seems easy until months of different lengths and leap years get involved. A few conventions explain most confusing results.

Age in years, months and days

The standard method counts complete calendar years since birth, then complete months, then leftover days. For example, someone born on 31 January who is checked on 1 March is 1 month and 1 day past their last birthday month: the calculator steps back from 1 March to 28 February to count one full month, then counts the remaining day. The Age Calculator and Chronological Age use this approach.

Leap years

A year is a leap year if it is divisible by 4, except century years not divisible by 400. People born on 29 February are usually treated as having their birthday on 28 February or 1 March in other years; our Birthday Calculator shows 28 February.

Inclusive or exclusive counting

From Monday to Friday is 4 days if you count the gaps, or 5 days if you count both end days. Booking systems and legal documents sometimes include the final day. The Days Between Dates has a switch for this.

Business days

Deadlines are often in working days. Skipping Saturdays and Sundays gives a good approximation, but public holidays differ by country, so subtract them yourself. The Days From Today can add business days to any date.

Adding months

Adding one month to 31 January has no exact answer, as February has no 31st. Most tools return the last day of the month. If you need to add or subtract years, months, weeks and days all at once, use the Date Calculator.