How to use Days Between Dates Calculator
The days between dates calculator counts exactly how many days separate two dates. Pick a start date and an end date and it returns the total number of days, plus a breakdown into weeks and days. An optional inclusive setting counts both the first and last day when you need the length of a span rather than the gap between two points. The order of the dates does not matter — it always returns a positive count — and everything is worked out in your browser, so the dates you pick are never uploaded.
- Pick the start date.
- Pick the end date.
- Optionally enable counting both days.
- Read the total days and the weeks-and-days breakdown.
Your data never leaves your device — 100% private processing.
Inclusive versus exclusive counting
There are two natural ways to count days, and choosing the right one avoids off-by-one mistakes. Exclusive counting measures the gap between two dates: from the 1st to the 8th is 7 days, because you count the steps between them. Inclusive counting measures the length of a span: those same dates cover 8 days if you count both the 1st and the 8th themselves. Which you want depends on the question. “How many days until my flight?” is exclusive; “how many days is my hotel booking?” is inclusive, because you occupy both the check-in and the days in between. This calculator offers both so you can match the count to what you are actually measuring.
Weeks and days breakdown
A raw day count is precise but not always easy to picture, so the calculator also splits it into weeks and leftover days. Forty days, for example, is five weeks and five days, which is often easier to reason about for planning schedules, pay periods, or notice periods that run in weeks. The breakdown is a simple division: the number of whole weeks is the total divided by seven, and the remainder is the extra days. Because it is derived from the same exact day count, it stays perfectly consistent with the total — useful when you need to communicate a duration to someone in more human terms than a single large number.
Worked examples
One week
Inputs: 2026-01-01 → 2026-01-08
Result: 7 days
Inclusive
Inputs: same dates, both counted
Result: 8 days
Leap day
Inputs: 2024-02-28 → 2024-03-01
Result: 2 days
Glossary
- Inclusive count
- A day count that includes both the start and end dates.
- Exclusive count
- A day count of the gap between two dates, not counting one end.
- Leap year
- A year with an extra day, 29 February, added roughly every four years.
- UTC
- Coordinated Universal Time, used here so time zones don’t shift the day count.
Related reading
Frequently Asked Questions
Why use Days Between Dates Calculator?
- Counts the exact number of days between two dates
- Breaks the result into weeks and days
- Optional inclusive count for spans that include both ends
- Order-independent and fully private in your browser
Common use cases
- Count down the days until a deadline or event
- Work out how long ago something happened
- Measure the length of a trip, project, or billing period
- Check someone’s age in days or a contract term
Get weekly tool tips & updates
New tools, power-user tips, and productivity hacks — delivered free every Friday.
No spam, ever. Unsubscribe with one click.
Related Date & Time
Add / Subtract Days from Date
Add or subtract days, weeks, months, and years from any date. Find a future or past date instantly. Free online date arithmetic calculator.
Business Days Calculator
Count business days (working days) between two dates or add business days to a date. Excludes weekends and optional public holidays.
Countdown Timer
Create countdown timers to any event. See days, hours, minutes, and seconds remaining. Save multiple countdowns and share them. Free online countdown timer.
Day of the Week Calculator
Find out what day of the week any date falls on, in the past or future, with instant weekday lookup for birthdays, planning, and historical dates.
Date Difference Calculator
Calculate the exact number of days, weeks, months, and years between two dates. Includes a working-days count — free, instant, and accurate.
Time Zone Converter
Convert time across global time zones with UTC offsets, daylight-saving awareness, and side-by-side city comparisons for accurate meeting planning.
Explore all Date & Time.