Days Between Dates Calculator
Count the exact number of days, weeks, months, and years between any two dates.
That's 364 days — or 11 months, 30 days.
Results update as you change the dates. The "approx months/years" figures use the average month (30.44 days) and year (365.25 days); the calendar Y/M/D breakdown counts actual elapsed months and days.
Formula
Days are subtracted directly using calendar arithmetic — both inputs are parsed as UTC noon to avoid daylight-saving drift. Approximate months and years divide the day count by 30.44 and 365.25 respectively (average month and year lengths). The calendar Y/M/D breakdown counts whole years and whole months between the dates, with day-borrow logic when the end's day-of-month is earlier than the start's.
When this calculator helps
Counting the days between two dates sounds trivial until you have to get it exactly right. Reach for this calculator when a deadline, a contract date, or a personal milestone hangs on the answer — working out how many days until a tenancy ends, how long is left on a notice period, the span of a project from kick-off to delivery, or simply how many days old someone is. It is the everyday tool for any question that starts 'how long between'.
It earns its keep on the things that are awkward to do in your head because months and leap years get in the way. Whether you are counting down to a wedding anniversary, measuring the gap between an invoice date and the day you were paid, or pinning down the exact length of a fixed-term contract, you just enter a start date and an end date and read off the days, weeks, and a calendar breakdown.
How to read your result
The headline figure is the number of days between your two dates — the calendar gap, not a count of the dates themselves. This is exclusive counting: the start date is day zero and the clock ticks once you reach the next day, so 1 January to 2 January comes out as 1 day, not 2. That matches how interest, notice, and most contractual periods are reckoned.
If you actually need both endpoints counted — the inclusive total, which is what you want for something like 'how many days am I away, counting the day I leave and the day I get back' — add one to the figure shown. Knowing which of the two you need is the single most important thing about reading the result, because the difference is always exactly one day and it is easy to land on the wrong side of it.
A worked example
Suppose a six-month fixed-term tenancy starts on 01/03/2026 and you want to know how many days run until 01/09/2026. Enter 01/03/2026 as the start and 01/09/2026 as the end, and the calculator returns 184 days — roughly 26 weeks, or a clean six calendar months in the Y/M/D breakdown. Because the span sits inside a single year with no 29 February in it, the day count and the calendar breakdown agree neatly.
Now say you only want the days left until the end of the month, from 15/03/2026 to 31/03/2026. That comes out as 16 days. If you meant to count the 15th itself as well — your first day on the job, say — you would add one and call it 17.
Common mistakes to avoid
Most errors with date counting are off-by-one slips or quietly mixing up which date came first.
- Confusing inclusive and exclusive counting — decide up front whether both endpoints should be counted, and add one if they should.
- Forgetting that February has 29 days in a leap year, which silently adds a day to any span crossing 29 February.
- Entering the dates in the wrong order; the day count is the same either way, but a swapped pair can hide a genuine input mistake.
- Reading the approximate-months figure as if it were exact calendar months — they only line up when both dates fall on the same day of the month.
Date formats in the UK
Britain writes dates day-first: DD/MM/YYYY, so 03/04/2026 means the 3rd of April, not the 4th of March. That ordering is second nature here, but it is a frequent source of confusion the moment a date crosses the Atlantic — an American reading 03/04/2026 would see the 4th of March, a full month out. If you are working with a US client or a US-hosted system, it is worth spelling the month out, or using the unambiguous ISO form YYYY-MM-DD, to be sure you are both counting from the same day.
For UK contracts, tenancies, and statutory notice periods, day counting is usually exclusive of the start date, which is why this calculator's default gap matches the way most British agreements are worded. When a deadline must fall on a working day, pair this with the Working Days Calculator to skip weekends and bank holidays.
Related calculators
Frequently asked questions
Does the result include the start day and end day?▾
The total day count is the calendar gap between the two dates — counting the end day as a tick later than the start. So 1 January to 2 January is 1 day. If you want to include both endpoints (e.g. a 'how many days does the trip last including both arrival and departure?' count), add 1 to the figure shown.
Why is 'approx months' different from the calendar Y/M/D breakdown?▾
The approximate months figure divides total days by the average month length (30.44 days). The calendar breakdown counts actual elapsed months and days using calendar logic — '1 month' means a full calendar month regardless of whether that's 28, 30, or 31 days. The two will line up exactly when both dates fall on the same day-of-month; otherwise they'll differ slightly.
Does it handle leap years correctly?▾
Yes. The total day count is exact regardless of leap years (Feb 29 is included if the range crosses it). The calendar breakdown also handles leap years — March 1 to March 1 across a leap year is still '1 year', and Feb 28 to Mar 1 is '0 years 0 months 1 day' on non-leap years and '0 years 0 months 2 days' on leap years.
What if my end date is before my start date?▾
The calculator shows the absolute gap and notes 'end is before start'. The number is the same either way — calendar arithmetic doesn't care about direction for counting days.
Can I use this for project planning?▾
Yes for elapsed-days counting. For working days only (excluding weekends), use the Working Days Calculator. For 'when will X be done if I start today?', use the Deadline Calculator.
Why not just subtract dates in a spreadsheet?▾
You can — Excel and Google Sheets both subtract dates as serial numbers, returning days. This calculator adds the calendar Y/M/D breakdown and approximations on top, which spreadsheets can do but require formulas. If you've already got a spreadsheet open, the subtraction is faster.