How to calculate age and the days between dates
Work out an exact age in years, months, and days, count days between dates, and handle leap years.
Working out someone’s age or the number of days between two dates sounds simple, but uneven month lengths and leap years make it easy to slip by a day or two. Here is a reliable way to do it by hand. Age in years Subtract the birth year from the current year. If the birthday has not happened yet this year, subtract one more. Someone born on March 15, 1985 is 41 on October 11, 2026 (2026 − 1985 = 41, and the March birthday has already passed). On February 1, 2026 they would still have been 40. Age in years, months, and days Count whole years to the most recent birthday, then whole months after that, then the days left over. The worked example below shows each step. Days between two dates Add up the days in each month between the two dates. From January 1 to October 11, 2026: January to September is 31 + 28 + 31 + 30 + 31 + 30 + 31 + 31 + 30 = 273 days, plus 10 more days to reach October 11, for 283 days in all. Decide whether to count both the first and the last day. Monday to Wednesday is 2 days apart, but an event that runs from Monday to Wednesday lasts 3 days. Days in each month A rhyme many people learn: “Thirty days hath September, April, June, and November.” All the rest have…