Date Difference & Business Days Calculator

Count calendar days, weekdays and weekends between dates. Include the end date or subtract your own weekday holiday count.

Exact Calendar Duration 0y 9m 16d (289 days) 207 net business days • 82 weekend days
Total Calendar Days 289 days
Net Working Days (Mon–Fri) 207 days
Weekend Days (Sat & Sun) 82 days
Inputs
Beginning date (YYYY-MM-DD).
Ending date (YYYY-MM-DD).
Whether both boundary dates count as full days.
days
Optional number of weekday public holidays to subtract from working days.
Results & Graph
Exact Calendar Duration
0y 9m 16d (289 days)
207 net business days • 82 weekend days
Total Calendar Days
289 days
Exclusive of end date
Net Working Days (Mon–Fri)
207 days
Before public holidays
Weekend Days (Sat & Sun)
82 days
Duration in Weeks
41 wks, 2 days

Calendar Interval Composition (Days)

Net Business Days vs. Weekend Days vs. Excluded Holidays
Graph 1 • Measured Values • Calendar Interval Composition (Days) Net Business Days vs. Weekend Days vs. Excluded Holidays
Net Business Days (Mon–Fri): 207 daysWeekend Days (Sat–Sun): 82 daysExcluded Holidays: 0 days Net Business Days (Mon–Fri) 207 days Weekend Days (Sat–Sun) 82 days Excluded Holidays 0 days
Graph 2 • Calculated Values Compared Values retain their calculator-defined labels and units.
Net Business Days (Mon–Fri) 207 days Weekend Days (Sat–Sun) 82 days Excluded Holidays 0 days
Graph 3 • Calendar Span: Business, Weekend & Excluded Days Counts are shown as proportions of the calculated date interval.
Net Business Days (Mon–Fri): 207Weekend Days (Sat–Sun): 82Excluded Holidays: 0 2026-01-01 → 2026-10-17 • 289 days
Summary: Out of 289 calendar days, 207 are net working days and 82 are weekend days.
Summary: Between 2026-01-01 (Thursday) and 2026-10-17 (Saturday), there are 289 calendar days (0 years, 9 months, 16 days), consisting of 207 weekdays and 82 weekend days (207 net business days after subtracting 0 holidays).
Interactive chart & math engine powered by CalculatorGraph

Formula: UTC-Safe Calendar Day & Weekday Enumeration

Total Days = UTC(End) − UTC(Start)86,400,000 + InclusiveOffset
TotalDays = (UTC(End) − UTC(Start)) / 86,400,000 + (Inclusive ? 1 : 0)
  • UTC(Date): Epoch milliseconds at 00:00:00 UTC for the calendar date
  • Weekdays: Count of days falling on Monday through Friday

Rounding: Exact integer day counting using UTC midnight timestamps to prevent Daylight Saving Time 23-hour/25-hour day errors.

Worked example: Interval from 2026-01-01 to 2026-10-17 (Exclusive)

Find total days and business days from January 1, 2026 to October 17, 2026.

  1. Calendar span: 0 years, 9 months, 16 days.
  2. Total calendar days = 289 days (41 weeks, 2 days).
  3. Breakdown: 207 weekdays (Monday–Friday) and 82 weekend days.
Result: 289 calendar days (207 working days and 82 weekend days).

Frequently Asked Questions

Why do some naive JavaScript calculators lose a day in March or November?

Local browser `Date` objects shift by ±1 hour across Daylight Saving Time transitions. CalculatorGraph maps dates to UTC calendar coordinates so every calendar day is exactly 86,400,000 ms.

How do I count working days to a deadline that falls on a Friday?

Set the start to today and the end to the Friday, then decide whether the Friday itself is a working day you still have. If it is, switch on Include End Date so the Friday is counted. Then enter the number of weekday public holidays in between. The net business days line is the figure to plan against, and it will not include weekends.

Why does 31 January to 28 February show as exactly one month?

February has no 31st, so the calculator treats its last day as the one-month mark from 31 January. That gives 1m 0d for a 28-day span in 2026, a common year. Moving the end to 1 March gives 1m 1d and 29 days. If you need a precise length, use the calendar day total, which never depends on how months are defined.

Does the tool know which days are public holidays?

No. It has no holiday calendar for any country or employer. You type the number of holidays yourself, and it subtracts that number from the Monday to Friday count. Only include holidays that fall on a weekday within the dates you entered, and check your own region's list, including any substitute days for holidays that land on a weekend.

Can I use it for a working week that is not Monday to Friday?

Not directly. Weekends are fixed as Saturday and Sunday. For a Sunday to Thursday week or a rota with rest days midweek, take the total calendar days and the weeks line, work out how many working days your pattern has per week, and adjust for the leftover days by hand. The day total stays reliable for any pattern.

What happens if I type the end date before the start date?

