Free Days Between Dates Calculator — Calendar + Business Days + Years/Months/Days
Drop two dates — get the exact day count, business days (Mon-Fri only), weeks, months, years, and the calendar Y/M/D breakdown. Past or future, either order, includes leap years.
- Instant result
- Private — nothing saved
- Works on any device
- AI insight included
Days Between Dates Calculator
You might also need
What This Calculator Does
This calculator tells you exactly how much time sits between two calendar dates — measured seven different ways at once. Drop in a start date and an end date in YYYY-MM-DD format, and it returns the total days, business days (Monday through Friday), the span in weeks, in months (decimal, using the average 30.44 days per month), in years (decimal, using 365.25 days per year to absorb leap years), and a clean years/months/days calendar breakdown that matches how a human would describe the gap aloud.
The math is order-independent. Past-to-future, future-to-past, or two dates centered on today — the calculator returns the absolute span and quietly notes when the end date precedes the start. That matters because real questions are messy: “how long since we signed?”, “how many weekdays until the launch?”, and “how old will my niece be at her wedding?” all reduce to the same primitive — the duration between two anchored dates. This page is the primitive.
How Calendar-Day Counting Works
There is one small but consequential decision baked into every date-difference question: do you count both endpoints, or only one? The default convention — and the one used by nearly every legal contract, hospital stay billing system, hotel night calculation, and loan amortization schedule — is exclusive of the end date. That is the same convention this calculator uses by default, with a toggle if you need to switch.
The hospital-stay model is the cleanest analogy. If you check in on the 1st and check out on the 4th, you stayed 3 nightsand the bill is for 3 nights — not 4. That is the exclude-end convention. But if a teacher says “the camp runs from June 1st through June 4th,” she means 4 days of camp — that is the include-end convention. The toggle on this page exists because both readings are legitimate; they just answer slightly different questions.
How to Use This Calculator
- Enter the start date using the date picker. Any valid Gregorian calendar date back to the 1850s works — birth dates, contract dates, historical milestones.
- Enter the end date. The order does not matter; if you swap them, the calculator shows the absolute span and flags the reversal in the verdict line so you know it noticed.
- Choose whether to include the end datein the count. Default is no (exclusive), which matches contracts, billing, and most everyday speech. Switch to yes when you’re counting active days like vacation or conference attendance.
- Read the result. The headline is total days. Below it you’ll see business days, weeks, months, years, and the Y/M/D calendar breakdown — pick whichever framing answers your actual question.
Three Worked Examples
Specific dates with verifiable math. Type any of these into the calculator above to confirm.
Example 1 — How long until summer break?
Start: 2026-04-25 (today). End: 2026-06-15 (last day of school). With the default exclude-end-date setting, the calculator returns 51 days total, of which 37 are business days — that is the realistic count of remaining school days, since weekends are already days off. The span is ~7.3 weeks, ~1.7 months, and the calendar breakdown reads 0y 1m 21d— which is exactly how a parent would describe it: “a month and three weeks left.” If you’re a teacher building a remaining-curriculum plan, the 37-business-day number is the one to anchor on.
Example 2 — Project timeline
Start: 2026-01-15. End: 2026-08-15. Total span is 212 days — exactly 7 months on the calendar breakdown, and 0.58 years in decimal. Subtracting weekends gives ~152 business days, which is the only number that matters for staffing and capacity planning. Note the honest caveat: that 152 figure does not subtract public holidays. In the United States, this seven-month window contains roughly six federal holidays (Memorial Day, Independence Day, plus a handful of bank holidays in winter and spring), so the realistic working-day count is closer to 146. Always do that subtraction by hand for any project plan that crosses a holiday season.
Example 3 — Anniversary count
Start: 2014-09-23. End: 2026-04-25. The calculator returns 4,232 days — that is roughly 3,024 business days, 11.6 years decimal, and the calendar breakdown reads 11y 7m 2d. The Y/M/D row is the one most people want here: “eleven years, seven months, and two days” matches the way a couple would write it on a card. The decimal-years version (11.6) is what an HR system or actuarial formula needs. Same span, same calculator, two different language registers depending on the answer’s destination.
Common Mistakes
- Off-by-one from the include/exclude toggle.The single most common error in date math. A contract that says “30 days from signing” almost always means exclusive — sign on Jan 1, deadline is Jan 31, not Jan 30. But a vacation policy that says “you have 14 days off” means 14 active days, the inclusive count. Read the source document before picking the toggle.
- Treating “months” as a fixed 30 days.The decimal-months field on this page uses 30.4375 (the true average across a 400-year Gregorian cycle). A loan or rental agreement that says “6 months” usually means six calendar months by anniversary date — Jan 15 to Jul 15 is 181 days, not 180. The calendar breakdown row is the right reference for those cases; the decimal-months row is the right reference for averaged or amortized math.
- Forgetting leap years. 365 days is wrong over a multi-year span. A decade contains either 2 or 3 leap days depending on the start year. The calculator uses 365.25 in the decimal-years field for exactly this reason — accurate to within one day per century.
- Counting business days without subtracting holidays.The Mon–Fri filter is the right starting point, but it does not know about Christmas, July 4th, or your country’s national day. For project planning across more than a month, subtract the public holidays in your jurisdiction by hand — typically 8–14 days a year in most countries.
- Mixing time zones into a date-only question.“Jan 1 in Tokyo to Jan 1 in New York” can be 0 days, 1 day, or 14 hours of overlap depending on which clock you anchor to. This calculator works on calendar dates only — not timestamps. If your question involves time zones, use a date-time tool, not this one.
- Entering dates in the wrong format. The input expects strict
YYYY-MM-DD.04/25/2026and25-04-2026are ambiguous (American vs European order) and will be rejected — by design. Always confirm the year-first ISO format when typing manually.
When This Calculator Decides For You
Date-difference math feels trivial in isolation, but the answers usually feed a real decision. Six common ones:
- Whether a contract deadline has actually arrived.Plug in the signing date and today’s date with exclude-end. If the result equals or exceeds the quoted notice period, the deadline has triggered — irrespective of weekends, unless your contract specifies “business days,” in which case use the business-days row.
- How many working days you actually have left on a project. The business-days field is the realistic capacity measure — not the total-days field. If you have 60 days but only 42 of them are business days, your team capacity is 42 × team-size person-days, not 60.
- How long a relationship, tenure, or membership has lasted. Use the calendar-breakdown row (Y/M/D). It is the only output that reads naturally on an anniversary card or in an HR profile. Decimal years feel clinical; the breakdown is conversational.
- Whether you have hit the 90-day, 180-day, or 365-day threshold. Visa renewals, return policies, probation periods, warranty expirations, and tax residency rules all trigger on day-count thresholds. The total-days field, exclude-end, is the legal default.
- How old someone will be on a future date. Use the calendar-breakdown row and read off the years. For more granular age math (with day-of-week, zodiac, and life-statistics), pair this with the age calculator.
- Whether two events are far enough apart to count as separate. Some rules — insurance claims, frequent-flyer status windows, medical procedure intervals — only count incidents as distinct if they fall outside a defined window. The total days output gives you the unambiguous gap to compare against.
Business Days, Holidays, and What This Calculator Doesn’t Model
The business-day count on this page subtracts weekends — Saturdays and Sundays. That is the correct first approximation for most countries operating on a Western workweek. It is also a deliberately simple model. Here is what it does not account for, and what to do instead in each case.
Religious calendars — Eid, Diwali, Lunar New Year, Yom Kippur, Easter Monday in some countries — shift year over year and depend on the observer. If your team is mixed, either build a per-team-member working-day calendar in a separate planner, or use this calculator’s output as a ceiling and adjust downward.
Friday-Saturday weekends apply in much of the Middle East and parts of South Asia. The Mon–Fri model on this page will overstate working days for those regions by exactly 1 day per week of the span. For a 6-month project (~26 weeks) that is a 26-day correction — meaningful enough to do manually.
Time zones, daylight-saving transitions, and partial-day measurements are out of scope. This is a calendar-day tool, not a time-zone tool. The two DST shifts each year do not affect day counts in the model — a 24-hour day is still a day even when one of them is actually 23 or 25 hours of wall-clock time.
Historical date conversions across the Julian-Gregorian transition (1582 in Catholic countries, as late as 1923 in Greece) are not handled. The calculator treats every date as proleptic Gregorian, which is the standard convention for modern software and what ISO 8601 specifies. For dates before about 1583, treat the result as a mathematical span, not a calendar one.
For related date and time math — countdown timers to a single future date, working-hour math across schedules, time-zone differences, and age-at-a-specific-date calculations — see the other tools in the date and time calculator collection. The age-on-a-future-date case in particular is more cleanly handled by the age calculator, which understands birthdays and the day-of-month rollover that this generic span calculator deliberately ignores.
Sources & Methodology
The formulas, thresholds, and benchmarks behind this calculator are anchored to the primary sources below. Where a study or agency document is the underlying authority, we link straight to it — not a summary or republished version.
- ISO 8601 — Date and Time Format· International Organization for Standardization
Canonical YYYY-MM-DD representation and rules for computing the duration in days between two calendar dates.
Accessed
- U.S. Naval Observatory — Julian Date Converter· USNO Astronomical Applications Department
Authoritative algorithm (Julian Day Number subtraction) used to compute exact day differences across centuries and leap years.
Accessed
- NIST — Leap Years and the Gregorian Calendar· National Institute of Standards and Technology
Reference for the 400/100/4-year leap rule the day-counting logic implements.
Accessed
- Britannica — Gregorian Calendar· Encyclopaedia Britannica
Foundational explanation of the 1582 Gregorian reform and proleptic-calendar conventions used for pre-1582 date arithmetic.
Accessed
Frequently Asked Questions
The most common questions we get about this calculator — each answer is kept under 60 words so you can scan.
Should I include or exclude the end date?
Depends on convention. Standard 'days between' arithmetic excludes the end date — Jan 1 to Jan 2 is 1 day. Legal and statutory date counting (e.g. notice periods, rent terms, court deadlines) typically includes both dates — Jan 1 to Jan 2 is 2 days. Use the toggle to match your context. The calculator shows both implicitly via the calendar breakdown.How is 'business days' calculated?
Mon-Fri only. The calculator walks the calendar day-by-day, incrementing the count when the day-of-week is 1-5 and skipping 0 (Sunday) and 6 (Saturday). Public holidays are NOT modeled — countries differ too widely. For US Federal holidays, manually subtract ~10 days/year; for India ~20 days; for UK bank holidays ~8. Pair with a country holiday list for true working-day counts.Are leap years handled correctly?
Yes. The calculator uses ISO date math via the platform's built-in calendar, which knows that 2024, 2028, etc are leap years (and 1900, 2100 are not, per the centennial-non-leap rule). A range from Feb 28, 2024 to Mar 1, 2024 spans 2 days because Feb 29, 2024 exists; the same range in 2025 spans 1 day.What's the difference between 'months' and 'days/30.44'?
Months are calendar-aware — Feb has 28-29 days, others have 30-31. The calculator's 'total months' divides total days by 30.4375 (average month length) for a quick approximation; the 'calendar breakdown' (Y/M/D) walks the actual calendar via month-length-aware borrowing. Use the Y/M/D breakdown for legal age / tenure / contract math; use 'total months' for quick averaging.Does timezone matter?
Marginally. The calculator uses local-midnight for both dates, so a date entered as 2025-06-15 is treated as midnight in your browser's timezone. For a 5-minute span around midnight, you may see a 1-day discrepancy compared to a UTC-anchored tool. For most use cases (week-counting, deadline-counting, anniversary math) this is invisible.Can I compute days between two times of day on the same date?
Not with this calculator — it operates on calendar dates only. If you need hour or minute resolution, use a duration calculator with HH:MM input. For business-hours counting (e.g. 'how many work-hours in this 3-day range'), pair Days Between with a Work Hours calculator (Phase 2).What if the dates are in different time zones?
Out of scope — the calculator doesn't model TZ-anchored dates. If you mean 'I'm in NYC, the deadline is 5pm London time on this date' — convert to your local date first, then enter both dates here. For automated TZ-aware date math, use Time Zone Converter (Phase 2).How do I count weeks between dates?
Total days ÷ 7 = total weeks (decimals OK). 100 days = 14.29 weeks. The calculator shows weeks to two decimals so you can extract 'roughly N weeks' or 'N weeks plus M days'. For ISO week-number counting (e.g. 'we're in week 18 of the year'), use Week Number Calculator (Phase 3).What's the largest range the calculator supports?
Any two valid ISO dates 0001-01-01 onward. JavaScript's Date covers ±275,000 years from 1970. Multi-millennium ranges work but the business-days walk gets slower (~1ms per 1000 days, so a 100-year range takes ~36ms — imperceptible). Practical use is decades to centuries; for cosmic timescales use a specialised tool.How is this different from a duration calculator?
Days Between is calendar-day arithmetic (whole days only). A duration calculator includes hours / minutes / seconds and is order-dependent (timestamps, not dates). Use Days Between for: deadline countdowns, anniversaries, project timelines, age-at-a-date. Use a duration tool for: race times, work-shift lengths, service-uptime windows.Why is 'months' a decimal not whole?
Because months aren't all the same length. The calculator gives both — total months as a decimal (days ÷ 30.4375) for averaging, and calendar Y/M/D as whole numbers (real calendar walk). The decimal is useful when comparing similar ranges; the whole-number Y/M/D is useful for legal / contractual / tenure math.Can I export or share the result?
Currently no — the calculator is browser-side only. Bookmark the page with the dates pre-filled in the URL once that feature ships. For now, take a screenshot or copy the result detail rows into a note. Privacy benefit: the dates never leave your browser, even when the AI insight panel is active (only the computed totals are sent).