Weeks Between Dates Calculator
Calculate weeks between dates with calendar-date arithmetic.
Loading calculator…
What this tool does
Calculate weeks between dates with calendar-date arithmetic. Start excluded, end included in elapsed difference; age gap years use mean Gregorian year length.
How to use the Weeks Between Dates Calculator
- Enter or select start date (yyyy-mm-dd).
- Enter or select end date (yyyy-mm-dd).
- Read the calculated result; change any measurement to compare alternatives.
Formula
elapsed days=(end UTC midnight−start UTC midnight)/86400000; weeks=days/7; approximate years=absolute days/365.2425
- start
- Start date (YYYY-MM-DD)
- end
- End date (YYYY-MM-DD)
Start excluded, end included in elapsed difference; age gap years use mean Gregorian year length.
Worked example
For weeks between dates calculator, the following measurements illustrate the exact method: Start date (YYYY-MM-DD): 2026-01-01; End date (YYYY-MM-DD): 2026-02-01.
Inputs
- Start date (YYYY-MM-DD)2026-01-01
- End date (YYYY-MM-DD)2026-02-01
Result
- Weeks between dates4.43
- Elapsed days31
Results explained
- Weeks between dates
- Weeks between dates from the formula above. Start excluded, end included in elapsed difference; age gap years use mean Gregorian year length.
- Elapsed days
- Elapsed days from the formula above. Start excluded, end included in elapsed difference; age gap years use mean Gregorian year length.
Frequently asked questions
elapsed days=(end UTC midnight−start UTC midnight)/86400000; weeks=days/7; approximate years=absolute days/365.2425
Start excluded, end included in elapsed difference; age gap years use mean Gregorian year length.
Yes. Valid calendar dates use Gregorian leap-year rules.
Date-only calculations use UTC calendar days to avoid daylight-saving shifts. Clock-time durations use the provided elapsed clock times, not a timezone database.
Check the date format, direction, whether endpoints are included, and whether holidays need to be excluded.