PublicSoftTools
Tools6 min read

Days Between Dates Calculator: Complete Guide

Calculating the days between two dates sounds simple — but get it wrong and you miss a payment deadline, overstay a visa, or miscalculate a project timeline. This guide explains how to calculate days between dates accurately, covers the difference between calendar days and business days, and walks through the most common real-world situations where getting the count right actually matters.

Calendar Days vs Business Days: Understanding the Difference

The most important distinction in any date calculation is whether you are counting calendar days or business days. Calendar days include every day of the week — Monday through Sunday. Business days count only Monday to Friday, excluding weekends. The difference is substantial: a 10-calendar-day window contains only 6–8 business days depending on where the period falls in the week.

Most legal and contractual obligations specify calendar days unless they explicitly say "working days" or "business days." Most project timelines and delivery commitments use business days, because weekends represent days when no work happens. Using the wrong type can mean missing a deadline by an entire weekend or more.

The Days Between Dates Calculator shows both simultaneously — total calendar days and business days — so you always have both figures without doing a separate calculation.

How to Calculate Days Between Two Dates

The Basic Method

The simplest date difference calculation subtracts the earlier date from the later date to get a count in days. For example: from 1 May to 15 May is 14 days. From 1 January to 1 February is 31 days. From 1 January to 1 March in a non-leap year is 59 days; in a leap year it is 60 days because February has 29 days.

The key edge case is whether to include the start date, the end date, or both. Convention varies by context. For project timelines, it is common to count from the day after the start (day one of work) to the end date inclusive. For rental periods, both the first day and last day are typically counted as full days, which means you add one to the raw difference. The Days Between Dates Calculator returns the raw difference between dates — add one if your use case requires both endpoints to be included.

Counting Business Days Manually

Counting business days manually requires going through each week in the period and counting the weekdays. For short periods this is practical; for anything longer than two weeks, it is error-prone and slow. A 45-day period might span six full weeks and three extra days, and whether those extra days are weekdays depends on where in the calendar the period falls. The calculator handles this precisely for any date range.

Handling Months of Different Lengths

One common source of error in manual calculations is treating months as if they are all 30 days. They are not — February has 28 days (29 in leap years), April, June, September, and November have 30, and the rest have 31. A "three-month" period from 31 January to 30 April is actually 89 days, not 90.

This matters particularly for payment terms, subscription billing, and contract periods that span month-end boundaries. Always use a date calculator rather than multiplying months by 30 for any date calculation where precision is required.

Common Uses and How Days Are Counted in Each

Use CaseDays TypeInclude Both Endpoints?Notes
Invoice payment terms (Net 30)Calendar daysFrom invoice dateStarts day of invoice; due on day 30
Employment notice periodCalendar daysYes, typicallyCheck contract — some specify working days
Project timelineBusiness daysDay 1 = first working dayExcludes weekends; holidays vary
Visa stay durationCalendar daysYes — entry and exit both countRules vary by country; check official guidance
Rental periodCalendar daysYes — first and last day countAdd 1 to raw difference
Delivery SLABusiness daysFrom day after order"3 business day delivery" excludes order day
Probation periodCalendar daysFrom start dateUsually 3 or 6 calendar months, not days
Prescription / medical courseCalendar daysYes — first and last day includedAdd 1 if counting dose days

Payment Terms and Invoice Due Dates

Net 30, Net 60, and Net 90 payment terms mean the invoice is due 30, 60, or 90 calendar days from the invoice date. If you issue an invoice on 5 March with Net 30 terms, payment is due on 4 April (30 days later). If that date falls on a weekend or public holiday, the convention in most jurisdictions is that payment is expected on the next business day — but your contract may specify differently.

Use the Days Between Dates Calculator to verify exact due dates and to check how many business days remain before a payment deadline. When chasing overdue invoices, knowing the precise number of days elapsed since the due date strengthens your communication with the client.

Visa Duration Rules

Many countries allow visitors to stay for a set number of days within a given period — for example, the Schengen area allows 90 days in any 180-day rolling window. Both the day of entry and the day of exit count as full days in Schengen calculations, which surprises many travellers who assume only the nights spent count. This means a trip from Monday to Monday uses 8 days, not 7.

