Skip to main content

Days Between Dates Calculator With Exact Month Logic

Calculate the exact number of days, weeks, months, and years between any two dates. Choose between calendar days or business days, with optional holiday exclusions.

Loading calculator...

A project manager promises the client a 90-day delivery window starting March 1. She opens a spreadsheet, types “=June 1 − March 1,” gets 92, and calls it close enough. The contract lawyer later points out the deliverable was due May 29 because the agreement counts calendar days exclusive of the start date. Two days may not sound like much until a penalty clause kicks in. A date difference calculator that shows the exact count — in days, weeks, months, and years — and lets you toggle inclusive versus exclusive counting keeps everyone on the same page.

Pick two dates to get a full breakdown: calendar days, business days, weekends, and an optional holiday filter. The result also splits the span into years, months, weeks, and leftover days so you can quote whichever unit the situation calls for.

Inclusive vs Exclusive: The One-Day Swing That Changes Deadlines

Exclusive counting gives you the pure mathematical difference — January 1 to January 10 equals 9 days. Inclusive countingtreats both endpoints as part of the range, so the same pair yields 10. Most legal contracts and notice periods specify which mode applies, but if yours does not, the default assumption varies by jurisdiction. Mortgage interest accrual, for instance, typically uses exclusive counting while hotel stays count inclusively (check-in day through check-out day).

The toggle in this calculator lets you switch between the two and see the effect instantly — no mental “plus one / minus one” gymnastics.

Why “Three Months” Doesn’t Always Mean the Same Number of Days

January 1 to April 1 is exactly three calendar months — but that’s 90 days in a regular year and 91 in a leap year. February 1 to May 1 is also three months yet it covers 89 days (non-leap) or 90. The breakdown section here reports both: the human-readable “3 months, 0 days” and the raw day count underneath, so you pick the unit that matches your contract or policy language.

This matters most for invoice net terms, subscription billing, and probation periods where “90 days” and “3 months” are not interchangeable.

Calendar Days vs Business Days: Choosing the Right Basis

Calendar days count every day on the grid — weekends and holidays included. Business days strip out Saturdays and Sundays, and optionally remove US federal holidays. A 30-calendar-day window starting on a Friday might contain only 21 or 22 business days depending on which holidays fall inside it.

If your workplace uses a Friday/Saturday weekend (common in parts of the Middle East) or observes a regional holiday set, the business-day figure here won’t match your real schedule. Use the calendar-day count as the baseline and subtract your own non-working days manually in that case.

Interpret the Output: Days, Weeks, and the Percentage-of-Year Number

Total days appears at the top — that is the headline figure most people need. Below it the breakdown splits the span into years, months, weeks, and remaining days. The percentage-of-year metric tells you what fraction of a calendar year the span covers, useful for prorating budgets or subscription fees.

If the count looks off by one compared to another tool, check the inclusive / exclusive toggle first. That single setting is almost always why two calculators disagree.

Short Answers People Search

  • How many days between two dates? Enter both dates, leave counting on exclusive, read the “Total calendar days” line.
  • Does the calculator count the start date? Only in inclusive mode. Exclusive mode starts counting from the day after.
  • Are leap years handled? Yes. February 29 is included in the count when it falls inside the range, and the year-month breakdown adjusts accordingly.
  • Which holidays does business-day mode remove? US federal holidays only. It does not cover state, local, or company-specific days off.

Related tools: Business Days Calculator for a dedicated working-day counter with custom holidays, How Long Since / Until for elapsed time with hours and minutes, Age Calculator for birthday-to-date breakdowns, and Leap Year & Calendar Helper for checking February edge cases.

Calculations use the Gregorian calendar. Business-day counts assume a Monday–Friday work week with optional US federal holidays — they do not cover regional, state, or company-specific schedules.

Frequently Asked Questions

What's the difference between inclusive and exclusive counting?

Exclusive counting gives you the mathematical difference between dates (how many days pass between them, exclusive counting = mathematical difference). Inclusive counting includes both the start and end dates in the count (inclusive counting = includes both dates). For example, from January 1 to January 3: exclusive = 2 days (Jan 1 to Jan 3 = 2 days difference), inclusive = 3 days (Jan 1, Jan 2, Jan 3 = 3 days total). Use inclusive for things like vacation days, rental periods, or when both dates are 'used' days (inclusive counting for periods where both dates are used). Understanding count modes helps you see which to use for different scenarios.

Why might I need business days instead of calendar days?

Business days are important for work-related calculations like project deadlines (business days for project planning), shipping estimates (business days for delivery estimates), payment terms (e.g., 'Net 30 business days', business days for payment terms), or legal notice periods (business days for notice periods). They exclude weekends and optionally holidays, giving you a more realistic count of actual working days (business days exclude weekends and holidays, realistic working day count). Understanding business days helps you see when to use them instead of calendar days.

Which holidays does this calculator recognize?

