Date-to-Date Calculator — the complete guide
In short: The difference between two dates is the exact number of calendar days between them, leap days included — 28 February to 1 March 2024 is 2 days, because 2024 is a leap year and 29 February sits between them. The calculator also expresses the span in weeks, months and years, and can include the end date when you are counting dates rather than elapsed time.
Key facts about the Date-to-Date Calculator
| Item | Detail |
|---|---|
| What it calculates | Exact days, weeks, months and years between any two dates — leap days included. |
| Formula | Difference in days = (end date − start date) in whole days, using exact calendar arithmetic including leap days such as 29 February. |
| Worked example | Worked example: 28 February 2024 to 1 March 2024. 2024 is a leap year, so 29 February sits between them: 28 Feb → 29 Feb is one day and 29 Feb → 1 Mar is another — a difference of exactly 2 days. |
How to use the Date-to-Date Calculator — step by step
- Enter your start date, end date in the form above — every field is labelled with its unit, and the essential fields are the only ones shown.
- Open Advanced options if any of these apply to your situation: include the end date (+1 day). If none apply, leave the default values exactly as they are.
- Press Calculate. The result appears in the result box directly under the form, and the page scrolls to it automatically.
- Read the full breakdown under the headline figure — the components show exactly what the answer is made of, not just the final number.
- Check your result against the formula and worked example in the guide below, then re-run it with slightly higher and lower values for any input you are unsure of, to see how much the answer actually moves.
Amara's countdown, and the day that appeared from nowhere
Amara got engaged on a cold evening in February 2024, and like every newly engaged person since the invention of the calendar, she immediately started counting. The wedding was set for 1 March, and on the evening of 28 February she told her sister there were two days to go. Her sister, who has never let a small error pass uncorrected in her life, said one. They argued about it for ten minutes — two days, one day, two days, one day — until Amara's fiancé looked it up and settled it: two days, because 2024 was a leap year, and 29 February was sitting between the two dates like a day nobody had invited. Amara was right, her sister was wrong, and the whole argument existed because of a single extra day that appears once every four years and quietly breaks every mental count that forgets it. It is a small story, but it is the whole subject of this page: the difference between two dates is exact, it is not negotiable, and the calendar has traps in it that no amount of confidence will help you avoid.
People count the days between dates for the most human reasons there are. A wedding. A baby's due date. A visa expiring. A mortgage fixed-rate period ending. A parent's hundredth birthday. A project deadline that cannot move. And in every one of those cases, being wrong by a day is not a rounding error — it is a missed flight, a late application, a room full of guests with no bride. The calculator above gives you the exact difference in days, weeks, months and years, including leap days, and this guide is about the judgement around that number: why months are not thirty days, why "inclusive" changes everything, and why the most common mistake in date counting is not arithmetic but the assumption that all months are the same length.
Days, weeks, months, years — four different answers to one question
Ask how long it is from 28 February 2024 to 1 March 2024 and you can answer in several ways, and all of them are true. It is 2 days. It is 0 weeks and 2 days. It is 0 months and 2 days. It is 0 years, 0 months and 2 days. The number changes with the unit, and the unit changes with the purpose. A countdown to a wedding wants days, because days are what you feel. A project plan wants weeks, because weeks are what you schedule in. A tenancy agreement wants months, because rent is monthly. A retirement plan wants years, because years are what a pension understands. The calculator gives you all four, and the skill is picking the one your situation actually needs instead of the one that sounds most impressive.
Weeks are the most honest unit for short spans, because a week is always seven days — no exceptions, no leap weeks, no months of different lengths hiding inside it. That is why project managers and doctors both think in weeks: a pregnancy is forty weeks, a sprint is two weeks, a course is twelve weeks, and nobody has to argue about whether February counts. Months, by contrast, are the least honest unit, because a month can be 28, 29, 30 or 31 days, and "three months from now" means a different number of days depending on which month you start in. Three months from 1 February is 89 or 90 days. Three months from 1 July is 92. If your contract says "three months", find out whether it means calendar months or ninety days, because the difference is real and it has decided court cases.
Years are the strangest unit of all, because a year is not a fixed length either. A normal year is 365 days. A leap year is 366. A period that crosses 29 February is a day longer than one that doesn't, and that extra day has decided elections, ended tenancies, and — in at least one famous case — determined whether a prisoner had served their full sentence. If you are counting a period of years, always ask whether the leap days inside it have been counted, because a "five-year" period that contains two leap days is 1,827 days, not 1,825, and two days is enough to matter when a deadline is involved.
The leap-year trap, worked through properly
Here is the example that matters, because it is the one people get wrong most often. From 28 February 2024 to 1 March 2024, the difference is exactly 2 days. Not one. Two. The reason is that 2024 is a leap year, so 29 February exists, and it sits between the two dates. Step one: from 28 February to 29 February is one day. Step two: from 29 February to 1 March is one more day. One plus one is two. If you had done the same calculation in 2023, a non-leap year, the answer would have been 1 day, because 28 February is followed directly by 1 March. Same dates, same month names, different answers — and the only thing that changed is the year.
This is the trap in its purest form, and it catches out people who are otherwise very careful, because the human brain treats "February to March" as a fixed distance, and it isn't. February is 28 days long in three years out of four and 29 days long in the fourth, and any span that crosses February in a leap year is a day longer than the same span in any other year. The rule for leap years is simple enough to state: a year is a leap year if it divides by four, except centuries, which must divide by four hundred. So 2024 is a leap year, 2100 will not be one, and 2000 was one. Simple to state, easy to forget, and expensive to get wrong — which is why the calculator handles it for you and why you should never trust a mental count that crosses a February.
There is a second, quieter leap-year trap that affects people born on 29 February, and it is worth naming here even though the age calculator covers it in detail: in a non-leap year, a leap-day birthday has no date at all. Some celebrate on 28 February, some on 1 March, and some jurisdictions have actual laws about it — in the UK, for most legal purposes, a person born on 29 February legally turns a year older on 1 March in non-leap years. If you are counting the days between a leap-day birthday and an event, the calculator's exact calendar arithmetic is the only safe route, because the "obvious" answer depends on a convention nobody told you about.
Inclusive or exclusive: the one-day difference that decides things
Here is the question that causes more arguments than any other in date counting: do you count the end date? From 28 February to 1 March, the difference is 2 days, but the number of dates touched — the 28th, the 29th and the 1st — is 3. Both numbers are correct, and they answer different questions. The difference, 2 days, is how much time passes between the two dates. The inclusive count, 3 days, is how many calendar dates the period covers. A hotel stay from the 28th to the 1st is two nights and three days of having a room. A course running from the 28th to the 1st meets on three days. A deadline of "within two days of 28 February" expires on 1 March. Same dates, different numbers, and the right one depends entirely on what you are counting.
The calculator offers an "include the end date" option that adds one day to the difference, and the rule for when to use it is straightforward: use it when you are counting dates, not elapsed time. Counting the days of a holiday? Include the end date — you are there on the last day. Counting the days until a deadline? Don't include it — the deadline is the day the time runs out, not a day you have. Counting the days of a course, a tenancy, a hire period? Include it — you occupy the last day. The confusion arises because people mix the two questions without noticing, and then argue about the answer as if there were only one. There isn't. There are two, and they differ by exactly one, and the whole trick is knowing which question you asked.
A practical example, because this is where it bites: a visa that is valid "for 90 days from 1 January" and a traveller who counts 1 January as day one will overstay by a day if the authority counts it as day zero. Immigration authorities, without exception, count in the way that is least favourable to the traveller, and an overstay of one day can mean a fine, a cancelled visa, or a refused entry next time. When the stakes are legal, count both ways, take the shorter interpretation, and leave a day of margin. A day of margin costs nothing. A day of overstay can cost a great deal.
Months are not thirty days, and pretending they are will hurt you
The most common shortcut in date counting is to treat a month as thirty days, and it is wrong in a way that gets worse the longer the period. Over a single month, the error is a day or two. Over a year, it is five days. Over a mortgage fixed-rate period of five years, it is the better part of a month, and it can mean the difference between remortgaging on time and slipping onto a variable rate that costs hundreds of pounds a month. The calculator does exact calendar arithmetic — it knows that July has 31 days and February has 28 — and you should let it, because the thirty-day shortcut is the kind of approximation that feels safe and isn't.
The place this matters most is in money. Interest is charged by the day, and a loan that runs from 1 January to 1 July accrues interest for 181 days in a non-leap year, not 180. A tenancy deposit that must be returned "within ten days" of a checkout on 28 February is due on 10 March in an ordinary year — but on 9 March in a leap year, because 29 February is itself one of the ten days, so the count runs out a day sooner. A landlord who counts by feel and returns the deposit on 10 March in a leap year is a day late, and a day late on a deposit deadline is a real liability. The leap day shifts some counts and not others, and the only way to be sure is to calculate, not to reason by feel.
That is the honest truth about date arithmetic: nobody holds all of it in their head reliably — irregular months, a leap-day rule with a century exception, and a counting convention that changes the answer by one depending on a single word. Use the tool, check the answer, and keep a day of margin. That is not laziness. That is sense.
Counting down to the things that matter
The most joyful use of a date calculator is the countdown, and it is worth taking seriously, because a countdown is a promise you make to yourself. Amara's wedding was 1 March, and knowing there were exactly two days from 28 February — not one, not three — meant the seating plan, the flowers and the registrar all landed on the right day. A baby's due date works the same way: forty weeks from the first day of the last period, which is 280 days, and every day of that count matters to the parents waiting at the end of it. A countdown is not decoration. It is logistics with feelings attached, and the feelings are why the number has to be right.
The trick with countdowns is to count what you actually have, not what you wish you had. If the wedding is on 1 March and today is 28 February, you have two days — today is already partly gone, and the 29th is a full day, and the 1st is the day itself. People who say "one day to go" on the 28th are counting the sleeps, not the days, and sleeps are not days: there are two sleeps between the evening of the 28th and the morning of the 1st in a leap year, and one sleep in any other year. The calculator counts days, not sleeps, and if you want the number of sleeps, subtract one. It sounds pedantic until you are the person who has to tell a five-year-old that Christmas is two sleeps away, not one, and watch their face fall.
Countdowns also have a way of revealing how much time you don't have. A project due in "three months" from 1 February is due on 1 May, which is 89 days in a non-leap year — and if the work needs sixty working days, you have already lost nearly a third of the calendar to weekends before you start. Count the days first, then plan inside them. The people who miss deadlines are rarely the ones who worked too slowly; they are the ones who never counted, and discovered in April that May was closer than it looked.
Three date differences people actually need, answered plainly
Quick answer: the calculator counts exact calendar days, leap days included, and never assumes a month is 30 days. These are the spans people ask about most:
| From | To | Difference | Why it matters |
|---|---|---|---|
| 1 Jan 2026 | 8 Oct 2026 | 280 days | The same 280 days as a pregnancy due-date count |
| 15 Jun 2026 | 17 Nov 2026 | 155 days | Five months and two days, not five months flat |
| 28 Feb 2024 | 1 Mar 2024 | 2 days | 2024 is a leap year, so 29 February sits in between |
| 1 Jan 2024 | 1 Jan 2025 | 366 days | A leap year is 366 days, not 365 |
The second row is the one worth pausing on. Fifteen June to seventeen November is five months and two days, and calling it five months is fine in conversation but wrong on a tenancy agreement or a visa form, where two days can be the difference between in time and overstaying. And the third row is the trap in miniature: anyone subtracting dates in their head says 28 February to 1 March is one day, and in most years they are right. In 2024 they were wrong, because the leap day was sitting between the two dates like a step they did not see. That is the whole job of this calculator: it sees the step.
Visas, tenancies, and the dates that have lawyers attached
Some date differences are not about feelings at all. They are about law, and the law counts in its own way. A tourist visa that allows a stay of 90 days in a 180-day period is not a suggestion — it is a rolling window, and overstaying it by a single day can mean a fine, a cancelled visa, or a ban on re-entry. The 180-day window is the part that catches people: it is not a fixed block from January to June, it rolls, so every day you spend in the zone pushes the window forward, and the calculation has to be done backwards from today, not forwards from arrival. Travellers who count it as a fixed block overstay without knowing it, and discover the problem at the airport, which is the worst possible place to discover anything.
Tenancies work the same way, with lower stakes but sharper tempers. A twelve-month tenancy starting on 15 June ends on 14 June the following year, not 15 June — because the 15th is day one, and twelve months from day one ends the day before the anniversary. A notice period of "two months" served on 10 March expires on 9 May, not 10 May, for the same reason. These off-by-one rules are not tricks. They are the natural consequence of counting inclusively, and they are the reason every tenancy dispute I have ever heard about contains the phrase "but I counted it". Count it with the calculator, keep a day of margin, and serve your notice a day early. A day early costs nothing. A day late costs a month's rent.
Contracts and warranties have their own version of the same trap. A warranty of "two years from purchase" on an item bought on 29 February 2024 expires on 28 February 2026 in most jurisdictions, because there is no 29 February 2026 — and some manufacturers will honour it to 1 March, while others will not, and the difference is decided by the fine print nobody reads until the item breaks. A fixed-rate mortgage period of five years from 1 April 2021 ends on 31 March 2026, and the day you slip onto the variable rate is the day your payment jumps. Put every one of these dates in your calendar with a reminder a month before, not on the day itself. The reminder is the whole point. The calculation is just the first step.
Why "three months" is never quite three months
If there is one sentence in this guide worth remembering, it is this: a calendar month is not a unit of time, it is a unit of the calendar. Three months from 1 February is 89 days in a normal year and 90 in a leap year. Three months from 1 July is 92 days. Three months from 1 November is 92 days too, but three months from 1 December is 90. The same words, four different lengths, and the difference is three days — enough to miss a deadline, enough to miscalculate interest, enough to matter. Whenever a contract, a tenancy or a plan says "months", ask which months, and count the days. The calculator does exact calendar arithmetic for exactly this reason: it knows which months have 31 days and which have 30, and it does not have to guess.
The same warning applies to the phrase "a year", which is 365 days three years in four and 366 in the fourth. A five-year period contains one or two leap days depending on where it starts, and a "five-year" fixed rate that starts in 2024 contains two leap days — 29 February 2024 and 29 February 2028 — making it 1,827 days, not 1,825. Two days of interest on a large mortgage is real money, and it is the kind of money that appears on a statement as a small, unexplained line, and gets paid without a question because nobody can be bothered to check. Be the person who checks. It takes thirty seconds, and it is your money.
The mistakes everyone makes with dates
- Forgetting the leap day. Any span crossing February in a leap year is a day longer than the same span in other years. 28 February to 1 March 2024 is 2 days, not 1.
- Confusing the difference with the inclusive count. The difference between the 28th and the 1st is 2 days; the number of dates touched is 3. Know which question you are answering.
- Treating a month as 30 days. Over a year, the error is five days. Over a five-year mortgage, it is the better part of a month.
- Counting the start day twice. A twelve-month tenancy starting 15 June ends 14 June, not 15 June. The start day is day one, not day zero.
- Assuming "three months" means 90 days. It means the same date three calendar months later, and the day count depends entirely on which months those are.
Anniversaries, and the date that moves
There is one more date-counting habit worth naming, because it comes up every year in every family: the anniversary. A couple married on 15 June 2019 celebrate their fifth anniversary on 15 June 2024, and the gap is five years — but the day count is 1,827 days, not 1,825, because the period contains two leap days, 29 February 2020 and 29 February 2024. Nobody counts an anniversary in days, of course, and that is precisely the point: anniversaries are counted in calendar years, by matching the month and day, and the leap days inside them are invisible. The trouble starts only when someone converts — a "five-year" insurance policy, a "ten-year" guarantee — and discovers that the day count and the year count disagree by two. They are both right. They are measuring different things.
And one last thought, from Amara, who married on 1 March 2024 and still tells the story of the argument with her sister: the calendar is not out to trick you. It is just irregular — months of different lengths, a leap day with a century exception, a counting convention that changes the answer by one — and irregular systems punish confidence and reward checking. Count the days, include the leap day, mind the end date, and keep a day in hand. Then go and enjoy the thing you were counting down to, which is, after all, the entire point.
A second worked example: a full year, counted properly
From 1 January 2026 to 1 January 2027 is 365 days. The same span a year earlier, 1 January 2024 to 1 January 2025, is 366 days, because 2024 is a leap year and 29 February 2024 falls inside the span. The difference is exactly one day, and it is exactly the day people forget. If you are counting a one-year contract, a one-year visa or a one-year warranty, check whether a 29 February falls inside it before you write the end date down. The calculator does this automatically. Your head, under deadline pressure, does not.
The mistake that quietly breaks the most counts is treating every month as 30 days. Three months from 1 February 2026 is not 90 days later, which would be 2 May. February has 28 days in 2026, March has 31 and April has 30, so three calendar months from 1 February is 89 days, landing on 1 May — one day earlier than the 30-day rule says. One day is nothing until it is the day a contract expires, a payment is due, or a visa runs out. Count the calendar, not the shortcut, and when the date matters, run it through the calculator twice: once forwards from the start date and once backwards from the end date. If the two answers agree, you can trust the number.
Sources and references
The formula, ranges and facts used by this calculator follow these authoritative sources, so the method can be checked against the same references professionals use:
- National Institute of Standards and Technology — calendar and time standards
- Time.gov — official U.S. time
Written and reviewed by the CalculatorsBlast editorial team · Last updated: 20 November 2026 · Results are estimates for guidance only and are not medical, financial or professional advice — see the Disclaimer linked in the footer.
Frequently asked questions
How many days are there between 28 February and 1 March 2024?
Two days, because 2024 is a leap year and 29 February sits between them. From 28 February to 29 February is one day, and from 29 February to 1 March is another. In a non-leap year like 2023, the same two dates are only 1 day apart, because February has 28 days and 1 March follows directly.
How do I count the days between two dates?
Subtract the earlier date from the later one using exact calendar arithmetic — the calculator does this for you, including leap days. The difference is the number of days that pass between them, not the number of dates touched, so 28 February to 1 March 2024 is 2 days, even though three calendar dates are involved.
What is the difference between inclusive and exclusive date counting?
Exclusive counting gives the elapsed time between two dates — 28 February to 1 March 2024 is 2 days. Inclusive counting adds the end date and gives the number of dates covered, which is 3. Count inclusively for holidays, courses and tenancies, where you occupy the last day; count exclusively for deadlines, where the last day is when time runs out.
How many days are in three months?
It depends on which three months. Three months from 1 February is 89 days in a normal year, three months from 1 July is 92 days, and three months from 1 December is 90 days. A month is not 30 days, so never convert months to days by multiplying — count the actual calendar, or let the calculator do it.
How do leap years affect the days between two dates?
Any span that crosses 29 February in a leap year is one day longer than the same span in other years. The rule is that a year is a leap year if it divides by four, except centuries, which must divide by four hundred — so 2024 is a leap year, 2100 will not be, and 2000 was one.
How many days until my wedding?
Enter today's date and your wedding date in the calculator and read the days figure — that is your countdown. Remember that the calculator counts days, not sleeps: if it says two days, there are two sleeps to go in a leap-year February and one in any other year. Keep a day of margin for anything that has to arrive before the wedding itself.
How many weeks are there between two dates?
Divide the day difference by seven. A span of 2 days is 0 weeks and 2 days, while a span of 45 days is 6 weeks and 3 days. Weeks are the most honest unit for short spans, because a week is always exactly seven days, with no leap weeks and no months of different lengths hiding inside it.
How do I work out the days between two dates in different years?
Subtract the dates exactly, counting every day including leap days. From 15 June 2019 to 15 June 2024 is 1,827 days, not 1,825, because the period contains two leap days. The calculator handles multi-year spans automatically, so you never have to add up the years by hand.
Does the time of day matter when counting days between dates?
No, for date differences — the calculation uses whole calendar days, so 28 February to 1 March is 2 days whether you count from morning or evening. Time of day only matters when you are measuring an exact duration in hours and minutes, which is a different calculation and the job of the time duration calculator.
How many days is 90 days from 1 January?
In a non-leap year, 90 days from 1 January is 1 April — January has 31 days, February 28, and March 31, which add up to 90. In a leap year, 90 days from 1 January is 31 March, because February has an extra day. For visa purposes, always count using the calculator and leave a day of margin.
What does 'within 10 days' mean for a deadline?
It usually means the deadline falls ten days after the starting date, not counting the start day itself. Ten days from 28 February is 10 March in an ordinary year and 9 March in a leap year. When the stakes are legal, count both ways, take the shorter interpretation, and act a day early.
How long is a twelve-month tenancy starting 15 June?
It ends on 14 June the following year, not 15 June, because the start date is day one and twelve months from day one ends the day before the anniversary. A notice period works the same way: two months' notice served on 10 March expires on 9 May. Always count tenancies inclusively and serve notice a day early.
How do I count days for a Schengen 90-in-180 visa rule?
The 180-day window rolls — it is not a fixed block — so you count backwards 180 days from today and add up the days you spent in the zone. The calculator gives you the day difference for any single stay, but the rolling total needs a separate tally. Overstaying by a single day can mean a fine or a refused entry, so keep a day of margin.
Why do two date calculators give different answers?
Usually because one counts inclusively and the other does not — the difference is exactly one day — or because one handles leap years and the other treats February as always 28 days. Check the inclusive setting first, then check whether a 29 February sits inside the range. Those two explain almost every disagreement.
How many days are there in a year?
365 in an ordinary year and 366 in a leap year. A five-year period contains one or two leap days depending on where it starts — five years from 1 January 2024 is 1,827 days, because it contains 29 February 2024 and 29 February 2028. If you are calculating interest or a fixed-rate period, those extra days are real money.
How do I work out someone's age in days?
Subtract their date of birth from today's date and read the total days. A person born on 15 June 1990 had lived 13,304 days by 17 November 2026. The age calculator on this site does this directly and also gives the age in years, months and days, which is the figure most people actually want.
What is the date 100 days from today?
Add 100 days to today's date using the calculator, which counts the real calendar including month lengths and leap days. Adding 100 days by hand usually goes wrong around February, because people assume the months are all 30 days. Enter the start date, add the days, and read the resulting date rather than guessing.
How many days are between Christmas and New Year?
From 25 December to 1 January is 7 days. If you are counting the working days between them, it is fewer — in 2026, Christmas Day falls on a Friday and New Year's Day on a Friday, leaving four working days from Monday to Thursday, and many offices close for those too.
Can I count the days between two dates in the past?
Yes — the calculation works the same way in either direction, and the calculator gives you the absolute difference. It is useful for working out how long ago something happened, how long a relationship or a job has lasted, or how many days have passed since an event you want to mark.
How do I find the date halfway between two dates?
Work out the total days between them, halve it, and add that many days to the start date. For a span of 2 days, halfway is 1 day in — 29 February 2024, in the Amara example. For longer spans, halve the days and round to the nearest whole day, since there is no such thing as half a calendar day in this context.
What is a leap day baby's birthday in a non-leap year?
It depends on where you live and what you are celebrating. Many leap-day babies celebrate on 28 February or 1 March, and in the UK, for most legal purposes, a person born on 29 February legally turns a year older on 1 March in non-leap years. For exact age calculations, the age calculator handles leap-day birthdays precisely.
How many days are left in the year from today?
Subtract today's date from 31 December of the same year. From 17 November 2026 there are 44 days left in the year — 13 days of November remaining plus 31 days of December. It is a useful number for year-end planning, annual leave and tax deadlines, and it shrinks faster than it feels like it should.
Last updated: 20 November 2026