Days Between Dates Calculator

This days between dates calculator counts the calendar days from one date to another. Enter two dates in any order and pick whether to count the end date. You'll get the total, weeks and days, years, months and days, and the weekday and weekend split.

Calculation and content reviewed by EZ Calculators Editorial Team on .

Enter values

Compare two valid civil dates without timestamp or daylight-saving drift. The workspace separates elapsed days from an inclusive date range, then explains direction, exact calendar span, weekdays, weekends, leap days, and interval milestones.

Build the scenario below, then calculate for a complete result report.

Runs in your browser
Civil datesReal Gregorian dates only
Day countUTC calendar ordinals
Two conventionsElapsed and inclusive

Set the two calendar boundaries

Enter the dates in either order. The result keeps your direction visible while interval totals use the earlier and later boundaries consistently.

Date range
Boundary A
Either date may come first; the result preserves the direction you entered.
Boundary B
Use a complete Gregorian calendar date.

Choose what the day count represents

The elapsed interval excludes the second boundary. An inclusive range counts both boundary dates and is always one larger.

Endpoint rule
General calendar measurement, not an official deadline rule

A law, court, agency, contract, school, or employer may exclude a trigger day, extend a weekend endpoint, skip holidays, or define a filing time and time zone. Verify that rule before relying on a consequential date count.

How many days are between two dates?

Subtract the earlier date from the later one in calendar days. From January 1 to July 7, 2026 is 187 days, or 26 weeks and 5 days. If you count both the start and end date, as you would for a trip or event, add one to get 188. The calculator shows both numbers.

How to use the day counter

Enter any two dates. They can go in either order, and the result tells you whether the second date is before or after the first.

Then choose how to count. Elapsed interval measures time passed, so the end date isn't counted. Inclusive range counts both dates, which is what you want for "how many days is my trip" or "how many days does the event run."

  1. Enter the first date.
  2. Enter the second date.
  3. Choose Elapsed interval or Inclusive range.
  4. Press Count days.
  5. Read the day count, then the weeks, calendar span, weekday split and milestones.

Examples of days between dates

These results come straight from the calculator. The elapsed column doesn't count the second date. The inclusive column counts both.

Days between common pairs of dates
FromToElapsed daysInclusive daysCalendar span
January 1, 2026January 8, 2026787 days
January 1, 2026July 7, 20261871886 months, 6 days
January 31, 2026March 31, 202659602 months, 0 days
October 5, 2026December 25, 202681822 months, 20 days
January 1, 2026December 31, 202636436511 months, 30 days
January 1, 2028December 31, 202836536611 months, 30 days

Should you count the end date?

It depends on the question. "How long ago was it?" and "how long until?" are elapsed questions, so you leave the end date out. January 1 to January 8 is 7 days.

"How many days are on the list?" is an inclusive question. A hotel stay, a festival or a leave request from January 1 through January 8 covers 8 dates. Inclusive is always the elapsed count plus one.

A quick check: the same date compared with itself is 0 elapsed days and 1 inclusive day.

Formula guide
  • Elapsed days = later date - earlier date (in calendar days)
  • Inclusive days = elapsed days + 1
  • Weeks and days = elapsed days / 7, with the remainder as days

Weeks, months and years between dates

The same gap can be written several ways. January 1 to July 7, 2026 is 187 days, 26 weeks and 5 days, or 6 months and 6 days on the calendar.

The calendar span counts whole years first, then whole months, then leftover days. That's why January 31 to March 31 is exactly 2 months even though it's only 59 days. Dividing days by 30 would give a rougher answer.

Weekdays, weekends and leap days in the range

The result splits the counted days into weekdays (Monday to Friday) and weekend days (Saturday and Sunday). For 2026 counted inclusively, that's 261 weekdays and 104 weekend days.

Public holidays still count as weekdays here. If you need working days with holidays removed, use the business days calculator. The result also counts any February 29 in the range: 2028, a leap year, has 366 days and one leap day.

When a deadline uses its own counting rule

Phrases like "within 30 days," "no later than" and "business days" can carry rules that plain subtraction can't settle. Court rules, contracts and agencies often say whether the first day counts and what happens when the last day lands on a weekend or holiday.

Use this tool to get the calendar count right, then check it against the rule that governs your deadline.

Sources

FAQ

How many days are there between January 1 and December 31?

In 2026 it's 364 days if you don't count December 31 and 365 if you count both dates. In a leap year like 2028, the numbers are 365 and 366.

Does the day counter include the end date?

Only if you choose Inclusive range. Elapsed interval leaves the end date out, which is right for time passed. Inclusive counts both dates, so it's always one more.

How many weeks are between two dates?

Divide the day count by 7. The calculator does this for you and shows the leftover days, so 187 days reads as 26 weeks and 5 days.

Does the order of the dates matter?

No. You get the same number of days either way. The result just notes whether the second date is before or after the first one.

Are weekends included in the count?

Yes. Every calendar day counts. The result then shows how many of those days are weekdays and how many fall on a Saturday or Sunday.

Can daylight saving time throw off the count?

No. The calculator compares calendar dates, not clock times, so a 23-hour or 25-hour day around a clock change still counts as exactly one calendar day.

What does the midpoint in the results mean?

The milestone table marks the 25 percent, 50 percent and 75 percent points between the two dates. When a point falls between days, it rounds down to the last full day.