Weeks between two dates
This tool counts how many weeks separate any two dates, reporting the span three ways: as full weeks plus leftover days, as an exact decimal-week figure, and as a total day count. It is handy for pregnancy tracking, project timelines, notice periods, leave calculations, and counting down to a deadline.
How it works
Both dates are floored to local midnight, so the result never wobbles with the time of day. The tool then takes the absolute difference in days and divides by 7:
total days ÷ 7 = decimal weeks
The whole-number part is the count of full weeks, and the remainder is the leftover days. Because it uses the absolute difference, the order you enter the dates in does not matter — the answer is always positive.
Example
From 1 January 2026 to 15 February 2026 is 45 days. Dividing by 7 gives 6 weeks and 3 days (6 × 7 = 42, with 3 days left over), or 6.43 weeks as a decimal.
It is privacy-first: both dates stay in your browser and are never sent anywhere.