Days Between Dates Calculator

Count the exact number of days between two dates, and see the gap in weeks, months and years — with the option to include the end date.

  • Tested formula
  • Instant results
  • Updated October 7, 2026

Your details

Results Updates as you type

How days between dates are counted

Each date is converted to a day number and the two are subtracted. Because the calculation uses calendar dates rather than clock times, daylight saving changes cannot introduce off-by-one errors.

Days = End date − Start date (+ 1 if the end date is included)
Example: From January 1, 2026 to December 25, 2026 there are 358 days — 51 weeks and 1 day, or 11 months and 24 days. Including the end date, the count is 359 days.

Days in each month

31 days30 days28 or 29 days
Jan, Mar, May, Jul, Aug, Oct, DecApr, Jun, Sep, NovFeb

Common uses: countdowns to holidays, trips and weddings; deadlines and notice periods; loan and rental periods; tracking streaks and anniversaries.

How to use the calculator

  1. Enter the start date and the end date. The order doesn’t matter; if the end is earlier, the difference is shown as a negative period.
  2. Choose whether to include the end date in the count (useful for events and rentals that include both days).
  3. Read the difference in days, weeks and days, months and days, and years, months and days.

Inclusive vs. exclusive counting

By default the calculator counts the days between two dates: from Monday to Wednesday is 2 days. Some situations count both the first and last day: a hotel booking from Monday to Wednesday is 2 nights, but a conference running Monday to Wednesday lasts 3 days. If you are counting days of an event, a leave period or a contract term that includes both dates, add one day — the “include end date” option does this.

Why “months” can be ambiguous

Months have 28 to 31 days, so “one month” is not a fixed number of days. The calculator counts whole calendar months first, then remaining days. From January 31 to March 1 is 1 month and 1 day in a non-leap year (January 31 → February 28 is treated as a full month because February has no 31st). Different programs make different choices at month ends, so if a contract depends on the exact number of months, read how it defines a month.

Useful facts

  • A common year has 365 days (52 weeks + 1 day); a leap year has 366.
  • Leap years are divisible by 4, except century years not divisible by 400 — 2000 was a leap year, 2100 won’t be.
  • The average Gregorian year is 365.2425 days, and the average month 30.44 days.
  • Spreadsheets store dates as serial numbers, so subtracting two dates gives the number of days; Excel’s DATEDIF function gives years, months or days.

Common uses

  • Counting down to a wedding, holiday or deadline.
  • Days of service for employment, warranties and notice periods.
  • Interest calculations that use actual days (actual/365 or actual/360).
  • Tracking streaks, project durations and how long ago something happened.

To exclude weekends and holidays, use the business days calculator; to find someone’s exact age, use the age calculator.

Frequently asked questions

How many days are between two dates?
Subtract the earlier date from the later one. The calculator counts calendar days and accounts for leap years and different month lengths automatically.
Should I include the end date?
By default the result counts the days from the start date up to, but not including, the end date — the same way you would count nights in a hotel. Tick “include end date” to count both the first and the last day, for example for the length of an event or a contract period.
How many days are in a year?
A common year has 365 days and a leap year 366. Leap years occur every 4 years, except years divisible by 100 that are not divisible by 400. So 2000 was a leap year but 1900 was not.
How do I count only working days?
Use the business days calculator, which excludes weekends and, optionally, U.S. federal holidays.
How many days until Christmas?
Enter today’s date as the start and December 25 as the end date. The result updates automatically.
How many weeks are in a year?
52 weeks and 1 day in a common year, or 52 weeks and 2 days in a leap year.

Last reviewed October 7, 2026. Results are estimates for informational purposes; see our disclaimer.