This free date difference calculator works out the exact date difference between any two dates — in years, months and days, and in total days, weeks and hours too. Pick a start date and an end date, and it also tells you which weekday each date falls on and whether the end date is in the past or the future. You can also add or subtract days from a date, share the result on WhatsApp, or copy it with one tap. Everything runs in your browser, so there is no sign-up and no personal details are needed.
Find the difference between two dates
Enter a start date and an end date. The calculator counts the days between them, not including the start date.
This tool counts the days between the two dates. The start date itself is not counted. So the difference between 1 January and 2 January is 1 day.
How to use this date difference calculator in 3 steps
Using the calculator takes less than a minute. There is nothing to install and nothing to sign up for.
- Pick your dates. Tap the start date box and choose the earlier date, then tap the end date box and choose the later date. You can pick from the calendar or type the date in.
- Tap “Calculate difference”. The answer appears at once: the gap in years, months and days, the total days, weeks and months, and the total hours, minutes and seconds.
- Read the extra details. You will also see which weekday each date falls on, and whether the end date is in the past or the future compared with the start date. Use the WhatsApp or Copy buttons to share the answer, or tap “Try an example” to see a ready-made calculation.
To add or subtract days instead, tap the “Add or subtract days” tab, enter a date and a number of days, choose Add or Subtract, and tap “Calculate new date”. The new date appears with its weekday.
What is a date difference?
A date difference is the amount of time between two calendar dates. It answers everyday questions such as “How many days are left until my exam?”, “How long is it from today until Diwali?” or “How many days did that project take?” The answer is usually given in years, months and days, because that is how people think about time. But the same gap can also be given as a single number — total days, total weeks or total hours — and each form is useful in a different situation. A student may want the total days left before an exam, a project manager may want total weeks, and a parent may want a child’s age in years and months.
A date difference is not the same as an age, although the two are related. An age is always measured from a date of birth to today (or to another date), while a date difference can be measured between any two dates, in either direction, and it can cover the past or the future. If you only want to know how many days are left until your birthday, try the birthday calculator. For an exact age, the date of birth calculator is the direct tool. This page is for every other gap between two dates.
How is a date difference counted? Inclusive vs exclusive
There are two ways to count the days between two dates, and their answers differ by exactly one day. That single day causes most of the confusion — and most of the wrong answers — when people count by hand.
Exclusive counting — what this tool uses. Count the days after the start date, up to and including the end date. The start date itself is not counted. So from 1 January to 2 January is 1 day, and from 1 January to 1 January is 0 days. This is the standard way to measure a gap, and it is the way this calculator works. It matches how we speak — “in 7 days” means a week from today, not today itself — and it is how most forms, deadlines and bookings count time.
Inclusive counting. Count both the start date and the end date. From 1 January to 2 January would then be 2 days, and from 1 January to 1 January would be 1 day. Some people use this when they count the days of an event: a festival that runs from Friday to Sunday is 3 days long when counted inclusively, even though the gap between Friday and Sunday is only 2 days. Neither way is wrong; they answer different questions. The mistake is mixing them up.
If your answer looks one day out, check which way you counted. This calculator always counts exclusively: it counts the days between the dates, not including the start date. If you need an inclusive count, add 1 to the total days.
Leap years matter too. February has 29 days in a leap year — a year divisible by 4, except century years, which must be divisible by 400. So 2024 was a leap year, 2100 will not be, and 2000 was. The calculator handles leap years automatically, so a gap that crosses 29 February is counted correctly.
Why do people check a date difference?
Almost everyone needs to count days at some point. These are the five reasons people use this tool most.
Deadlines and exams
Students and job seekers count the days left before an exam, an application deadline or an interview. An exact number of days makes it easier to plan study or preparation day by day, instead of guessing “about two months”. It also helps to split the work: if 60 days are left and there are 12 chapters, that is 5 days per chapter.
Holidays and travel
Families count the days until a holiday, a festival or a flight. It helps with booking tickets, asking for leave and packing — and with the fun of counting down. The same check works backwards: how many days ago did a trip start, or how long has it been since the last holiday?
Project planning
Project managers and freelancers measure how long a task took, or how much time is left before a delivery date. Total days and total weeks are the numbers that go into plans and invoices, and the years-months-days view helps when a project runs for many months. If a deadline moves, a quick new count shows the new gap at once.
Pregnancy and age
Parents and doctors often count the days or weeks between two dates — for example, from the first day of a last period to a due date, or from a baby’s birth date to a check-up date. Age itself is a date difference measured from a date of birth, and you can check an exact age with our date of birth calculator. For the gap between two children’s birthdays, the age gap calculator compares them side by side.
Events and anniversaries
Couples count the days until a wedding or an anniversary, and families count the days since a birth or a special day. The weekday detail matters here: knowing that an anniversary falls on a Saturday makes it easier to plan a celebration, book a venue or take the day off.
Worked examples
Here are four examples, worked out step by step, so you can check the tool against hand counting.
Example 1: 1 January 2024 to 5 December 2026
First count the whole years: 1 January 2024 to 1 January 2026 is 2 years. Then the months: 1 January 2026 to 1 December 2026 is 11 months. Then the days: 1 December to 5 December is 4 days. So the answer is 2 years, 11 months and 4 days. For the total days: 2024 is a leap year, so 1 January 2024 to 1 January 2025 is 366 days; 1 January 2025 to 1 January 2026 is 365 days; and 1 January 2026 to 5 December 2026 is 338 days. Add them: 366 + 365 + 338 = 1,069 days. That is 152 weeks and 5 days, or 35 months, or 25,656 hours. 1 January 2024 was a Monday and 5 December 2026 is a Saturday. Tap “Try an example” above to see this calculation in the tool.
Example 2: the same date twice
Start and end both 10 March 2025. The difference is 0 days, 0 weeks and 0 months — the two dates are the same, so there is no gap at all. The tool shows this plainly instead of an error, which is useful when you are checking whether two dates match.
Example 3: end before start
Start 20 August 2026, end 3 March 2026. The gap is 5 months and 17 days, or 170 days in total. The tool shows the size of the gap and adds a clear note: “End date is before Start date.” It also says the end date is in the past relative to the start date. If you meant the other direction, just swap the two dates.
Example 4: adding 100 days
15 June 2000 plus 100 days. June has 30 days, so 15 days take us to 30 June (15 days used, 85 left). July has 31 days, taking us to 31 July (54 left). August has 31 days, taking us to 31 August (23 left). The remaining 23 days take us to 23 September 2000 — a Saturday. So 15 June 2000 + 100 days = 23 September 2000. Try it in the “Add or subtract days” tab.
| Dates | Difference | Total days |
|---|---|---|
| 1 January 2024 to 5 December 2026 | 2 years, 11 months, 4 days | 1,069 |
| 10 March 2025 to 10 March 2025 | 0 days | 0 |
| 3 March 2026 to 20 August 2026 | 5 months, 17 days | 170 |
| 15 June 2000 plus 100 days | 23 September 2000 | — |
Date differences in India: DD/MM/YYYY, holidays and festivals
India writes dates as DD/MM/YYYY — day first, then month, then year. So 05/12/2026 means 5 December 2026, not 12 May. This causes mix-ups with tools or forms that expect the American MM/DD/YYYY order, where the month comes first. This calculator uses your browser’s own date picker, which follows your device’s format, so the date you pick is always the date you mean. If you type a date by hand, read it as day, month, year.
Indian holidays and festivals make good example dates, and they show why a date difference tool is handy. Independence Day, 15 August, is a fixed date every year: from 15 August 2026 to 15 August 2027 is exactly 1 year, or 365 days, because the gap does not cross 29 February. Republic Day, 26 January, is also fixed: from 26 January 2026 to 15 August 2026 is 6 months and 20 days — a useful countdown through the year. Christmas, 25 December, is fixed too, and many people count the days from Diwali to Christmas, or from one New Year to the next.
Diwali and Holi move each year because they follow the lunar calendar, so people count the days until them once the date is announced for the year. The same is true of Eid, which also shifts each year. When a festival date moves, a quick count tells you how much time is left to plan, shop or travel.
School dates matter as well. Many Indian school years start in April or June, and board exams usually fall in February and March. Parents count the days from the start of the school year to the exams, or from a child’s birthday to the school admission cut-off date — many schools use 31 March or 30 September as a cut-off. If you are comparing two children’s ages for admission, the age gap calculator shows the difference between their birth dates side by side. All dates on this site use the Gregorian calendar, which is the calendar used for official dates in India.
Common mistakes when counting days by hand
Most wrong answers come from one of five slips. The calculator avoids all of them, but it helps to know what to watch for when you count by hand.
- Counting the start date as well. If you count both the first and the last day, your answer is one day too big. Remember: this tool counts the days between the dates, not including the start date.
- Forgetting leap years. 29 February is easy to miss, and it changes the total by a day. A gap from 1 January 2024 to 1 March 2024 is 60 days, not 59, because February 2024 had 29 days.
- Treating every month as 30 days. Months have 28, 29, 30 or 31 days, and the short months add up over a long gap. February is the one people forget most.
- Mixing up DD/MM/YYYY and MM/DD/YYYY. 05/12 can mean 5 December or 12 May, depending on the format. Always check which order a form or a tool expects.
- Counting in the wrong direction. Subtracting the later date from the earlier one gives a negative number. The size of the gap is the same either way, but the “past or future” note flips, so check which date you put first.
More tools from The Age Calculator
Try the other free tools on this site. Each one works in your browser, with no sign-up.
One more tool is coming soon: a Retirement Age Calculator, for finding when you can retire. We are building it now, and it will appear here as soon as it is ready.
Frequently asked questions
How many days are there between two dates?
Enter the earlier date as the start date and the later date as the end date, then tap “Calculate difference”. The result shows the total days. For example, from 1 January 2024 to 5 December 2026 there are 1,069 days. The tool counts the days between the dates, not including the start date, so from 1 January to 2 January is 1 day.
Does this calculator count the start date?
No. It counts exclusively: the days between the dates, not including the start date. From 1 January to 1 January is 0 days, and from 1 January to 2 January is 1 day. If you need an inclusive count, where both the first and the last day are counted, add 1 to the total days.
How do I count the days until my birthday or an event?
Put today’s date (or any start date) in the start date box and the event date in the end date box. The result shows the total days left, and whether the event is in the future. If the event is a birthday, the birthday calculator also shows the countdown and the weekday of your next birthday.
What is the difference between 1 January 2024 and 5 December 2026?
2 years, 11 months and 4 days — 1,069 days in total. That is 152 weeks and 5 days, or 35 months, or 25,656 hours. 1 January 2024 was a Monday and 5 December 2026 is a Saturday. You can see this in the tool by tapping “Try an example”.
Can the end date be before the start date?
Yes. The tool still shows the size of the gap, and it adds a clear note: “End date is before Start date.” It also tells you that the end date is in the past relative to the start date. If you meant the other direction, swap the two dates and calculate again.
How do I add or subtract days from a date?
Tap the “Add or subtract days” tab above the calculator, enter the date, type the number of days, choose Add or Subtract, and tap “Calculate new date”. For example, 15 June 2000 plus 100 days is 23 September 2000, a Saturday.
Does the calculator handle leap years?
Yes. February has 29 days in a leap year — 2024 was one, and the next is 2028. The calculator counts 29 February whenever the gap crosses it, so a gap from 1 January 2024 to 1 March 2024 is 60 days, not 59.
Which weekday is a date?
The result shows the weekday for both dates. For example, 1 January 2024 was a Monday and 5 December 2026 is a Saturday. The add-or-subtract result shows the weekday of the new date as well.
Do I need to sign up, and is my information private?
No. There is no account, no sign-up and no fee. The calculation happens in your browser, and your dates are never sent to a server or stored anywhere.
Can I use this calculator for pregnancy or age?
Yes, it works for any two dates, including pregnancy dates and birth dates. For an exact age from a date of birth, the date of birth calculator is the more direct tool, because it gives the age in years, months and days with extra details.
Ready to count? Scroll back to the calculator at the top, enter your two dates, and get the exact gap in seconds. If you need an age instead, try the date of birth calculator or the birthday calculator.