Weeks Between Dates Calculator
Find the number of weeks between two dates. Shows precise weeks, full weeks + remaining days, and total days. Optional inclusive counting.
Weeks Between Dates Calculator tool
Inclusive adds 1 day to the span when both dates are provided (useful for “how many days including both dates?”).
Privacy: runs locally in your browser. No inputs are stored or transmitted.
The calculator converts each date to local midnight and computes the day difference. Then:
Precise weeks = days ÷ 7
Full weeks = floor(|days| ÷ 7), Remaining days = |days| mod 7 (sign preserved separately)
Examples
- 2026-01-01 → 2026-01-15 = 14 days = 2.0000 weeks
- 2026-01-01 → 2026-02-01 = 31 days ≈ 4.4286 weeks
- Inclusive example: 2026-01-01 → 2026-01-01 = 1 day (inclusive), 0 days (non-inclusive)
FAQ
- How is “weeks between” calculated?
This tool computes the difference between two calendar dates at midnight (local time), then converts the day difference into weeks. It shows both precise weeks (days ÷ 7) and full weeks with remaining days.
- Does it include the start date or end date?
By default it measures the time span from the start date to the end date (exclusive of the start instant). If you enable “inclusive,” it counts both endpoints by adding 1 day to the span.
- What if the end date is before the start date?
The tool still works and will show a negative difference. You can swap dates with one click.
- Why can results differ around daylight saving time?
Daylight saving transitions can affect hour-based differences. This calculator uses date-only arithmetic at local midnight to avoid DST hour drift for most cases.
- Is any data stored?
No. Everything runs locally in your browser. Inputs are not stored or transmitted.