How Date Duration Is Calculated
Pick any two dates — a start and an end — and this calculator measures the exact span between them on the real Gregorian calendar. It reports the duration three ways at once: a calendar breakdown in years, months, and days; the raw total of days; and a split into weekdays and weekend days. That sounds trivial until you try it by hand: months have four different lengths, February changes in leap years, and “three months from now” is not a fixed number of days. The tool handles all of that instantly, updating the moment both dates are chosen.
The Counting Rules, Defined Precisely
Three definitions keep the arithmetic honest. Total days is the number of midnights crossed between the two dates — end date minus start date — so identical dates give 0, and the start day itself is not counted as a completed day. A weekday is Monday to Friday and every other day is a weekend day; weekdays + weekends always equals total days, a useful self-check. The years-months-days breakdown borrows like column subtraction: if the end date's day-of-month is smaller than the start's, one month is borrowed and the days of the previous month are added in. Finally, leap years follow the Gregorian rule — divisible by 4, except century years, which must be divisible by 400.
What You Get
- Calendar breakdown: e.g. 2 years, 3 months, 14 days.
- Total days: the raw day count between the dates.
- Weekdays: the Monday-to-Friday days inside the span — useful for work planning.
- Weekends: the Saturday and Sunday days, shown separately so the two counts always add up to the total.
How to Use This Calculator
- Click the Start date field and pick the earlier of your two dates.
- Click the End date field and pick the later date. The results appear automatically as soon as both dates are set — there is no button to press.
- Read the Duration banner first (years, months, days), then the three cards beneath it: Total days, Weekdays, and Weekends.
- If the end date is earlier than the start date, the tool asks you to swap them rather than showing a negative duration.
Worked Example 1: 1 January 2026 to 15 March 2026
Count the span month by month. From 1 January to 1 February is 31 days — the length of January. From 1 February to 1 March is 28 days, because 2026 is not divisible by 4, so February stays short. From 1 March to 15 March is 14 more days. Total: 31 + 28 + 14 = 73 days, which the calendar breakdown reports as 2 months, 14 days. Now split by weekday. The 73 days contain ten full weeks — 70 days contributing 50 weekdays — plus a final Thursday, Friday, and Saturday, which add 2 more weekdays and 1 weekend day. The cards therefore read 52 weekdays and 21 weekend days, and 52 + 21 = 73 confirms the split.
Worked Example 2: 15 January 2024 to 15 January 2025 — the Leap-Year Trap
This span is exactly one calendar year, so the breakdown reads 1 year, 0 months, 0 days. Yet the total is 366 days, not 365, because 29 February 2024 falls inside the interval. Choose the same dates in 2025–2026 and the total drops to 365. The effect in miniature: 1 February to 1 March is 29 days in 2024 but only 28 days in 2025. The cards for the leap-year span show 262 weekdays and 104 weekend days — again, 262 + 104 = 366. This is why contracts, tenancies, and subscriptions described as “one year” should always be pinned to an exact end date rather than assumed to be 365 days.
Everyday Uses
Project managers count weekdays between kickoff and deadline to get honest working time; tenants and employees check notice periods against exact dates rather than rough months; travellers verify that a trip fits inside a 90-day visa window; and families count down to weddings, exams, and due dates. Project deadlines, pregnancy tracking, age verification, and subscription lengths all come down to the same question: how much time is between these two dates?
Three Date-Counting Mistakes
- Assuming a month is 30 days and a year is 365. Real months run 28 to 31 days and leap years add a day. The “close enough” estimate drifts by several days over any long span — enough to miss a legal deadline.
- Counting both endpoints. Duration is end minus start. Including both the first and last date adds a phantom day, the classic off-by-one error; hotel stays, billed by nights rather than days, work exactly this way.
- Estimating weekdays as five-sevenths of the total. That ratio holds only for whole weeks; the partial weeks at either end of a real span tilt the count. And remember public holidays are not weekends — this tool's weekday count still includes them.
Related Tools
Measuring a lifespan? Our age calculator gives exact age from a birthdate, and the birthday calculator adds fun stats like day-of-week born. To move a date by a set number of days, use the add days calculator; to compare two birth dates, the age difference calculator; for an age on a chosen date, the age at date calculator; for any date's weekday, the day of week calculator; and to count down live to a target date, the countdown calculator.