EasyCalEasyCal
πŸ“…
Date & time

Date difference calculator

Find the span between two datesβ€”optionally include the end day for inclusive counts.

Select dates

Choose start and end; optionally count the end date as an extra day.

Live
Pick a start date and an end date to see the span summary.

Deep guide Β· Daily utilities

Date difference calculator β€” days, weeks, months, and business days between two dates

Between 15 January 2024 and 7 July 2026 sits 904 days β€” 2 years, 5 months and 22 days, or 129 weeks with 1 left over. Take out Saturdays and Sundays and you're left with 646 business days. That part is arithmetic. The part that actually trips people up is which counting convention applies β€” whether both endpoints count, whether weekends and holidays should be stripped out, and why a plain years-times-365 estimate is reliably wrong.

Below: the breakdown by unit and how it's actually computed, the inclusive-versus-exclusive question that causes most real disputes, why leap years and uneven month lengths break shortcut math, and how this plays out for a few things people actually use it for β€” notice periods, hotel nights, a 90-in-180 travel-day limit, and the day-first-vs-month-first mix-up that quietly throws off a date entered the wrong way round.

The gap, broken down by unit

However you slice it, it's the same 904-day gap β€” these are just different units for reading it.

UnitValue
Years, months, days2y 5m 22d
Total days904
Total weeks (+ remainder days)129 weeks, 1 days
Business days (Mon-Fri only)646

The years/months/days row isn't total days divided by 30 and 365 β€” it's built by comparing the year, month, and day components of each date directly, borrowing a month's worth of days (or a year's worth of months) whenever a component would otherwise go negative. It's the same method you'd use to work out someone's exact age from a birth date, and it's also why the figure can't be shortcut with fixed 30- or 365-day assumptions β€” more on that below.

Doing it by hand

The total-days figure doesn't come from counting the y/m/d breakdown above and converting it β€” it's computed the other way round, which is also how you'd do it by hand without a calculator:

  1. Convert each date to a single day number counting from a fixed reference point β€” this sidesteps the irregular month-length problem entirely.
  2. Subtract the earlier day number from the later one to get the total elapsed days directly: 904.
  3. Divide by 7 for weeks: 904 Γ· 7 = 129 weeks with 1 left over.
  4. For a business-day count, walk the range day by day and keep only Monday through Friday: 646.

The years/months/days figure is a separate calculation layered on top β€” comparing calendar components and borrowing across units β€” which is why the two methods can feel like they disagree unless you remember they're answering slightly different questions.

Inclusive or exclusive β€” the question behind most disputes

This calculator counts exclusively by default: it measures the elapsed time between the two dates without treating either endpoint as an extra full day. A quick illustration β€” a countdown that starts on day 1 and ends on day 10 has elapsed 9 days exclusively, but spans 10 calendar days inclusively, since the inclusive count adds one to cover both ends.

Which one is "right" depends entirely on what's being asked. Hotel stays, rental leave, and "how many days does this event span" questions are usually inclusive; elapsed-time and scheduling questions are usually exclusive. Confirm which one a specific rule wants before treating a total as final for anything with money or a deadline attached to it.

Why you can't just multiply years by 365

Try shortcutting this range as years Γ— 365 + months Γ— 30 + days and you'd get 902 days β€” 2 days off the real total of 904. The gap comes from two things: months that actually run anywhere from 28 to 31 days, not a flat 30, and leap years adding a real 29th of February roughly once every four years. Calculating from the actual calendar dates β€” which is what happens the moment you enter real start and end dates rather than approximating β€” absorbs both automatically, with no separate leap-year check required. The rule itself has its own small exception, for what it's worth: a year divisible by 4 is a leap year, unless it's also divisible by 100, in which case it isn't β€” unless it's also divisible by 400, in which case it is after all. 2024 and 2028 are leap years under any reading of that rule; 2100 will not be, even though it's divisible by 4.

Business days vs calendar days

A calendar-day count includes every day of the week; a business-day count strips out Saturdays and Sundays. Over this range that's the difference between 904 calendar days and 646 business days β€” 258 weekend days removed. That gap matters for anything quoted in working time: a "10 business day" bank transfer or passport turnaround can stretch close to two calendar weeks once enough weekends land inside the window.

