Date Difference Calculator
Calculate days, weeks, months and years between two dates. Useful for project deadlines, contract terms, age calculations, leave planning and travel countdowns.
Last updated: May 2026
Choose two dates to calculate the difference.
Counting days between dates: practical uses
The number of days between two dates matters for project deadlines, travel planning, contract end dates, and timelines. Most people underestimate the time between dates when planning verbally — "from January to March" sounds short until you realize it's 59 days, not 2 months. This calculator removes the guessing and accounts for leap years automatically.
Counting is tricky because the question "how many days between X and Y?" can mean different things: do you include both endpoints, or just the gap? This calculator shows the gap (exclusive). If you need to include both the start and end dates in your count, add one day to the result.
Frequently Asked Questions
Does the calculator include both the start and end dates?
No, the result shows the number of days between the two dates (exclusive). If you need to include both endpoints — for example, "I'm taking time off from Jan 1 to Jan 10, how many days is that?" — add one day to the result. The exclusive count prevents double-counting the first day.
Can I calculate differences across years?
Yes. The calculator handles any date range, including multi-year spans, leap years, and dates across different centuries. It automatically accounts for leap day (Feb 29) when it falls in the range.
Why is this useful for travel and project planning?
When planning verbally, people often miscount. "From Monday to Friday" sounds like 5 days but is only 4 days in between. For travel, knowing the exact day count helps with booking flexibility and understanding how much time you actually have. For projects, miscounting days can blow deadlines — this calculator removes that guessing.
Does it account for leap years?
Yes. Leap years (divisible by 4, except centuries not divisible by 400) are handled automatically. If your date range includes Feb 29, the calculator includes it in the count.