Everyday calculator

Free days between dates calculator

Count the exact number of days from one calendar date to another — for deadlines, due dates, countdowns, contract terms, and anniversaries. Enter a start date and an end date and the day count is updated live, as you type.

InputsLive
Mode
Date 1 (start date)
Date 2 (end date)
Result
Days between
0 days
0 work days · 0 yr 0 mo 0 days
Total days0
Work days0
Years0
Months0

Date calculations use calendar days. Working days exclude weekends but not public holidays unless noted.

Results are estimates. Consult a professional.

Overview

What the days between dates calculator does

The days between dates calculator counts the number of whole days from one calendar date to another. Enter a start date and an end date and it returns the exact day count — useful for deadlines, due dates, countdowns, contract terms, anniversaries, and answering "how many days between two dates?" without counting on a calendar.

The count is the plain difference between the two dates: the calculator subtracts the start from the end and reports the result in days. It works in either direction — swap the dates and you get the same positive number — and the maths runs instantly in your browser as you change either field.

The earlier (or first) date you enter. The count begins here.
The later (or second) date. The count runs up to this date.
The number of whole days separating the two dates — the end date minus the start date.
Counts the gap between the dates without counting the final day. This calculator uses the exclusive count.
Counts both the start and end dates, so it is the exclusive count plus one.
The method

How to calculate the days between two dates

Finding the days between two dates is simple subtraction once both dates are on the same scale. The calculator does it in three steps:

  1. Convert each date to a day number. Internally the tool measures each date as a count of days from a fixed reference point, which removes the month-length and leap-year guesswork.
  2. Subtract the start from the end. End-date day number minus start-date day number gives the raw difference.
  3. Take the whole-day result. The difference is reported as a whole number of days; because it is an absolute value, the order you enter the dates in does not change the answer.
days between = | end date start date |
1 Jan 2026 → 1 Jan 2027 = 365 days (2026 is not a leap year)
1 Mar 2024 → 15 Mar 2024 = 14 days

Counting by hand is error-prone because months have 28, 29, 30, or 31 days and leap years add a 29 February. Letting the calculator work in raw day numbers sidesteps all of that, so a span that crosses several months — or a whole year — is just as easy to count as a few days.

Worked example

A worked example: days between the first and last day of 2026

Example: 1 January 2026 to 31 December 2026

These are the calculator's default dates, so you can check the result the moment the page loads. Maya wants to know how many days separate the first and last day of 2026.

Step 1 — Enter the two dates

Start date 2026-01-01, end date 2026-12-31. The order does not matter — entering them the other way around gives the same answer.

Step 2 — Subtract start from end

The calculator takes the difference between the two dates. From 1 January to 31 December is one day short of a full year, because 31 December is the day before the next 1 January.

Step 3 — Read the result

The calculator shows 364 days. That is 365 (the length of 2026, which is not a leap year) minus 1, because the exclusive count does not include the final day. If you wanted to count both 1 January and 31 December as days in your span, you would add 1 to get 365.

364 days
From 2026-01-01 to 2026-12-31 is 364 days (exclusive). Add 1 for an inclusive total of 365 — and note 2026 is not a leap year, so the full year is 365 days, not 366.
The key distinction

Inclusive vs exclusive: why answers can differ by one

The single most common source of confusion in date counting is whether the end date itself is counted. There are two conventions, and they always differ by exactly one day.

  • Exclusive counts the gap between the dates and does not count the end day. "From the 1st to the 3rd" is 2 days. This calculator uses the exclusive count.
  • Inclusive counts both the start and the end day. "From the 1st through the 3rd" is 3 days. To get this, add 1 to the calculator's result.
exclusive days = end start (what this calculator shows)
inclusive days = end start + 1 (both endpoints counted)
1 Jan → 3 Jan: exclusive = 2, inclusive = 3
same start and end date: exclusive = 0, inclusive = 1
Use the exclusive count for elapsed time and gaps — how many days until a deadline, how long since an event. Use inclusive counting when both endpoints are active days you are paying for or attending, such as a hotel stay or a multi-day event. When in doubt, state which convention you mean.
Conversions

Turning days into weeks, months, and years

