Skip to content
Techliphant TechnologiesTechliphant Technologies
Free tool

Free Days Between Dates Calculator

Count the days from one date to another, with working days and weekends split out and a clear choice about whether the end date counts. Or start from a date and add or subtract days, weeks, months and years. It runs entirely in your browser.

Difference, or add and subtractWorking days and weekendsFree, no sign-upRuns privately in your browser
Enter the dates

Off, Monday to Friday is 4 days, the gap between the dates. On, it is 5 days, the way rental days, ticket validity and most deadlines are counted. One toggle, and the classic off-by-one argument is settled.

Pick a start and an end date to count the days between them.

Handy for deadlines, notice periods, project plans and countdowns. When a contract defines how days are counted, follow the contract.

How it works

Two dates to a full breakdown in four steps.

Pick the dates, decide whether the end date counts, and read the result. Everything updates live.

1

Pick a mode

Count the days between two dates, or start from one date and add or subtract days, weeks, months or years.

2

Enter the dates

Use the date pickers for the start and end. The second date starts thirty days out so you see a live example straight away.

3

Decide about the end date

By default the count is the days from one date to the other, not counting the end date itself. Turn the toggle on to count it, the way deadlines and rental days usually work.

4

Read the breakdown

See the total days, the working days and weekends inside the span, the same span in years, months and days, and the count in weeks, hours and minutes. Copy it all in one tap.

What it does

Day counts with no off-by-one surprises.

Whether the last day counts, how long a month is, what lands on a weekend. These are exactly the details people argue about, so the calculator makes each one explicit.

Inclusive or exclusive, made explicit

The single biggest source of off-by-one mistakes is whether the last day counts. The toggle makes the choice visible, and the result says which way it was counted so nobody has to guess.

Working days and weekends, split out

The span is broken into Monday to Friday days and weekend days, which is usually the number a deadline or a notice period actually turns on. Public holidays vary by country, so they are not subtracted, and the tool says so.

Calendar-true months and years

The years, months and days breakdown walks the real calendar, so a month is 28, 29, 30 or 31 days depending on where it falls, and leap years are handled properly.

Add or subtract with sensible month ends

Adding a month to 31 January lands on the last day of February, not a made-up date. The result comes back with its weekday, so you can see at once if a due date falls on a weekend.

For teams

Date logic is where software quietly breaks.

Billing cycles, SLAs, booking windows, notice periods and payroll cut-offs all turn on the rules this calculator demonstrates, and off-by-one day bugs in them cost real money. Building business software that gets dates, deadlines and schedules right is part of the web and product development we do at Techliphant.

Working out an age instead? Try the age calculator.

Date counting FAQs

Common questions.

It subtracts one calendar date from the other, so Monday to Friday of the same week is 4 days. That is the elapsed time between them, the same answer a spreadsheet gives when you subtract two dates. If you want the end date itself counted as a day, turn on the include-the-end-date toggle and the same span becomes 5 days.

It depends what the days represent. Nights in a hotel, interest periods and ages count elapsed days, so leave the toggle off. Rental days, ticket validity, notice periods and most deadlines count both ends, so turn it on. When a contract or a rule matters, check how it defines the count, because the difference is exactly one day and that day is where disputes live.

Monday to Friday. The calculator splits every day in the span into working days and weekend days, using the start date and your end-date choice to decide which days are in the span. It does not subtract public holidays, because those differ by country, state and even city, and silently guessing them would give you a confidently wrong number.

Close. NETWORKDAYS in Excel and Google Sheets counts working days including both the start and the end date, so to match it, turn on the include-the-end-date toggle. NETWORKDAYS can also take a holiday list, which this tool deliberately does not, so subtract any holidays that apply to you from the working day count.

By walking the actual calendar. The calculator counts how many whole calendar months fit between the two dates, stepping month by month from the start date, and whatever is left over becomes the days. So the breakdown respects that months are 28 to 31 days long, rather than pretending every month is 30 days.

You get the last day of February, the 28th, or the 29th in a leap year. There is no 31 February, so the calculator clamps to the end of the target month instead of spilling into March. The same rule applies to adding years, so 29 February plus one year lands on 28 February.

Yes. All the arithmetic runs on the real calendar, so February has 29 days in 2024 and 2028, and century years like 2100 are correctly not leap years. A span that crosses 29 February is one day longer than the same span in an ordinary year, and the totals reflect that.

The calculator still works. It counts the size of the gap and notes that the second date is earlier, rather than showing a negative number or an error. There is also a swap button if you would rather flip the two dates around.

Because the calculator works on whole calendar dates, midnight to midnight, so hours are simply the days times 24. It does not deal in times of day or time zones, and it ignores daylight saving changes, which only matter when you care about clock time rather than calendar days.

Yes, that is the default setup. The start date is set to today when the page loads, so entering any future date as the end immediately shows how many days away it is, along with how many of those are working days.

No. The dates and every calculation stay in your browser. Nothing is sent to a server or stored, so you can use it for anything from a project deadline to a legal notice period without the dates going anywhere.

Yes. Billing cycles, SLAs, booking windows, notice periods and payroll cut-offs all hinge on exactly the rules this tool demonstrates, and they are a classic source of production bugs. Building business software that gets dates, deadlines and schedules right is part of the web and product development we do at Techliphant.

Private by design: this calculator runs entirely in your browser, so the dates you enter are never sent anywhere or stored. It is provided free for quick counts and everyday planning.

Ready when you are

Let's build something exceptional.

Tell us about your business, your stack, and the problem you are trying to solve. We respond with a clear next step usually a 30-minute discovery call, no fluff.

Free Days Between Dates Calculator · Techliphant