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.
On this page12 sections
Date calculations use calendar days. Working days exclude weekends but not public holidays unless noted.
Results are estimates. Consult a professional.
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.
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:
- 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.
- Subtract the start from the end. End-date day number minus start-date day number gives the raw difference.
- 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.
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.
A worked example: days between the first and last day of 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.
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.
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.
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.
| From | To | Exclusive days | Inclusive days | Weeks |
|---|---|---|---|---|
| 2024-03-01 | 2024-03-15 | 14 | 15 | 2.0 |
| 2026-01-01 | 2026-12-31 | 364 | 365 | 52.0 |
| 2026-01-01 | 2027-01-01 | 365 | 366 | 52.1 |
| 2024-01-01 | 2024-12-31 | 365 | 366 | 52.1 |
| 2024-01-01 | 2025-01-01 | 366 | 367 | 52.3 |
| 2025-12-20 | 2026-01-10 | 21 | 22 | 3.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.
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.
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).Frequently asked questions about the free days between dates calculator
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.