DateMath
Home / Days Between Dates

Days Between Dates Calculator

Pick a start date and an end date to see the gap in days, weeks and months.

How it works

The calculator turns each date into a day number and subtracts. Leap years are handled automatically because it uses real calendar dates. By default the end date is not counted, so Monday to Tuesday is 1 day. Choose "include end date" if you want both days counted, as in a hotel stay or a project schedule.

Common uses

Frequently asked questions

Does it handle leap years?

Yes. February 29 is counted in leap years.

Which date format should I use?

Type dates as year-month-day, like 2026-03-15.

Why is my answer one day off?

Check whether you want the end date counted. Use the option above.

More free tools

Age Calculator

Exact age in years, months and days.

Add or Subtract Days

Find the date that is N days from a date.

Business Days Calculator

Count weekdays between two dates.

Days Until a Date

How many days until your date.

Last updated 2026-11-27. Results use the Gregorian calendar. For legal deadlines, check the rules that apply, since courts and agencies count days differently.