Loading the interface. JavaScript is required; controls stay disabled until ready.
Clear totals, useful details and the method behind them.
Fill in your details and select Compare dates. Your result will appear here.
How to use Date Difference Calculator
- Enter the values labelled for this calculation and choose the relevant options.
- Select Calculate to see the primary result, supporting figures and calculation breakdown.
- Review the methodology below. Copy result keeps a plain-text summary; Reset restores the example inputs.
Formula and methodology
Gregorian day ordinals give elapsed days. Inclusive counts add one to the absolute day span. Calendar months use clamped anniversaries.
A worked example
2024-02-28 to 2024-03-01 is two elapsed days or three inclusive dates.
Assumptions and limitations
Reversed dates show the same magnitude and an explicit direction. Inclusive counting changes total days, not the separate calendar difference. No timezones or daylight-saving conversion.
Questions and answers
What does inclusive mean?
Both endpoint dates count; a start and end on the same date produce one inclusive day, but zero elapsed days.
Count elapsed days or included dates
Date-only arithmetic measures positions in a calendar. It is different from measuring the exact seconds between two timezone-aware timestamps. Decide whether your task counts elapsed boundaries or every included date before choosing an inclusive option.
A practical example
From 2024-02-28 to 2024-03-01 there are two elapsed days, because the leap year includes February 29. Counting both endpoints includes three calendar dates. These totals answer different questions; adding an inclusive endpoint does not change the separate years/months/days calendar breakdown.
Calendar months are not fixed day lengths
Months vary in length, so dividing a day count by 30 is not a calendar-month calculation. This tool uses clamped month anniversaries for that breakdown. Reversing the dates keeps a magnitude with an explicit direction rather than silently treating the later date as the starting point.
Check rules outside ordinary calendar arithmetic
A deadline, employment period or booking policy may define inclusive counting differently or exclude weekends and holidays. This tool does not implement those policies. For clock-time intervals use Time Duration; for absolute instants consider timestamps and an explicit timezone. Enter dates carefully when copying between systems with different display conventions.
Worked example: counting days to a deadline
A visa application opened on 3 March 2026 and must be filed by 30 June 2026. The difference is 119 days, or 17 weeks exactly. If the rules say both the first and last day count, the answer is 120 days. Write the dates out in full when sharing them: 03/06/2026 means 6 March in the US but 3 June in the UK, Canada, Australia and Germany, where 03.06.2026 is also common.
More questions about the Date Difference Calculator
Does the result include the start and end date?
A standard date difference counts the days between the two dates, so 1 May to 2 May is one day. Many contracts, leave policies and countdown rules count both days, which adds one. Check the wording of the rule you are applying: phrases such as inclusive, from and including, or clear days change the answer.
How are leap years handled?
Every year divisible by 4 has 29 February, except century years that are not divisible by 400. So 2028 is a leap year, 2100 is not and 2000 was. A date range that crosses 29 February in a leap year is one day longer than the same range in a normal year, and the calculator includes that day automatically.
How many working days are between two dates?
Subtract weekends first: each full week has five working days. Then remove public holidays, which differ by country and even by state or province, such as Thanksgiving in the US and Canada on different dates or bank holidays in England versus Scotland. For payroll or legal deadlines, confirm the local holiday calendar.
Choose your next task
- Time duration calculator: Include hours and minutes rather than dates alone.
- Age calculator: Use a birth-date-specific breakdown and birthday countdown.