The result comes out positive and the same size as the correct order. Swapping the default dates still returns 289 days and 207 weekdays. The sentence under the result repeats the dates in the order you typed them, so you can see the swap. The tool does not say whether a date is in the past or future, only how far apart the two are.

Why is the weekday count lower than I expected for a week starting on Monday?

In the default mode the end date is left out. Monday 2 November to Monday 9 November 2026 counts Monday through Sunday, which is 5 weekdays and 2 weekend days, and the second Monday is excluded. If you expected 6 weekdays because you counted both Mondays, turn on Include End Date and the count will match.

How do I get the number of nights for a booking?

Use the default exclusive mode with check-in as the start and check-out as the end. The calendar day total is the number of nights, because the check-out day is not counted. A stay from Saturday 17 October to Monday 19 October 2026 returns 2 days, which is two nights, both weekend nights in the breakdown.

Is the years and months figure safe to use for an age or a tenure?

For most dates, yes, since it steps through calendar months from the start date. Two cases need care. Starting on 29 February or on the 31st of a month, the tool clamps to the last day of shorter months. In inclusive mode the extra day goes into the day part and is not rolled up, which can show 11 months and 31 days.

How many weekdays are lost if I add five holidays to the default?

Exactly five. Net business days drop by five from 207 while the weekday and weekend counts do not change, because the holiday figure is a straight subtraction. The tool trusts the number you enter; it does not check that those holidays fall on weekdays or within the interval, so the accuracy of the net figure depends on your list.

Why does the weeks line not match the number of calendar weeks I see?

The weeks line divides the total days by seven and shows the remainder, so 289 days becomes 41 weeks and 2 days. It does not count how many Monday to Sunday weeks the period touches. A span from a Friday to the following Tuesday is under one week by this measure, though it touches two calendar weeks on a planner.

Reading the default span of 289 days

Out of the box the tool measures from Thursday 1 January to Saturday 17 October 2026, with the end date excluded and no holidays entered. It answers 0y 9m 16d, which is 289 calendar days, and breaks those days into 207 weekdays and 82 weekend days. The weeks line reads 41 wks, 2 days.

Each of those figures can be checked with a pencil. Add up the month lengths from January to September 2026, add the first 16 days of October, and you reach 289 days exactly. Forty-one full weeks take up all but 2 of them. Every full week contains five weekdays, so the 41 weeks supply five times 41, and the 2 leftover days fall on Thursday 15 and Friday 16 October, which adds 2 more. That is where 207 comes from. The remaining 82 are Saturdays and Sundays.

Notice that 17 October itself is not in any of the counts. The default treats the interval as starting at the beginning of the first date and stopping at the beginning of the second. That is the same convention most people use without thinking when they say a hotel stay from the 1st to the 4th is three nights.

Exclusive or inclusive: one switch, one extra day

The Include End Date switch adds exactly one day to the calendar total and nothing else changes in the logic. Flip it on with the default dates and the total becomes one day longer, the weeks line moves from 2 leftover days to 3, and the extra day lands in whichever bucket the end date belongs to. Because 17 October 2026 is a Saturday, the weekday count stays at 207 and the weekend count goes up by one.

Pick the setting by asking what the count is for. A notice period, a rental or a loan term usually runs from one date up to another, so exclusive is natural. A list of days someone actually worked, or the number of days an event ran, usually includes both the first and last day, so inclusive is the honest choice. A one-day event shows the difference clearly: the same start and end date returns 0 days in exclusive mode and 1 day in inclusive mode.

If a contract, a form or an employer defines how to count, follow its wording rather than either setting here. Some rules count from the day after an event, which is a third convention the switch does not model. In that case move the start date forward by one day yourself.

How years, months and days are counted at month ends

The years/months/days line steps forward one calendar month at a time from the start date, then counts the leftover days. From 15 January to 14 March 2026 it reports 0y 1m 27d: one month takes you to 15 February, and 27 more days reach 14 March. That matches how a person would count on a wall calendar.

Month ends are where calculators disagree, and this one clamps to the last day of a short month. From 31 January to 28 February 2026 it says 1m 0d, because there is no 31 February and the last day of February is treated as the one-month mark. Run 31 January to 1 March and it says 1m 1d, which is 29 days. From 31 March to 30 April it also says exactly one month, even though that is only 30 days.

The consequence is that a month is not a fixed number of days in the breakdown. From 30 March to 30 April is one month and 31 days, while 31 March to 1 May is one month and one day, also 31 days long. Both answers are reasonable, and both have the same day total. When the exact number of days matters, read the Total Calendar Days line, not the months figure.

Leap years and the 29th of February

Because the engine counts real calendar days from UTC midnight to UTC midnight, leap days are handled automatically. From 28 February to 1 March in a leap year it returns 2 days, both weekdays when they fall midweek. The same dates in 2026, a common year, return just 1 day.

