Days Between Two Dates Calculator
This calculator works out the exact duration between two dates, both as a calendar breakdown (years, months, days) and as running totals (days, weeks, hours, minutes). Both dates are counted towards the day total. For a duration in working days (weekends and bank holidays excluded), try the working days calculator instead.
Calculator
Results
| Period | — |
| Exact duration | — |
| Total in days | — |
| Total in weeks | — |
| Total in hours | — |
| Total in minutes | — |
How the duration between two dates is calculated
Calendar duration (years, months, days) = exact calendar count, from the start date to the end date
Total in days = number of calendar days separating the two dates
The calendar duration isn't a simple ratio of the total day count divided by 365.25 : months aren't all the same length, and one year in four is a leap year. The calculation walks the real calendar between the two dates to produce an exact result in years, months and days, while the total in days, hours and minutes follows directly from the number of days elapsed.
Date duration or age: which tool to use
An age is a duration with one end glued to a birthday. Same calendar. Different job.
On this page both dates are whatever you need them to be: the day a contract was signed, the start of a tenancy, the day a warranty ran out, a family anniversary. The answer reads as a length of time, not as “you are 36”. For a completed age — school, pension, driving licence, anything that asks how old someone is — use the age calculator instead. It speaks that language, including the 29 February convention and a reference date that is not today.
One practical catch. Age follows the civil calendar: you gain a year on your birthday, not the morning after. The day total here counts both end dates. Compare the two pages and you will often be out by a day. That is the convention, not a rounding error.
Why the years/months/days breakdown isn't a simple ratio
Dividing the day count by 365.25 looks tidy. It is an astronomical average, not a civil duration.
February has 28 days, or 29. July has 31. From 31 January to 28 February is not “one month” in any sense a solicitor or a payroll clerk would recognise. From 15 January to 15 March is two calendar months, and the day count is not a neat 60, because February sits in the middle and does what February does. Leap years weigh 366 days; the others, 365. A ratio irons all of that out. The calendar does not.
So we walk the real calendar for the years/months/days line. The running total in days needs no such trick — it is just a count of dates. Neither figure is “days ÷ 365.25”. If a spreadsheet gives you 2.47 years, that is a different question from “2 years, 5 months and 12 days”.
Working out the length of a contract, a notice period, a warranty
Three everyday reasons to ask “how long”, and three places where calendar months beat a decimal year.
- Contract — a fixed-term job, a tenancy, a probation. “Six months” means date to date, not 0.5 of a year. A term from 15 March to 14 September is six calendar months, even when the day count is not 183 everywhere.
- Notice period — leaving a job, ending a tenancy, cancelling a service. Statutory notice after a month in post is one week, then a week per complete year, up to twelve. Most tenancy notices are still counted in calendar days, unless the agreement says otherwise.
- Warranty — a manufacturer's warranty, a retailer's guarantee, the statutory rights under the Consumer Rights Act. Two years from delivery is a calendar span. The small print of a commercial guarantee may start the clock on a different day. Read that, not this page, for the legal bit.
This is a date counter, not legal advice. A notice “from and including” Monday is not the same as a notice in clear days, where both the day you give it and the day it takes effect are left out. Check the clause before you treat the result as a deadline.
Why the running total in weeks helps with project planning
Project plans live in weeks. A sprint, a fit-out, a campaign, a delivery promise: “six weeks and two days” is easier to hold in your head than “44 days”.
What we print is the whole-day count divided by 7, plus the remainder. That is all. It does not snap to Mondays. An ISO week (Monday to Sunday, with a week number) is a different animal — the one on a team calendar. We are slicing a pile of days, not an agenda. A job that starts on a Wednesday and finishes on a Tuesday can read as “four weeks exactly” without lining up with four calendar weeks.
Handy for sizing the work. Useless for parking bank holidays, or for knowing who is on call at the weekend.
Calendar duration vs. working-day duration
This page counts every day: Saturdays, Sundays, Christmas Day, the August bank holiday. That is calendar duration — the length of a stay, a document's age, a two-year warranty.
A delivery promise “in working days”, a construction programme, a payroll cycle: weekends and bank holidays have to come out. That is the working days calculator. Bank holidays are not the same in England and Wales, Scotland and Northern Ireland — so the working-day figure depends on which calendar you are on. The figure here does not.
The two numbers drift apart quickly. Three calendar weeks is not fifteen working days. Strip out the weekends and you have eleven, fewer still if a bank holiday lands in the middle. For a time-and-materials quote, do not mix them. Calendar days for “how long it lasted”. Working days for “how many days anyone could actually work”.
A duration in the past, or a countdown
The start date does not have to be today. You can measure what has already happened, or what is still to come.
Time since a wedding, a house move, a publication, a start date at work: put the event first and today (or any other date) second. You get the elapsed span, including the week breakdown if you are planning a round-number anniversary. The other way round — a shop opening, the end of a loan, an exam date — put today first and the deadline second.
For a proper countdown, with days, hours and minutes from now until an event, the other tool is the better fit. The countdown calculator starts from this moment. Here both dates are free: two dates in the past, two in the future, it does not matter. No clock time, so no “in 3 hours 12 minutes”.
Limits of the calculation: Gregorian calendar only, no time zone
Gregorian only. No Julian calendar, no Hijri, no French Republican experiment. Britain skipped eleven days in 1752 switching over; we do not reconstruct that. Dates before 1900 and after 2200 are rejected. This is not a historian's kit.
No time zone, either. Both dates are civil days, midnight to midnight, with no clock time attached. A flight that leaves Tokyo on the 1st and lands in London on the 1st is the same civil day here, even if it felt like a night to you. The clocks going forward in March, or back in October, never show up: there is no hour to shift.
If you need to compare two instants in different zones, this is the wrong page. You would need a time of day, and a zone. We have neither.
Converting a duration into hours for a quote or time-based billing
The totals in hours and minutes are there to convert a period — a booking, a hire, an absence — into a unit invoices already use. They are not hours of work.
Total in hours = total in days × 24
Total in minutes = total in hours × 60
Three calendar days is 72 hours. Not 3 × 7½, not 3 × 8. If you bill time actually worked, start from a working-day count and multiply by your standard day. What we print is a unit conversion, not a timesheet. Mix the two on a quote and you will be out by a factor of three, give or take — and the client will notice.
Inclusive dates versus elapsed time
Two ways of counting, two different numbers.
Elapsed time — the years/months/days line — is how much time has gone by. From 1 January to 8 January, seven days have passed. The same date in both boxes gives an elapsed time of zero. That is how an age works, how a spreadsheet that subtracts one date from the other works, how hotel nights are sold.
The total in days on this page includes both ends. From the 1st to the 8th, that is eight calendar dates. A stay “Monday to Sunday” is seven nights and, if you count both endpoints, eight civil days. Hence the one-day gap against a spreadsheet, or against the age calculator. Not a bug. It is “how many dates sit in the range”, not “how much time has elapsed”.
When 29 February sits in the span
Every fourth year the calendar grows a day. If that day falls inside your period, the day total swallows it. February 2024 has 29 days. February 2025 has 28. From 1 February to 1 March 2024 that is one calendar month — and 29 days on the counter. The year after, 28.
The years/months/days line steps month by month, not in lumps of 30.44 days. From 29 February 2024 to 28 February 2025 there is no 29 February to land on. You do not get “exactly one year” the way you would from 1 March to 1 March. Same trap as a birthday on 29 February: the calendar has no opinion, it has a hole, three years in four.
If a contract says “one year, date to date” and the span includes a 29 February, check which day the text treats as the anniversary. We follow the Gregorian calendar, day by day. Not an average year.
Hours with no clock time entered
No time of day is asked for. Each civil day is 24 hours, each hour 60 minutes. That is the whole rule.
The clocks changing (last Sunday in March, last Sunday in October) never appear. There is no civil hour to shorten or stretch. From the Saturday of the change to the Sunday, that is 24 hours here, not 23 and not 25. A timesheet, a flight, a night shift that crosses 1 a.m. — wrong tool.
We convert days into hours. We do not time anything.
Clear days in notices and deadlines
English drafting has a habit of saying “clear days”. It is not the same count as ours.
Give notice on a Monday for something that must happen on the Friday of the same week. Elapsed time: four days. Inclusive dates: five (Monday through Friday). Clear days: three — Tuesday, Wednesday, Thursday — because both the day of service and the day of the act are left out. Company filings, some court timetables, a few tenancy clauses still work that way.
We do not compute clear days. If a letter says “not less than 14 clear days”, take our inclusive total and subtract two, then check the statute. Better: read the notice. The word “clear” is doing real work, and a date calculator that ignores it will land you a day or two late.