Book a free 30 minute consultation

Date Difference Calculator

Calculate the number of days between two dates with the Black Swan Date Difference Calculator. Switch between inclusive or exclusive counting for accurate timelines and contract periods.

📅 Date Difference Calculator

Calculate the number of days between two dates, with a simple toggle to include or exclude the start and end dates.

📅
📅

Select a start and end date to see the number of days between them.

Use the toggle above to switch between exclusive (days in between) and inclusive (includes start and end date).

How to use this date difference calculator

This tool helps you work out how many days sit between two dates.
You can switch between:

  • Exclusive – counts the days between the two dates

  • Inclusive – counts the days and includes both the start and end date

The result and label update automatically when you change the toggle.

 

1. Pick your dates

  1. In Start date, choose the earlier date.

  2. In End date, choose the later date.

If the end date is before the start date, the calculator will show an error.

 

2. Choose counting mode

Under the dates you’ll see Counting mode and a blue toggle:

  • Exclusive (days in between)

    • From 1 Jan to 3 Jan = 2 days

  • Inclusive (includes start and end date)

    • From 1 Jan to 3 Jan = 3 days

Flip the toggle and the label will change to match the mode.
If you’ve already run a calculation, switching the toggle will automatically recalculate the result.

 

3. Run the calculation

Click Calculate difference.

You’ll see:

  • Total days – the exact number of days based on the mode you’ve chosen

  • Mode line – a short explanation confirming whether it’s inclusive or exclusive

  • Approximate breakdown – the same period shown as:

    • years

    • months

    • weeks

Years and months use average lengths, so they’re an estimate rather than a precise calendar breakdown. The day count is the one to rely on for exact windows.

 

4. When this is useful

This is handy for:

  • Policy and contract periods

  • Insurance waiting times and renewal windows

  • Incident timelines and reporting deadlines

  • Project or review cycles

Use inclusive when you’re thinking in terms of “days covered” (e.g. insurance cover from X to Y), and exclusive when you want the number of days between two points.

{ "@context": "https://schema.org", "@type": "WebApplication", "name": "Black Swan Cyber Date Difference Calculator", "description": "Online date‑difference calculator tool to compute the difference between two dates, provided by Black Swan Cyber Security Solutions.", "url": "https://blackswancyber.co.uk/date-difference-calculator", "applicationCategory": "Utility", "operatingSystem": "Web", "provider": { "@type": "Organization", "name": "Black Swan Cyber Security Solutions", "url": "https://blackswancyber.co.uk" }, "potentialAction": { "@type": "ComputeAction", "target": { "@type": "EntryPoint", "urlTemplate": "https://blackswancyber.co.uk/date-difference-calculator", "actionPlatform": [ "http://schema.org/DesktopWebPlatform", "http://schema.org/MobileWebPlatform" ] }, "name": "Calculate date difference" } }