Skip to main content
ToolNimbly

Days Between Dates Calculator

Days, weeks and business days between two dates — with the inclusive-counting question answered explicitly.

Runs in your browser. Nothing you enter here is uploaded to a server.

Loading the tool…

Embed the Days Between Dates Calculator

Paste this into any page. The tool runs in place, and the credit line below it links back here.

Appearance

Adjust height if your layout needs it.

Please keep the “Powered by” line. It is the only thing we ask in return, and it is what keeps the tool free to embed.

What this tool does

How many days are there between two dates? The honest answer is that it depends on whether you count both ends, and most tools never say which they did. This one has a switch for it. Enter two dates in either order and it reports the calendar difference in years, months and days, the total in days and in weeks-plus-days, and — when you ask for it — the number of weekdays, excluding Saturdays and Sundays.

How to use this tool

  1. Step 1: Enter the two dates

    Order does not matter. The tool works out which is earlier and tells you the direction of the difference.

  2. Step 2: Decide whether the end date counts

    Turn on "include end date" when both endpoints are part of the span — a hotel stay, a notice period, a contract that runs through its final day.

  3. Step 3: Switch on business days if you need them

    Excluding weekends counts Monday to Friday only within the selected span. Public holidays are not applied.

  4. Step 4: Read the breakdown

    Calendar difference, total days, weeks plus remaining days and the business-day count are all shown together.

Worked example

A project running from 3 March 2026 to 17 April 2026

A typical planning question, with and without the end date counted.

Excluding the end date
45 days
Including the end date
46 days
Calendar difference
1 month, 14 days
Weeks and days
6 weeks, 3 days
Weekdays, end date included
34 business days

The one-day gap between the first two rows is the whole reason this switch exists. Deadlines and billing periods usually include the final day; elapsed-time questions usually do not.

How the difference is measured

Both dates are treated as plain calendar dates. The total is a difference of day numbers, and the years-months-days breakdown borrows down exactly as manual arithmetic would.

total days     = day number of later date − day number of earlier date
inclusive days = total days + 1
weeks and days = total days ÷ 7, with the remainder as days
business days  = count of Monday–Friday dates in the selected span
  • Because the count uses calendar day numbers rather than elapsed milliseconds, a daylight-saving change never adds or drops a day.
  • The calendar breakdown is direction-aware: the sign tells you which date came first, and the wording says so in plain language too.
  • Business-day counting respects the include-end-date switch, so a Friday-to-Friday span can be four or five weekdays depending on it.

Sources and methodology

ToolNimbly performs this work locally in your browser using the method shown above. Read how ToolNimbly tests calculations and generated documents.

Inclusive dates, business days and month lengths

Two dates define boundaries, but the question decides whether both boundaries count. From Monday to Tuesday is one elapsed day, yet a booking that occupies both Monday and Tuesday covers two calendar dates. The “include end date” option makes that distinction explicit instead of hiding it in the result. Business-day mode removes Saturdays and Sundays, but it cannot know local public holidays unless a holiday calendar is supplied.

Months and years are calendar units rather than fixed durations. One month after 31 January may land at the end of February, while thirty elapsed days may land in March. For deadlines, billing periods and age calculations, the calendar breakdown is usually clearer. For service-level measurements or data analysis, total days is usually safer. Write down the inclusion rule whenever another person must reproduce the result.

Limitations and privacy

What this tool does not do

  • A weekend means Saturday and Sunday. Working weeks that run differently are not supported in this version.
  • Public holidays are not excluded. A business-day count across a holiday period will be higher than the working days actually available.
  • Time of day is ignored entirely. These are whole-date calculations.
  • Months vary in length, so a "1 month, 14 days" breakdown is not a fixed number of days — the total-days figure is the unambiguous one.

Both dates stay in your browser. Nothing is uploaded and nothing is retained after you leave the page.

Frequently asked questions

Should I include the end date or not?

Include it when both days are part of the thing you are measuring — a leave request covering Monday through Friday is five days, not four. Exclude it when you are measuring elapsed time between two moments, such as how long ago something happened.

How are business days counted?

Every date in the span is examined and only Mondays through Fridays are counted. There is no assumption about holidays, so check your own calendar for public holidays in the period.

Why does the months-and-days breakdown look odd?

Because calendar months are between 28 and 31 days long. Counting "one month" from 31 January lands on 28 February, so the remaining days are measured against a different month length than you might expect. The total-days figure is always exact.

Can I enter the later date first?

Yes. The tool sorts them and reports the magnitude of the difference along with which date is earlier, so you never get a confusing negative number without explanation.

Does this work across daylight-saving changes?

Yes. The calculation compares calendar dates, not timestamps, so the spring and autumn clock changes have no effect on the day count.

Does the count include leap days?

Yes. The total is a real calendar count, so a span crossing 29 February includes that day. This is why two intervals that look like the same number of years can differ by a day, and why the years-months-days breakdown is the more reliable figure when you are comparing anniversaries rather than elapsed time.

Read more about this

Other tools people use alongside the days between dates calculator.

  • Age Calculator

    Find an exact age in years, months and days from any birth date, plus total weeks and days lived, the day of the week born and the next birthday.

  • Salary to Hourly Calculator

    Convert annual salary to hourly, monthly, weekly, biweekly or daily gross pay—or convert an hourly wage back to annual salary.

  • Loan Calculator with Extra Payments

    Calculate monthly loan payments, total interest and a full amortization schedule. Add extra payments to compare payoff time and savings.

Part of Calculators. Last reviewed .