Fun

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.

Day counts in contracts and leave planning

Legal and HR documents frequently specify periods in calendar days rather than working days, and the distinction matters. A 30-day statutory notice period starting on a Monday ends on the corresponding Sunday one month later, not after 30 working days. Warranty periods, service level agreements, and subscription billing cycles all work the same way: the period runs in calendar days from the trigger date. Off-by-one errors are common because people instinctively include the start day in their mental count, which this calculator deliberately does not do.

Leave planning adds another layer: most employment contracts state entitlement in working days, but travel and absence spans in calendar days. If you are planning a two-week break that starts on Saturday and returns on a Sunday, the calendar span is 15 days even though only 10 are working days. Knowing both numbers helps when submitting leave requests and aligning them with project handover windows. For recurring deadlines such as quarterly reporting, using the exact day count instead of "roughly 90 days" prevents the deadline from drifting by two or three days each cycle.

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.

Embed this tool

Use this converter on your own website by copying the iframe code below.