Overstaying a visa by even one day has serious consequences in most jurisdictions: fines, entry bans, and complications with future applications. Use a days calculator to verify your intended trip duration before booking, and keep a printed record of your calculation when travelling.

Note that public holidays and weekends are irrelevant to visa day counts — only calendar days matter, and both entry and exit days typically count. Always verify the specific rules with the official immigration authority for your destination.

Project Planning with Business Days

Realistic project timelines are built in business days, not calendar days. A client who hears "this will take 30 days" may expect delivery in a month; a project manager knows that 30 business days is actually 42 calendar days — six weeks. The gap between the two interpretations is a common source of deadline disagreements.

When quoting timelines to clients, specify whether your estimate is in calendar days or business days. Use the Days Between Dates Calculator to verify how many business days fall between your start date and the proposed delivery date, particularly around holiday periods where the ratio of business days to calendar days changes significantly.

For overall project time tracking, pair the days calculator with the Countdown Timer to track time remaining until key milestones, and the Pomodoro Timer to manage focused work sessions within each working day.

Notice Periods and Employment Law

Employment contracts typically specify notice periods in weeks or calendar months rather than days — but calculating the exact date requires knowing how many days are in the relevant months. A one-month notice period given on 31 January ends on 28 February (or 29 in a leap year), not on 2 March. A notice period that crosses a month boundary requires careful calculation to get the exact end date right.

For employment law purposes, always use calendar days unless the contract explicitly specifies working days. When calculating whether sufficient notice has been given, count from the day after notice is given (not the day it is given) to the last day of employment inclusive — but verify this with the applicable legal standard in your jurisdiction.

Lease and Rental Period Calculations

Rental periods present a specific edge case: both the first day (move-in) and the last day (move-out) are typically billed as full days. The raw date difference between 1 May and 31 May is 30, but a tenant occupying a property from 1 May to 31 May inclusive has 31 days of occupancy. For pro-rata rent calculations, always clarify whether you are counting the difference or the inclusive number of days.

Practical Date Calculation Tips

When checking dates for an age calculation alongside a day count — for example, verifying whether someone was over 18 at a specific past date — use the Age Calculator alongside the days counter. For time-zone-sensitive date calculations — particularly when dealing with international deadlines where a date in one time zone is a different date in another — the Time Zone Converter helps you verify which calendar date applies in each location.

For scheduling recurring events, the Day of Week Finder tells you what day any specific date falls on — useful for checking whether a calculated deadline or meeting date lands on a weekend before you commit to it.

Frequently Asked Questions

What is the difference between 14 calendar days and 14 business days?

14 calendar days is exactly two weeks — 14 days regardless of what day of the week they fall on. 14 business days is 14 Monday-to-Friday days, which spans 18–20 calendar days depending on where the period starts in the week. If a two-week deadline is stated as business days, you have nearly three calendar weeks.

Does the calculator account for public holidays?

No — the calculator counts business days as Monday to Friday only. Public holidays vary by country, region, and year and cannot be automatically excluded without knowing your jurisdiction. Subtract any public holidays within your date range manually from the business days figure if your calculation requires it.

Why does my month calculation look approximate?

The calculator approximates months using an average of 30.4375 days per month — the average across a 400-year Gregorian calendar cycle. Because calendar months vary between 28 and 31 days, the "months" figure is always an approximation. For precise calendar month differences, use the Age Calculator, which counts complete calendar months accurately.

Should I count from the start date or the day after?

This depends entirely on your use case. For "days until" countdowns, count from today and do not include today. For invoice terms (Net 30), count from the invoice date inclusive. For rental periods where both entry and exit are full days, add 1 to the raw difference. When in doubt, check the specific contract, regulation, or convention that governs your situation.

Calculate Days Between Any Two Dates

The Days Between Dates Calculator gives you total days, business days, weeks, hours, and minutes instantly — free, no account required, runs entirely in your browser.

Open Days Between Dates CalculatorFind Day of Week