Days and Weeks Between Dates Calculator
Show full weeks and remaining days.
How the Days and Weeks Between Dates Calculator Works
The Days and Weeks Between Dates Calculator divides the day gap by 7 and reports the number of full weeks plus the remaining days.
Choose the first date
Enter the start of the period, such as the first day of a training plan.
Choose the second date
Enter the end of the period, such as a race day.
Read weeks and days
The result shows full 7-day weeks and leftover days, for example 21 weeks and 1 day.
Read the total days
The note under the result shows the full calendar-day count for the same span.
How the Count Is Calculated
The Days and Weeks formula uses integer division and the remainder (modulo) of the day count.
Weeks = floor(Days ÷ 7)
Remaining days = Days mod 7- Days
- Calendar days between the two dates.
- floor()
- Rounds down to the nearest whole number.
- mod 7
- The remainder after dividing by 7, from 0 to 6.
Example: 15 March 2026 to 10 August 2026 is 148 days. 148 ÷ 7 = 21 remainder 1, so the span is 21 weeks and 1 day (21.14 weeks).
Worked Examples
The table converts day gaps into weeks plus days and decimal weeks.
| Days | Weeks + days | Decimal weeks |
|---|---|---|
| 10 | 1 w 3 d | 1.43 |
| 30 | 4 w 2 d | 4.29 |
| 59 | 8 w 3 d | 8.43 |
| 90 | 12 w 6 d | 12.86 |
| 148 | 21 w 1 d | 21.14 |
| 180 | 25 w 5 d | 25.71 |
| 280 | 40 w 0 d | 40.00 |
| 365 | 52 w 1 d | 52.14 |
What the Tool Measures
A Days and Weeks Between Dates Calculator is a tool that expresses a date gap as full weeks and leftover days. The format matches how pregnancies, training plans and sprints are tracked.
A 7-day week is a fixed length, so the conversion is exact. A 365-day common year equals 52 weeks and 1 day, and a 366-day leap year equals 52 weeks and 2 days.
When to Use This Tool
There are 5 main uses of the Days and Weeks Between Dates Calculator, including pregnancy tracking and sprint planning.
Pregnancy weeks
Expectant parents track gestation in weeks and days, with 280 days (40 weeks) as the standard term.
Training plans
Runners count the weeks left before a marathon to fit a 16-week or 18-week plan.
Agile sprints
Scrum teams count how many 2-week sprints fit before a release date.
School terms
Teachers count teaching weeks left in a term.
Baby age
Parents state infant age in weeks during the first months.