Weeks Between Dates Calculator
Calculate the number of weeks between two dates.
Enter your values and click Calculate
How It Works
The calculator converts both dates to JavaScript Date objects and subtracts them to get total milliseconds, which is divided by 86,400,000 (milliseconds per day) and rounded to get total days. Weeks are found by dividing total days by 7. The whole number of weeks is the floor of that result; the remainder (total days modulo 7) gives the leftover days beyond the last complete week. For example, 85 total days ÷ 7 = 12 whole weeks with 1 remaining day. Approximate months divide total days by 30.4375, the average calendar month length (365.25 ÷ 12), which accounts for leap years over time. Because this calculator uses raw day counts rather than calendar month arithmetic, it avoids the ambiguity caused by months of unequal length and produces consistent, reproducible results regardless of which months fall within the span.