Date difference calculator: days between two dates
Find how long it is between two dates, as days, as weeks and days, and as years, months and days.
How to use this calculator
- Pick the start date.
- Pick the end date.
- Read the number of days between.
- Use the 'both dates' figure if you need to count the first and last day.
Worked examples
Example 1
From 1 January 2026 to 21 October 2026.
You enter
| Start date | 2026-01-01 |
|---|---|
| End date | 2026-10-21 |
You get
| Days between | 293 days |
|---|---|
| Years, months and days | 0 years, 9 months, 20 days |
| Weeks and days | 41 weeks 6 days |
| Counting both end dates | 294 days |
Example 2
From 15 August 2025 to 26 January 2027.
You enter
| Start date | 2025-08-15 |
|---|---|
| End date | 2027-01-26 |
You get
| Days between | 529 days |
|---|---|
| Years, months and days | 1 years, 5 months, 11 days |
| Weeks and days | 75 weeks 4 days |
| Counting both end dates | 530 days |
How it works
The usual count is the difference between the dates. If you want to include both the first and the last day, add one.
For working days only, use the working days calculator.
Formula
Days = end date - start date. Years, months and days are found by counting whole months first.
Common questions
Does it include the end date?
The main figure does not; the second figure does.
Does it handle leap years?
Yes.
Can the end date be earlier?
Yes, the gap is shown as a positive number.
Calculators give estimates for learning and planning. They are not financial, tax, legal or medical advice, and results depend entirely on the numbers you enter. Check rates, limits and rules with an official source or a qualified professional before acting.