A start date of 29 February raises the usual anniversary question. Measuring from 29 February to 28 February of the following year, the tool reports exactly 1y 0m 0d, using the same clamp it applies to 31 January. Some people would call that one day short of a year, and for legal birthdays the rule varies by country. The day total is unambiguous either way, so quote it when a dispute is possible.

There is no daylight saving error to worry about either. Every date is placed at 00:00 UTC before subtraction, so a span that crosses a clock change in March or October still counts whole days of 86,400,000 milliseconds each.

Weekdays, weekends and the start-date rule

The weekday and weekend counts walk through every date in the interval and sort each one by day of the week. In exclusive mode the walk includes the start date and stops before the end date. That has a practical effect. From Monday 2 November to Saturday 7 November 2026 the tool counts 5 days and all 5 are weekdays, Monday through Friday, because Saturday is the end date and is left out.

Turn that around and start on a weekend. From Saturday 17 October to Monday 19 October the result is 2 days, both weekend days, and 0 weekdays. The Monday is not counted because it is the end date. If you are counting working days until a Monday deadline and want that Monday included, switch on inclusive mode.

Weekends here always mean Saturday and Sunday. A business that works Sunday to Thursday, or a shift pattern with a midweek rest day, will not be described correctly by the weekday line. For those cases use the total calendar days and the weeks line, and do the working-day arithmetic for your own pattern.

Subtracting public holidays from 207 weekdays

The holiday box takes a plain number and subtracts it from the weekday count to give net business days. Enter 5 with the default dates and net business days fall by exactly 5 from 207 while the weekday and weekend figures stay put. The interpretation sentence shows both, so you can see the gross weekdays and the net figure side by side.

Count only holidays that land on a weekday inside the interval. A public holiday that falls on a Sunday does not remove a working day unless your employer moves it to the Monday, in which case count the Monday. Holidays outside the date range should not be entered at all, and a holiday on the excluded end date is not in the count either.

The tool will not let the net figure go below zero. Over 1 to 10 January 2026, which has 7 weekdays, entering 50 holidays gives 0 net business days rather than a negative number. That guard stops a typo from producing nonsense, but it also means an inflated holiday count can silently swallow the whole period, so glance at the weekday figure before trusting the net one.

Reversed dates and same-day intervals

Entering the dates the wrong way round does not produce a negative answer. With the start set to 17 October and the end to 1 January 2026, the tool still reports 289 days and 207 weekdays. The interpretation sentence keeps the dates in the order you typed them, which is a quick way to spot that you swapped the fields.

This is convenient for a plain how-long-between question, but it hides direction. If you are working out whether a deadline has passed, the calculator will not tell you; it only gives the size of the gap. Check which date is later yourself.

Identical start and end dates return 0 days in exclusive mode, with 0 weekdays and 0 weekends. That is correct under the half-open convention, and it is the quickest test that you have set the switch the way you meant.

Where the months figure and the day total disagree

In inclusive mode the extra day is simply added to the day part of the years/months/days line. It is not rolled up into a month or a year. From 1 January to 31 December 2026 inclusive, the breakdown reads 0y 11m 31d rather than one full year, and 1 to 31 January inclusive reads 0m 31d rather than one month. The page notes this behaviour, and the day totals in both cases are right.

So for any inclusive count that runs to the last day of a month, rely on the Total Calendar Days and weeks lines. If you need a tidy years-and-months phrase for a letter or a form, run the same dates in exclusive mode with the end date moved forward by one day. From 1 January 2026 to 1 January the next year, exclusive, the breakdown shows 1y 0m 0d.

Two smaller display points. The engine prints counts such as 1 days without switching to the singular, and the weeks line is a straight division of the total by seven, not a count of calendar weeks Monday to Sunday. Neither affects the arithmetic.

Days Between Dates & Business Days Calculator: how to use the result

Choose the right inputs

Choose the two calendar dates, then decide whether to include the final date. Enter only holidays that fall on counted weekdays; weekend holidays are already excluded from business days.

Understand the calculation

The standard interval includes the earlier date and excludes the later one. Inclusive mode counts both. Weekdays mean Monday through Friday, and the holiday count is subtracted from those weekdays. Reversed dates produce a positive interval.

Worked examples you can check

How many business days are in 5–12 October 2026?

5 business days before holidays, excluding 12 October

Calculation: 7 calendar days = 5 weekdays + 2 weekend days

Including 12 October adds Monday: 8 calendar days and 6 weekdays. One counted weekday holiday reduces business days by one.

Check the limits

This is not a jurisdiction-specific deadline or holiday calendar. The tool does not look up holidays or employer schedules. The years/months/days display adds the inclusive day to its day component; use total calendar days when an exact day count is required.

Continue with a related calculation

Content updated 25 October 2026. Calculation methodology · Report a problem