One thing this figure doesn't do automatically: exclude public holidays. A strict legal or payroll business-day count usually needs those removed too, and which days count depends on the specific holiday calendar in play. Some regions also don't run a Saturday-Sunday weekend at all β€” parts of the Gulf use Friday-Saturday instead β€” so a cross-border calculation needs that checked explicitly rather than assumed.

In India specifically, bank holiday calendars vary by state β€” a working day in Mumbai can be a bank holiday in Chennai or Kolkata because of a regional festival that only that state observes. A "3 working day" cheque clearance or fund-transfer timeline quoted by a bank is only as accurate as the holiday list for that specific branch's state, not a generic Monday-to-Friday count.

Where this actually gets used

Say a rental agreement requires 30 days' written notice, and notice goes out on 15 January 2024. Counted exclusively, the earliest valid termination date is 14 February 2024 β€” 30 full days later, not "one calendar month later," since months run short or long depending on which one you land in. If the agreement specifies business days instead of calendar days, weekends inside that window push the real deadline later still, which is exactly the kind of gap that turns into an actual dispute between two sides who each assumed a different counting rule.

Hotel bookings count nights, not calendar days touched β€” check in on one date and check out two days later, and you're billed for two nights, the exclusive count, not an inclusive one. Visa and immigration day counts tend to go the other way: most "days present" rules, including 90-in-180-day style limits, count the day you enter and the day you leave as full days each, which is inclusive counting. Same underlying calculation, different convention β€” mixing the two up is an easy way to misjudge how many days you actually have left.

The same logic covers plenty of lower-stakes counting too β€” days left until an exam, a wedding, or a flight; how long a project task has actually been open; how many days of leave someone has taken so far this year. On the finance side, interest accrual on a fixed deposit or loan is usually calculated on the real number of days between the value date and maturity date, not a flat 30-day month β€” the same exclusive day count this page produces, worth keeping in mind alongside EasyCal's FD calculator.

Worked example: a 90-in-180-day travel limit

Short-stay Schengen-style visas typically cap you at 90 days present within any rolling 180-day window, counting the day you arrive and the day you leave as full days each β€” inclusive counting, not this page's exclusive default. Starting a stay on 15 January 2024, day 90 of that count falls on 13 April 2024, and the 180-day window anchored to the same start date runs through 12 July 2024.

The practical trap is that it's a rolling window, not a fixed block tied to the calendar year β€” a second trip later on can still push you over the limit even if each individual visit looked short by itself. The only reliable check is adding up actual days present across every visit that falls inside the 180-day window looking back from any given date, not just the most recent trip.

A date-format mix-up worth watching for

India writes dates day-first β€” 15/1/2024 for 15 January. A lot of international tools, spreadsheets, and US-built software default to month-first instead, so 07/05/2026 reads as 5 July to one system and 7 May to the other. If a date anywhere ever lands a month or more off from what you expected, this is almost always why β€” not a calculation error, but two systems reading the same three numbers in a different order.

Typing the month out by name, or using a date picker instead of digits, avoids the ambiguity entirely. It's worth double-checking especially when a date has been copied in from a spreadsheet or a form field that doesn't display it as a picker.

Getting it right

Most disagreements about a calculated date range come down to one of these, not an arithmetic mistake:

  • Confirm which date is earlier before subtracting β€” a reversed start and end date gives a negative or nonsensical answer.
  • Decide inclusive or exclusive counting before you start, not after you already have a number you like.
  • If "business days" is the actual requirement, exclude weekends β€” and check whether public holidays need excluding too.
  • Don't approximate months as a flat 30 days for anything that has to be exact; use the real calendar dates.
  • For a legal or contractual deadline, check the exact wording of the document itself β€” a generic calculator is a starting estimate, not the final word.
  • If two tools give you two different answers for the same pair of dates, check their counting conventions before assuming either one is broken β€” they're usually both right, just answering slightly different questions.