This calculator reports the span in days. To express the same gap in weeks, months, or years, convert the day count — or use a calendar-aware tool for an exact years-months-days breakdown.

  • Weeks: divide the day count by 7. 364 days ÷ 7 = exactly 52 weeks; 14 days = 2 weeks.
  • Months: divide by an average month length of about 30.44 days for a rough figure — but calendar months vary from 28 to 31 days, so this is an estimate.
  • Years: divide by 365.25 (the long-run average year length including leap years) for an approximate value.

Because months and years are uneven, dividing days only approximates them. For an exact "X years, Y months, Z days" answer that respects real month lengths and leap days, use the date calculator. To count only Monday–Friday and skip weekends, use the working days between dates calculator.

Reference

Common date spans at a glance

The table below shows the exclusive day count (what this calculator returns) for some common spans, alongside the inclusive count and the equivalent in weeks. Leap years are noted because they add a day to any span that crosses 29 February.

FromToExclusive daysInclusive daysWeeks
2024-03-012024-03-1514152.0
2026-01-012026-12-3136436552.0
2026-01-012027-01-0136536652.1
2024-01-012024-12-3136536652.1
2024-01-012025-01-0136636752.3
2025-12-202026-01-1021223.0

Exclusive days are the calculator's output; inclusive adds 1. 2024 is a leap year, so 1 Jan 2024 → 1 Jan 2025 spans 366 days; 2026 is not, so the equivalent 2026 span is 365.

Quick answers

Common days-between-dates questions

Does the calculator count the start and end day?

It counts the gap between the dates without counting the end day — the exclusive convention. From 1 January to 3 January it returns 2 days. If you want both endpoints counted (an inclusive total of 3), add 1 to the result.

Does it matter which date I put first?

No. The calculator reports the absolute difference, so swapping the start and end dates gives the same positive number of days. You never get a negative result.

How do I get the number of weeks between two dates?

Divide the day count by 7. For example, 364 days is exactly 52 weeks, and 21 days is 3 weeks. For an exact years-months-days breakdown instead, use the date calculator.

Methodology

How this calculator works and sources

This days between dates calculator converts each date to an internal day number, subtracts the start from the end, and reports the absolute whole-day difference — the exclusive count. The maths runs entirely in your browser, nothing is sent anywhere, and the inclusive-vs-exclusive convention and weeks/months/years conversions below follow the same definitions used by the major duration calculators.

timeanddate.com — Date Duration Calculator (days, weeks, months, and years between two dates).calculator.net — Date Calculator (number of years, months, weeks, and days between dates).GigaCalculator — Days Between Dates Calculator (day count with weeks, months, and years output).
Questions

Frequently asked questions about the free days between dates calculator

A days between dates calculator is a free online tool that helps you calculate days between two calendar dates. Absolute difference in days. It runs entirely in your browser with instant results and no sign-up.
It counts the gap between the dates without counting the end day — the exclusive convention. From 1 January to 3 January it returns 2 days. If you want both endpoints counted (an inclusive total of 3), add 1 to the result.
No. The calculator reports the absolute difference, so swapping the start and end dates gives the same positive number of days. The result is never negative.
Divide the day count by 7. For example, 364 days is exactly 52 weeks and 21 days is 3 weeks. For an exact years-months-days breakdown instead, use the date calculator.
Yes. It subtracts internal day numbers rather than counting months by hand, so any span that crosses 29 February automatically includes the extra leap day. For example, 1 January 2024 to 1 January 2025 is 366 days because 2024 is a leap year.
Exclusive counts the gap and does not count the end day; inclusive counts both the start and end day, so it is always one more. This calculator returns the exclusive count, so add 1 if you need both endpoints (such as a hotel stay or multi-day event).
About

About this days between dates calculator

This days between dates calculator runs entirely in your browser — your dates are never sent to a server. It converts each date to an internal day number, subtracts the start from the end, and reports the absolute whole-day difference, so the order you enter the dates in never changes the answer.

Browse more date and time tools on the everyday calculators shelf, or see the full calculator directory for finance, health, math, and more.

Want a calculator built for your business?

Customize any of our 400+ tools to match your brand, or commission a new one tailored to how your business actually calculates — pricing, payroll, quotes, anything. Deployed on your domain, math runs in your visitors' browsers.