CalcLion

Date Difference Calculator

This date difference calculator counts the exact number of days between two dates — and breaks the gap down into years, months and days, weeks, and business days (Monday to Friday). Add the end date into the count if you need an inclusive total, and see the working step by step. Answers update as you type.

Days between the two dates
—
—Years, months, days
—Weeks and days
—Business days (Mon–Fri)
—Total hours
Try:
Embed this calculator on your website

Free to use — copy the code below and paste it into your page. The calculator runs on the page it is embedded in, with a small CalcLion credit link.

Step-by-step working

Pick two dates above and the working appears here.

How the days between two dates are counted

There are two honest ways to answer "how many days between these dates?", and this calculator shows both. The total days is a straight count of midnights crossed: every day from the start date up to — but not including — the end date. The years, months and days figure is calendar subtraction, the same method you would use on paper: subtract the days, then the months, then the years, borrowing from the month before whenever the day subtraction goes negative.

Worked example (the default above): 1 January 2026 to 31 December 2026. Calendar subtraction: months first — December minus January is 11 months; days — 31 minus 1 is 30 days; years — the same year, so 0. The breakdown is 0 years, 11 months, 30 days. Counting midnights gives 364 days in total, which is exactly 52 weeks — and because the span starts on a Thursday and covers whole weeks, it contains exactly 260 business days (52 × 5 weekdays). Switch the counting method to inclusive and every figure grows by one day: 365 days in total.

Why not just multiply months by 30? Because months are not 30 days long: they run 28 to 31 days, and February gains a 29th day in leap years (2024, 2028, 2032…). Any span that crosses a 29 February is one day longer than the same span a year earlier — 1 March 2025 to 1 March 2026 is 365 days, but 1 March 2023 to 1 March 2024 is 366, because it contains 29 February 2024. This calculator counts real calendar days, so leap days are always included correctly.

Business days are the Monday-to-Friday days inside the span — the number that matters for deadlines, notice periods and delivery estimates. Public holidays are not deducted, because they differ by country and state; if your deadline is governed by a specific holiday calendar, count the holidays that fall on weekdays inside your span and subtract them from the business-day figure.

Inclusive or standard? Use the standard count for durations — a project that starts on Monday and ends on Friday has run for 4 midnights, and a person born on 15 June 1990 was 13,311 days old on 24 November 2026. Use the inclusive count when both the first and the last day themselves matter: a hotel stay from 1 to 3 January is 2 nights but covers 3 calendar days, and a 3-day event running Friday to Sunday spans 3 days, not 2.

How do I count the days between two dates inclusively?

Add 1 to the standard count — or choose "Inclusive" in the counting method above. Inclusive counting includes both the start date and the end date themselves, so 1 January to 31 January is 31 days inclusive but 30 days as a standard duration.

Why is the answer not just months × 30?

Because months vary from 28 to 31 days and leap years add a 29 February. A rough months × 30 estimate can be out by several days over a long span. This calculator counts actual calendar days and does the calendar subtraction properly, borrowing days from the correct preceding month.

What counts as a business day?

Monday to Friday. Weekends are excluded; public holidays are not, because they vary by country, state and employer. For a deadline governed by a specific holiday calendar, subtract the weekday holidays inside your span from the business-day total shown.

CalcLion tools are original works: same everyday maths as any date calculator, with our own explanations, design and step-by-step working. Dates are counted on the Gregorian calendar, in whole days — times of day and time zones do not change a date-to-date count.