My Calculator

Date Difference Calculator

Find the exact number of days, weeks, months, and years between two dates — with an option to exclude weekends and US federal holidays for a true business-day count.

Date DifferenceDays · Weeks · Months · Years

Holidays are matched against the 11 official US federal holidays, using the standard "observed" date when a holiday lands on a weekend.

Try an example

Days Until
30total days

= 0 years, 0 months, 30 days

August 31, 2026 (Monday) → September 30, 2026 (Wednesday)

30

Total Days

22

Weekdays (Mon–Fri)

8

Weekend Days

1

Holidays in Range

Deeper Breakdown

4

Total Weeks

0

Total Months

720

Total Hours

43,200

Total Minutes

2,592,000

Total Seconds

0

Leap Years Touched

Business Days Share of This Range73.3%

22 out of 30 days in this range are Monday–Friday. This share ignores holidays — turn on "Exclude US federal holidays" above to see the true working-day count.

Step-by-Step Solution

Here's exactly how this answer was calculated, one step at a time.

Given: From Aug 31, 2026 to Sep 30, 2026

  1. Step 1: Put the two dates in order

    Earlier date = August 31, 2026. Later date = September 30, 2026.
  2. Step 2: Subtract to get the raw day count

    This comes from the exact number of midnights between the two dates on the calendar, so leap years are automatically counted correctly.

    Total calendar days = 30 day(s) (end date not included)
  3. Step 3: Convert into years, months, and days

    0 raw year(s) were adjusted by checking whether the month and day had fully completed, the same way age is calculated from a birth date.

    0 years, 0 months, 30 days

The result is:

0y 0m 30d

Free Date Difference Calculator - Find Days Between Two Dates

Counting the days between two dates looks easy until you actually sit down and try it on a calendar. Months don't all have the same number of days, leap years throw an extra day into February every four years, and if you're planning work or a deadline, weekends and public holidays usually shouldn't count at all. This date difference calculator does the counting for you the moment you pick two dates. It gives you the exact number of days, weeks, months, and years between them, and it can also strip out weekends and US federal holidays so you get a real business-day total instead of a plain calendar count.

Whether you're tracking a project deadline, checking a contract term, working out how many days are left until a trip, or just settling a debate about how long ago something happened, this tool gives you an accurate answer in seconds, with no sign-up needed. It works equally well for short gaps of a few days and long spans of many years, and every number updates instantly as soon as you change either date.

How to Use This Date Difference Calculator

Using the calculator only takes a few clicks. Pick your two dates, and the result updates instantly.

  • Enter your Start Date using the date picker.
  • Enter your End Date. If you enter it before the start date by mistake, the calculator automatically swaps them so the count still runs forward.
  • Turn on "Exclude weekends" if you only want to count working days (Monday through Friday).
  • Turn on "Exclude US federal holidays" to also remove public holidays like New Year's Day, Thanksgiving, and Christmas from the count.
  • Turn on "Count the end date as a full day" if you want the end date itself included in the total (useful when counting hotel nights, rental periods, or inclusive date ranges).
  • Scroll down for the full breakdown in weeks, months, hours, and a weekday-by-weekday chart, plus a step-by-step explanation of the math.

How Is the Difference Between Two Dates Calculated?

At its core, finding the gap between two dates is simple subtraction, but doing it correctly by hand means keeping track of how many days are in each month you pass through and whether any leap years fall in between. This calculator uses calendar-accurate date subtraction, the same method used by payroll systems, project management tools, and government forms, so the answer always matches what you'd get by counting on an actual calendar.

  • Step 1 — The two dates are placed in order, earlier date first, so the count always runs forward.
  • Step 2 — The total number of calendar days between them is measured directly from the calendar, which automatically accounts for every leap year in between.
  • Step 3 — That day count is converted into years, months, and days by checking whether a full year, then a full month, has actually completed — borrowing from the next unit when it hasn't.
  • Step 4 — If you've asked to exclude weekends or holidays, those days are removed from the total to give you the working-day count.

Calendar Days vs Business Days: What's the Difference?

A "calendar day" count includes every single day between your two dates — weekdays, weekends, and holidays alike. A "business day" count only includes the days people are typically at work, meaning weekends are removed, and if you also exclude holidays, official public holidays are removed too.

This distinction matters a lot in practice. A shipping estimate of "5 business days" can easily stretch to a full calendar week or more once you account for a weekend or a holiday sitting in the middle of it. Contracts, notice periods, invoice due dates, and court filing deadlines very often specify business days rather than calendar days for exactly this reason, so it's worth double-checking which one applies before you rely on a date.

The 11 US Federal Holidays This Calculator Can Exclude

When you turn on "Exclude US federal holidays," the calculator checks your date range against the official list of US federal holidays, using the standard rule that shifts a holiday to the nearest weekday (called the "observed" date) when it falls on a Saturday or Sunday.

  • New Year's Day (January 1)
  • Martin Luther King Jr. Day (third Monday in January)
  • Washington's Birthday, commonly known as Presidents' Day (third Monday in February)
  • Memorial Day (last Monday in May)
  • Juneteenth National Independence Day (June 19)
  • Independence Day (July 4)
  • Labor Day (first Monday in September)
  • Columbus Day (second Monday in October)
  • Veterans Day (November 11)
  • Thanksgiving Day (fourth Thursday in November)
  • Christmas Day (December 25)

Should You Include the End Date? Inclusive vs Exclusive Counting

