Weeks Between Dates Calculator

Calculate the number of weeks between two dates.

🧮

Enter your values and click Calculate

The weeks between dates calculator finds the exact number of complete weeks — and any remaining days — between any two calendar dates. Enter your start and end dates using separate year, month, and day fields to get whole weeks, leftover days, total days, and an approximate month count. This is useful for pregnancy tracking (gestational weeks from LMP), training plan scheduling, project timelines, event countdowns, subscription billing periods, lease durations, and any situation where measuring time in weeks gives more useful precision than months or years. Unlike a month-based counter, a week count is unambiguous — weeks are always exactly 7 days, so 12 weeks always means 84 days. This makes the calculator especially reliable for medical and fitness contexts where precise duration matters and calendar month variation could cause confusion. The result also includes a total day count and an approximate month figure, giving you multiple ways to communicate the same elapsed time depending on whether your audience or application prefers days, weeks, or months.

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.

Examples

12-week training plan: Jan 1 to Mar 25
Confirming the duration of a fitness or study program.
Result: 12 weeks and 3 days, 85 total days.
Pregnancy: 40 weeks from Jan 1
Counting gestational weeks from a known start date to an estimated due date.
Result: 40 weeks exactly, 280 days.
6-month subscription: March 1 to September 1
Checking how many weeks are in a 6-month subscription or lease.
Result: 26 weeks and 1 day, 184 total days.

Frequently Asked Questions

How many weeks are in a year?
A standard calendar year has exactly 52 weeks and 1 day (365 days ÷ 7 = 52.143 weeks). A leap year has 52 weeks and 2 days. This is why the day of the week shifts by one each year (or two after a leap year).
How do I count weeks of pregnancy?
Pregnancy is typically measured from the first day of your last menstrual period (LMP), not from conception. Enter your LMP as the start date and today's date or your estimated due date as the end date. A full-term pregnancy is 40 weeks from LMP.
What is the difference between 4 weeks and 1 month?
4 weeks is exactly 28 days. One calendar month averages 30.4375 days, so it is slightly longer than 4 weeks. This means 12 months is not the same as 48 weeks — there are approximately 52.18 weeks in a year. For precise durations, counting in weeks is more accurate than counting in months.

Related Calculators