CanDoYa
EN

Days Between Dates Calculator

Runs entirely in your browser - no upload, no sign-up.

Dates

Off counts the days between the dates (a date to the next day is 1 day). On counts both endpoints, so Monday to Friday is 5 days.

Days between365
Or in years, months, and days1 year
52Weeks
261Business days
104Weekend days
8,760Hours
InterpretationFrom Thu, Jan 1, 2026 to Fri, Jan 1, 2027 is 365 days.
Share this tool

How do you calculate the number of days between two dates?

To find the number of days between two dates, subtract the earlier date from the later one. This calculator does it instantly: enter a start and end date and it shows the exact days between them, plus a years, months, and days breakdown. Turn on include end date to count both endpoints.

How to use

  1. 1Enter the start date. Pick the first (earlier) date. If you enter the dates backwards, the tool swaps them and still counts correctly.
  2. 2Enter the end date. Pick the second date. The number of days between them updates instantly as you type.
  3. 3Choose how to count. Leave include end date off for the duration between the dates, or turn it on to count both endpoints.
  4. 4Read the result. See the total days, a years, months, and days breakdown, plus weeks, business days, weekend days, and hours.

Who it's for

By default the count is the duration between the two dates, so a date to the next day is 1 day and a date to itself is 0 days - the reading used for age and elapsed time. Switch on include end date and both endpoints are counted, so Monday to Friday of the same week is 5 days, which is how deadlines and notice periods are usually read. Everything runs locally in your browser using UTC date math, so leap years and daylight-saving changes never cause an off-by-one, and nothing is uploaded.

FAQ

Does this count the start and end date?

By default it counts the days between the two dates, so the end date is not included - a date to the next day is 1 day. Turn on include end date to count both endpoints, which makes Monday to Friday 5 days instead of 4.

How many days are between two dates that are the same?

Zero, by default, because no time has elapsed. If you turn on include end date, the same date counts as 1 day, since the span touches one calendar day.

Does it handle leap years correctly?

Yes. The count is done on UTC calendar days, so February 29 in a leap year is counted like any other day and the total is always exact, with no off-by-one from daylight-saving changes.

What if my end date is before my start date?

The tool swaps the two dates, counts the days between them, and shows a small note that the dates were swapped, so you always get a correct, non-negative number of days.

What is the difference from a business days calculator?

This counts every calendar day, including weekends. A business days calculator counts only working days and lets you skip weekends and holidays. This tool still shows a business-days figure as a secondary stat, but the headline is the total calendar days.

Is my data uploaded anywhere?

No. Every calculation runs locally in your browser. The dates you enter never leave your device, there is no sign-up, and the tool works instantly on desktop and mobile.