This is one of the most common sources of confusion when counting days between two dates, so it deserves a clear explanation. By default, this calculator counts the number of days you'd move forward from the start date to reach the end date — so January 1 to January 5 comes out to 4 days, because you take 4 steps forward to get there.

Some situations call for the opposite approach, where both the start date and the end date are treated as full days. This is called inclusive counting, and it's exactly how hotel stays, rental periods, and "day 1, day 2, day 3" style countdowns are usually measured. Turning on "Count the end date as a full day" switches the calculator into this inclusive mode, adding one extra day to the total so both endpoints are counted.

Weekday Breakdown: How Many Mondays, Saturdays, or Sundays Are in Your Range

Beyond the main total, this calculator also breaks your date range down day-by-day-of-the-week, so you can instantly see how many Mondays, Tuesdays, Saturdays, or any other weekday fall between your two dates. This comes up more often than you might expect — payroll teams need to know how many Fridays are in a pay period, gym-goers count how many Mondays are left before a goal date, and event planners check how many weekend days a date range covers.

The chart view shows all seven weekdays side by side, so you can see at a glance whether your range leans toward more weekdays or more weekend days overall.

Common Ways People Use a Date Difference Calculator

A date difference calculator is one of those small tools that quietly gets used for a huge range of everyday and professional tasks.

  • Working out a project or contract deadline, or checking how many working days remain before it.
  • Calculating a notice period, warranty period, or return window measured in calendar or business days.
  • Finding out exactly how many days until a wedding, trip, exam, or other upcoming event.
  • Checking how many days ago something happened, for record-keeping or simple curiosity.
  • Estimating shipping or delivery windows that are quoted in business days.
  • Calculating the length of a rental period, hotel stay, or lease term using inclusive date counting.
  • Figuring out billable hours or workdays across a specific stretch of the calendar.

Common Mistakes People Make When Counting Days Manually

A handful of small errors show up again and again when people try to count days between two dates by hand, and this calculator sidesteps every one of them automatically.

  • Forgetting whether to count the start date, the end date, both, or neither, which quietly shifts the total by a day or two.
  • Assuming every month has 30 or 31 days when counting across a month boundary, instead of checking the actual number of days in each specific month.
  • Ignoring leap years, which adds an extra day to February every four years and can throw off long-range calculations.
  • Treating every weekday as a working day without checking for public holidays sitting inside the range.
  • Mixing up date formats, such as day/month/year versus month/day/year, which can silently produce the wrong date entirely.

Is a Date Calculator Reliable for Legal or Contract Deadlines?

Contracts, leases, insurance policies, and legal notices are full of phrases like "within 30 days of signing" or "no later than 10 business days after delivery," and getting that count wrong can genuinely cost money or miss a filing window. A calendar-accurate tool like this one removes the guesswork of manual counting, but the wording of the document itself still matters. Always check whether the document means calendar days or business days, and whether it counts the start date, the end date, both, or neither, since this calculator lets you match all of those settings exactly.

For anything with real legal or financial consequences, treat this calculator as a fast, accurate way to double-check your own counting rather than a substitute for reading the exact terms of the document or asking a professional when the wording is unclear.

Days Until vs Days Since: Counting Forward and Backward

This calculator works the same way whether your end date is in the future or the past. If your end date hasn't happened yet, the result behaves like a countdown, showing exactly how many days are left until it arrives. If the end date has already passed, the result instead shows how many days have gone by since that date.

There's no need to figure out in advance which direction you're counting in — just enter both dates, and the calculator automatically works out whether you're looking at a countdown or a look-back, and labels the result accordingly.

Frequently Asked Questions

How is the number of days between two dates calculated?

The calculator measures the exact number of calendar days between your start and end dates, then converts that count into years, months, and days by checking whether a full year and month have actually completed. This automatically accounts for different month lengths and leap years.

What's the difference between calendar days and business days?

Calendar days count every day in the range, including weekends and holidays. Business days only count Monday through Friday, and if you also exclude holidays, official public holidays are removed too. Deadlines, contracts, and shipping estimates often specify business days, so it's worth checking which one applies.

Which holidays does this calculator exclude?

It checks against the 11 official US federal holidays: New Year's Day, Martin Luther King Jr. Day, Washington's Birthday (Presidents' Day), Memorial Day, Juneteenth, Independence Day, Labor Day, Columbus Day, Veterans Day, Thanksgiving, and Christmas. When a fixed-date holiday falls on a weekend, the standard "observed" weekday is used.

Should I include the end date in the count?

It depends on what you're measuring. Counting how many days you move forward from one date to the next (exclusive counting) is the default. If you're measuring something like a hotel stay or rental period where both the first and last day count as full days (inclusive counting), turn on "Count the end date as a full day."

Can I calculate days until a future date, and days since a past date?

Yes. Just enter both dates — the calculator automatically detects whether your end date is in the future or the past and labels the result as "Days Until" or "Days Since" accordingly, without any extra setup.

Why do two date calculators sometimes give different answers?

Small differences usually come from whether the tool includes the end date, whether it accounts for leap years, and whether it's counting calendar days or business days. This calculator lets you control the end-date setting directly and always accounts for leap years automatically.

Does this calculator account for leap years?

Yes. The day count is based on the actual calendar, so every February 29 that falls inside your date range is automatically included without any manual adjustment.

Can I find out how many Mondays (or any weekday) fall in a date range?

Yes. The "Weekday Breakdown" chart shows exactly how many of each day of the week — Sunday through Saturday — occur between your start and end dates.