Key takeaways

  • 15 January 2024 to 7 July 2026: 904 days (2y 5m 22d), counted exclusively.
  • That's 646 business days once weekends are stripped out β€” public holidays aren't excluded automatically.
  • A naive years Γ— 365 estimate would be off by 2 days here, purely from month length and leap years.
  • Inclusive vs exclusive counting is the single biggest source of off-by-one disputes β€” confirm which one applies before relying on a total.
  • For notice periods, contracts, and visas, check the governing document's exact wording; this calculator is a fast estimate, not the final word.
  • India writes dates day-first (DD/MM/YYYY) while many international tools default to month-first β€” double-check any date that lands a month or more off from what you expected.

Frequently asked questions

How many days are there between 15 January 2024 and 7 July 2026?
Exactly 904 days, using exclusive counting β€” that's 2 years, 5 months, and 22 days, or 129 weeks and 1 extra days.
Is that inclusive or exclusive of the start and end date?
Exclusive by default β€” it measures the elapsed time between the two dates without adding an extra day for either endpoint. If you need an inclusive count instead, where both the start and end date are counted, add 1 to the total.
How many of those are business days?
646, once Saturdays and Sundays are removed. That figure doesn't strip out public holidays automatically β€” do that separately if your situation needs it.
Why doesn't years times 365 give the same answer?
Because real months run anywhere from 28 to 31 days, not a flat 30, and leap years add a genuine extra day roughly once every four years. For this exact range, that shortcut would land about 2 days off the real total.
Does time zone affect the day count?
Not for a plain calendar-date comparison β€” a calendar date is the same regardless of time zone. It only starts to matter if you're comparing exact timestamps rather than dates.
Why do two different date calculators sometimes give different answers for the same two dates?
Almost always because one is counting inclusively and the other exclusively, or because one is comparing timestamps rather than plain calendar dates. Check which convention a tool uses before comparing its output against another one.
How do hotels count the length of a stay?
By nights, which is an exclusive count. Check in on one date and check out two days later, and that's billed as two nights, not three calendar days.
How should I count a notice period or contract deadline?
Count the exact number of days (or business days, if the document specifies that) forward from the trigger date using the real calendar, not by adding 'one month.' Then check the document's own wording for whether the trigger date itself counts as day one.
Do visa or immigration day-count rules work the same way?
Usually not. Most 'days present' limits, including 90-in-180-day style rules, count both the entry day and the exit day as full days β€” that's inclusive counting, the opposite of this calculator's exclusive default. Add a day if you're checking a rule like that.
Can I use this to work out someone's exact age?
Yes β€” set the start date to a birth date and the end date to today, and the years/months/days breakdown above is the standard way to state an exact age. EasyCal's dedicated age calculator does the same calculation with a few extra details, like a countdown to the next birthday.
Why did my date come out a month off from what I expected?
Almost always a day-first vs month-first mix-up β€” India writes dates DD/MM/YYYY, while a lot of international tools default to MM/DD/YYYY. 07/05/2026 means 5 July to one system and 7 May to the other. Typing the month by name, or using a date picker instead of digits, avoids the ambiguity.
What happens if I enter the end date before the start date?
You'll get a negative day count, which almost always means the two dates got swapped by mistake. Put the earlier date in the start field and the later one in the end field β€” or, if you only need the size of the gap and not which side of it you're on, just drop the minus sign.

Where this leaves you

A date-difference figure is easy to get right and easy to misapply. Once you're clear on inclusive vs exclusive counting, calendar vs business days, and which document or rule actually governs your specific case, the underlying arithmetic β€” even across leap years and uneven month lengths β€” takes care of itself. Use it as a fast, reliable starting point for a deadline, a countdown, or a travel-day count, and check the exact wording of anything with legal, financial, or immigration consequences before treating the number as final.

Methodology

Figures above are computed live from the dates you enter (or the illustrative defaults shown) using exclusive calendar-day counting and real Gregorian calendar rules β€” no fixed 30- or 365-day assumptions. Business-day figures remove Saturdays and Sundays only; public holidays aren't excluded unless you account for them separately. Where no dates have been entered yet, the figures above use illustrative placeholder dates purely to show the calculator working β€” they update the moment you enter your own. None of the notice-period or visa examples above are jurisdiction-specific advice β€” check the actual document, statute, or rule that governs your situation.

More tools on EasyCal for loans, savings, and planning.

Educational content for general reference β€” verify contractual, legal, or immigration deadlines against the specific document, statute, or authority that governs them before relying on any calculation here for a real decision.