This calculator uses US Federal Holidays (US Federal Holidays only, not state holidays): New Year's Day (January 1), Martin Luther King Jr. Day (3rd Monday in January), Presidents' Day (3rd Monday in February), Memorial Day (Last Monday in May), Juneteenth (June 19), Independence Day (July 4), Labor Day (1st Monday in September), Columbus Day (2nd Monday in October), Veterans Day (November 11), Thanksgiving (4th Thursday in November), and Christmas Day (December 25). State holidays and observances are not included (state holidays not included, international holidays not included). Understanding holiday recognition helps you see which holidays are excluded from business days.

How are holidays that fall on weekends handled?

We show all federal holidays that occur within your date range (all holidays shown in holiday list). When calculating business days, only holidays falling on weekdays are subtracted from the count, as weekends are already excluded (weekday holidays subtracted, weekend holidays not subtracted since weekends already excluded). For example, if Independence Day (July 4) falls on a Saturday, it is shown in the holiday list but not subtracted from business days since Saturday is already excluded. Understanding holiday handling helps you see how holidays affect business day calculations.

Can I calculate dates in the past?

Yes! You can use any dates, past or future (past dates supported, future dates supported). If your end date is before your start date, the calculator will swap them automatically and show a note indicating this (reversed dates swapped automatically, note shown). The duration calculation works the same way (duration calculation works for any date range). Understanding date range flexibility helps you see that the calculator works for any valid date range.

How accurate is the year percentage calculation?

The percentage uses 365.25 days as a year length to account for leap years on average (year percentage uses 365.25 days, accounts for leap years). This gives a good approximation for most purposes (good approximation for most purposes). For exact calculations involving specific years, consider the actual leap year status of those years (exact calculations may vary by specific years, consider actual leap year status). Understanding year percentage accuracy helps you see how to interpret the percentage correctly.

What are the milestones shown?

Milestones mark common significant points within your date range (milestones mark significant points in range): 1 week, 1 month, 100 days, 6 months, 1 year, 500 days, 1000 days, and multi-year marks (milestone examples: 1 week, 1 month, 100 days, 6 months, 1 year, 500 days, 1000 days, multi-year marks). These can be helpful for celebrations, reviews, or tracking progress (milestones useful for celebrations, reviews, progress tracking). Understanding milestones helps you see how to use them for planning and tracking.

Does this account for time zones?

This calculator works with dates only (not times), so time zones don't affect the results (dates only, no time zones). All dates are treated as midnight in your local time zone (dates treated as midnight local time). For calculations involving specific times across time zones, you'd need a more specialized tool (time zone calculations need specialized tools). Understanding time zone handling helps you see when this calculator is appropriate to use.

How do I calculate someone's age?

While you can use this calculator for age (set birth date as start, today as end, can use for age calculation), our dedicated Age Calculator provides more age-specific features like zodiac signs, next birthday countdown, and more (dedicated Age Calculator has more features: zodiac signs, next birthday countdown). Find it in our Time & Date Tools category (Age Calculator in Time & Date Tools category). Understanding age calculation options helps you see when to use the dedicated Age Calculator instead.

What's the maximum date range supported?

The calculator supports date ranges over 100 years (supports ranges over 100 years), though very large ranges may show an approximation warning (very large ranges may show approximation warning). For typical use cases (projects, events, age calculations), accuracy is maintained (typical use cases maintain accuracy). Understanding date range limits helps you see when the calculator is appropriate to use.

How is the breakdown (years, months, weeks, days) calculated?

The breakdown is calculated step-by-step: Years = differenceInYears(EndDate, StartDate), then Months = differenceInMonths(EndDate, DateAfterYears), then RemainingDays = differenceInDays(EndDate, DateAfterMonths), then Weeks = floor(RemainingDays ÷ 7), and Days = RemainingDays % 7 (breakdown calculation: years first, then months, then weeks and days from remaining days). This provides a more intuitive representation of time between dates (breakdown provides intuitive time representation). Understanding breakdown calculation helps you see how time is expressed in familiar units.

What factors affect date difference calculation that this tool doesn't account for?

This tool does not account for many factors that affect real-world date difference calculation: legal definitions (contract terms, notice periods vary by jurisdiction, tool doesn't account for legal definitions), time zones (date boundaries vary by time zone, tool doesn't handle time zones), calendar systems (Gregorian vs other calendars, tool uses Gregorian only), holiday schedules (varies by country, region, organization, tool uses US Federal Holidays only), and many other factors. Real date difference calculation accounts for these factors using detailed legal services, time zone handling, calendar conversion, and comprehensive date analysis. Understanding these factors helps you see why professional services are necessary for comprehensive date difference calculation systems.

Related Time & Date Tools

Explore More Time & Date Tools

Calculate ages, business days, countdowns, time zones, and more with our suite of time and date tools.

How helpful was this calculator?

Days Between Dates: Exact Months + Years