Date To Date Calculator
Enter a From date and a To date to see the span in every unit side by side: total days, weeks and days, whole months, whole years, and a years-months-days breakdown. Turn on the inclusive option when both the first and the last day count. For a days-only answer with weekdays, use days between dates.
Last updated November 4, 2026
Result
358 days
| Measure | Value |
|---|---|
| Weeks and days | 51 weeks and 1 day |
| Whole months | 11 |
| Whole years | 0 |
| Years, months, days | 0 years, 11 months, 24 days |
Show the work
Formula: days = later date - earlier date (+ 1 when the last day is counted)
- Order the dates: earlier Jan 1, 2026, later Dec 25, 2026.
- The earlier date is day zero: 358 days.
- Weeks: 358 ÷ 7 = 51 weeks and 1 day.
- Whole calendar months completed: 11; whole years (months ÷ 12, rounded down): 0.
- Breakdown after removing whole months: 0 years, 11 months, 24 days.
Result: 358 days (51 weeks and 1 day).
How date to date is worked out
days = later date - earlier date (+ 1 if inclusive)
weeks = days ÷ 7
years = whole months ÷ 12
The two dates are put in order and turned into day numbers on the calendar. The earlier date is day zero, so 1 March to 8 March is 7 days. With the inclusive option the later date is moved one day on before measuring, so the same span becomes 8 days.
Weeks are the days divided by 7, rounded down, with the leftover days shown. Whole months are completed calendar months, which respect month length: 31 January to 28 February is 28 days and zero whole months. The years-months-days line removes whole years, then whole months, and leaves the rest as days.
See how we calculate for the formulas, sources and review schedule behind every calculator.
Which date tool to use
Use this page when you want one span in several units. Use days between dates when you need weekdays, weekend days and hours, the date calculator to add or subtract an amount from a date, and the time duration calculator when clock times matter.
How to use the Date To Date Calculator
- Enter the From date and the To date. The order does not matter.
- Choose exclusive (start is day zero) or inclusive (count both days).
- Read the total days, weeks and days, whole months, whole years and the years-months-days breakdown.
- Use Show the work to see each step, then Copy, Print or Share.
Worked example
From 1 January 2026 to 25 December 2026 is 358 days, which is 51 weeks and 1 day, or 11 months and 24 days. Counting both days makes it 359.
| From | To | Mode | Days | Weeks and days | Y, M, D |
|---|---|---|---|---|---|
| 2026-01-01 | 2026-12-25 | Exclusive | 358 | 51 w 1 d | 0, 11, 24 |
| 2026-01-01 | 2026-12-25 | Inclusive | 359 | 51 w 2 d | 0, 11, 25 |
| 2026-03-01 | 2026-03-08 | Inclusive | 8 | 1 w 1 d | 0, 0, 8 |
| 2020-02-29 | 2024-02-29 | Exclusive | 1,461 | 208 w 5 d | 4, 0, 0 |
| 2025-06-15 | 2026-11-04 | Exclusive | 507 | 72 w 3 d | 1, 4, 20 |
Frequently asked questions
Should I include the last day?
Include it when both days are used, such as a hotel stay or a leave request. Leave it off when you want the gap, such as the time until a deadline.
What if the To date is before the From date?
The calculator puts the dates in order and measures the same span, and a note tells you the dates were swapped. The result is never negative.
Why are whole months not the days divided by 30?
Months have 28 to 31 days, so whole months count completed calendar months from the From date. That is why 31 January to 28 February is 28 days but zero months.
Does it count public holidays or business days?
No. It counts calendar days only. For weekdays and weekend days between two dates, use the days between dates calculator.