Weeks Between Dates Calculator — Count Exact Weeks
Calculate the precise number of complete weeks and remaining days between any two dates, with total day count and a full year-month-day breakdown for planning and tracking.
Weeks Between Dates
Total Days
92
Remaining Days
1
Full Duration
3 months, 0 days
How to Use the Weeks Between Dates Calculator
- Enter the start date: Use the start date picker to select your first date. It defaults to approximately 3 months ago, providing an immediate result of about 13 weeks. Navigate the calendar or type the date in YYYY-MM-DD format. The calculator accepts any valid date.
- Enter the end date: Select your second date. It defaults to today. The order of dates does not matter — the calculator always computes the absolute difference between the two dates, so the result is the same regardless of which date you enter first.
- Read the primary result: The large number at the top shows the complete weeks between the two dates. If there are remaining days beyond complete weeks, they appear next to the week count (for example, "13 weeks + 4 days").
- Check the supporting details: Below the main result, you will find the total day count and the full year-month-day duration. The total days equals weeks times 7 plus remaining days. The duration breakdown provides a natural-language representation of the same time span.
This calculator is ideal for sprint planning, pregnancy week tracking, academic semester scheduling, training program design, and any scenario where the weekly unit provides the most useful perspective on a time duration.
Weeks Calculation Formula
Total Days = |Date2 - Date1| / 86,400,000 Complete Weeks = floor(Total Days / 7) Remaining Days = Total Days mod 7 Variables Explained
- Total Days: The absolute number of calendar days between the two dates, computed from the millisecond difference.
- Complete Weeks: The integer quotient when dividing total days by 7. This represents how many full 7-day periods fit between the dates.
- Remaining Days: The remainder when dividing total days by 7. This is always between 0 and 6, representing the leftover days after extracting all complete weeks.
- 86,400,000: Milliseconds in one day (24 * 60 * 60 * 1,000), used to convert the millisecond time difference to days.
Step-by-Step Example
Calculate the weeks between January 6, 2026 (Monday) and April 20, 2026 (Monday):
- January: 31 - 6 = 25 remaining days
- February: 28 days (2026 is not a leap year)
- March: 31 days
- April 1-20: 20 days
- Total: 25 + 28 + 31 + 20 = 104 days
- Complete weeks: floor(104 / 7) = 14 weeks
- Remaining days: 104 mod 7 = 6 days
- Result: 14 weeks and 6 days (or equivalently, 3 months and 14 days)
Practical Examples
Example 1: Tom's Agile Sprint Planning
Tom is a scrum master planning a software project from March 2, 2026 to August 28, 2026. His team runs 2-week sprints and he needs to determine how many sprints fit in the timeline:
- Total days: 179
- Complete weeks: 25 weeks and 4 days
- Number of 2-week sprints: 12 full sprints (24 weeks)
- Remaining time: 1 week and 4 days for buffer and release
Tom plans 12 sprints with a final week-and-a-half buffer for integration testing, bug fixes, and release preparation. He numbers the sprints 1 through 12 and creates a sprint calendar starting every other Monday from March 2. The remaining 11 days serve as a vital safety net for the inevitable scope adjustments. For tracking his team's daily hours, he uses the time card calculator.
Example 2: Jennifer's Pregnancy Progress
Jennifer's last menstrual period was on November 15, 2025. As of February 20, 2026, she wants to know her gestational age in weeks to share with her obstetrician:
- Total days: 97
- Complete weeks: 13 weeks and 6 days
- Medical notation: 13+6 (13 weeks, 6 days)
- Trimester: Late first trimester / early second trimester
At 13 weeks and 6 days, Jennifer is about to enter her second trimester (which begins at week 14). Her doctor uses this precise week count to schedule appropriate screenings — the nuchal translucency scan is typically done between weeks 11 and 14. The remaining days matter clinically, as certain tests have narrow timing windows. For detailed pregnancy milestones, our pregnancy calculator provides trimester-by-trimester guidance.
Example 3: Alex's Training Program
Alex signed up for a marathon on October 11, 2026, and wants to start training on April 6, 2026. Most marathon training plans are structured in 12, 16, or 20-week blocks:
- Total days: 188
- Complete weeks: 26 weeks and 6 days
- Best fit: 20-week plan starting June 1 with 6 weeks of base building beforehand
- Taper week: The last 2-3 weeks before the race for reduced training
With nearly 27 weeks available, Alex has enough time for a comprehensive preparation plan. He chooses a 20-week marathon training plan, uses the first 4 weeks for base fitness building, and has about 3 weeks of buffer for any interruptions from weather, minor injuries, or schedule conflicts. The weekly structure of training plans makes this calculator particularly useful for athletes planning competition preparation.
Weeks Reference Table
| Duration | Weeks | Days | Common Use |
|---|---|---|---|
| 2 weeks | 2 | 14 | Agile sprint, biweekly pay period |
| 4 weeks | 4 | 28 | Lunar month, billing cycle |
| 12 weeks | 12 | 84 | First trimester, FMLA leave |
| 16 weeks | 16 | 112 | Academic semester, marathon training |
| 26 weeks | 26 | 182 | Half year, unemployment benefit period |
| 40 weeks | 40 | 280 | Full-term pregnancy |
| 52 weeks | 52 | 364 | Approximately 1 year |
Tips and Complete Guide
Understanding the ISO Week Calendar
The ISO 8601 standard defines an alternative week-based calendar where every year has either 52 or 53 weeks. Each ISO week starts on Monday and ends on Sunday. Week 1 of a year is defined as the week containing the first Thursday of January. This means that January 1 might belong to the last ISO week of the previous year, or December 31 might belong to the first ISO week of the following year. This system is widely used in Europe for business planning and is the standard in many industries for fiscal week tracking.
Weeks in Medical and Health Contexts
Weeks are the standard unit for pregnancy tracking (gestational age), neonatal development, and early childhood milestones. In pregnancy, the due date is calculated as 40 weeks from the last menstrual period. Critical milestones include viability at 24 weeks, term at 37 weeks, and post-term at 42 weeks. Pediatricians track infant development in weeks for the first several months, as weekly changes are significant in early development. Drug treatment programs, physical therapy plans, and rehabilitation protocols are also commonly structured in weekly cycles.
Week-Based Planning Strategies
Many productive planning systems are organized around weeks. The 12-Week Year methodology compresses annual goals into 12-week cycles for increased urgency. Agile software development uses 1-2 week sprints as the fundamental planning unit. Academic institutions structure coursework around 15-16 week semesters. Fitness and nutrition programs typically run in 4, 8, or 12-week phases. Understanding how many weeks you have available for a goal helps break it into manageable weekly targets. If you have 20 weeks and need to complete 100 tasks, that is 5 tasks per week — a more actionable framing than "100 tasks in about 4.5 months."
Common Mistakes to Avoid
- Assuming 4 weeks equals 1 month: Four weeks is 28 days, but most months have 30 or 31 days. Over the course of a year, the difference is significant: 12 months is approximately 52.18 weeks, not 48 (12 * 4). Using 4 weeks as a month will undercount the actual time available by about one full month per year.
- Ignoring the remaining days: The remaining days after complete weeks can be critical. In pregnancy tracking, being "32 weeks and 6 days" is clinically different from "32 weeks and 0 days." In sprint planning, 2 extra days might accommodate a deployment. Always check the remaining days, not just the week count.
- Confusing ISO weeks with calendar weeks: The ISO week system (Week 1 contains the first Thursday of January) may number weeks differently from your intuitive counting. December 29-31 in some years belong to Week 1 of the next year. For business reporting, clarify which week numbering system is being used.
- Not accounting for incomplete weeks at boundaries: If a project starts on Wednesday and you count "4 weeks," the 4th week ends on a Tuesday. The first and last weeks may be incomplete, giving fewer working days than expected. Factor in partial weeks when planning deliverables.
Frequently Asked Questions
The calculator first computes the total number of days between the two dates using millisecond-precision arithmetic. It then divides the total days by 7 (using integer division) to get the number of complete weeks, and uses the modulo operation (remainder after division by 7) to find the extra days. For example, 100 days equals 14 complete weeks with 2 remaining days. The result always shows complete weeks plus any leftover days, giving you the most precise representation of the time span in weekly units.
A complete week is any consecutive span of exactly 7 days. The calculator does not require weeks to start on Monday or Sunday — it simply divides the total calendar days by 7. This means 7 days is always 1 week regardless of which day of the week the period starts on. If you need to know how many calendar weeks (Monday-to-Sunday or Sunday-to-Saturday) fall within a range, you would need to account for the starting day, which is a different calculation than the total weeks our calculator provides.
Weeks are a natural unit for many activities: work sprints in agile methodology (typically 1-2 weeks), pregnancy tracking (gestational age is expressed in weeks), academic semesters (counted in weeks), fitness programs (often structured in 4, 8, or 12-week blocks), and payroll periods (biweekly pay cycles). The human work-rest cycle is inherently weekly, making weeks a more intuitive unit than raw day counts for planning and scheduling purposes.
To convert weeks to other units: multiply by 7 for days, by 168 for hours (7 * 24), by 10,080 for minutes (7 * 24 * 60), or divide by approximately 4.345 for months (52.1775 weeks per year / 12 months). The calculator already shows total days alongside the week count, making conversion straightforward. For precise monthly conversions, use the year-month-day breakdown provided, as months vary between 28 and 31 days.
A common year (365 days) contains 52 weeks and 1 day. A leap year (366 days) contains 52 weeks and 2 days. This means no year has exactly 52 weeks — there is always 1 or 2 extra days. The ISO week calendar defines 52 or 53 weeks per year depending on the year. Years that start on a Thursday (or Wednesday in leap years) have 53 ISO weeks. The year 2026 has 52 ISO weeks and starts on Thursday, with the 53rd week belonging to the first week of 2027 by ISO convention.
Yes, this calculator is excellent for pregnancy tracking. Pregnancy is typically measured as 40 weeks from the last menstrual period (LMP). Enter the LMP date as the start date and today as the end date to see how many weeks pregnant you are. The remaining days after complete weeks matters too — '28 weeks and 3 days' means you are in week 29. For more detailed pregnancy tracking including trimester information and milestone dates, see our dedicated pregnancy calculator.
For agile sprint planning, enter the project start date and end date to find total weeks. Then divide by your sprint length (typically 2 weeks) to determine how many sprints fit in the timeline. For example, if you have 26 weeks between project start and deadline, that accommodates 13 two-week sprints. The remaining days shown help you plan buffer time or a final partial sprint. This is more accurate than estimating, as it accounts for the exact calendar dates involved.
Related Calculators
Days Between Dates Calculator
Find the total days, weeks, hours, and minutes between any two dates.
Day Counter
Count calendar days, business days, and weekend days between two dates.
Date Calculator
Calculate date differences or add and subtract time periods from any date.
Age Calculator
Calculate exact age in years, months, and days with birthday countdown.
Time Card Calculator
Track work hours, overtime, and weekly totals for payroll and billing.
Pregnancy Calculator
Calculate due dates, trimester timelines, and pregnancy milestones.
Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and may not reflect exact values.
Last updated: February 23, 2026
Sources
- ISO 8601 Date and Time Standard — International Organization for Standardization
- ISO Week Date Calendar System — Wikipedia (ISO 8601)
- Gregorian Calendar Rules — U.S. Naval Observatory
- timeanddate.com — Weeks Between Two Dates Reference