Skip to content

Date Calculator

Calculate days between dates or add/subtract days

Start Date
End Date
Start Date
Operation
Years
Months
Weeks
Days
Do not count

All seven days are excluded, so the exclusions are ignored and the plain date is shown.

Country
Region

Choose an autonomous community to include its own holidays.

States or provinces add their own holidays, which are not included.

Municipal holidays and holidays of only part of a region are not included.

Future holiday dates can change.

How many days are there between two dates?

The date calculator is two tools in one.

  1. Count days between (Days Between): pick a start date and an end date, and the screen will show both the total day count and a weeks-and-days breakdown.
  2. Add or subtract dates (Add / Subtract): pick a date, choose Add or Subtract, type the number of days, and the new date appears.

Examples

  • How many days are there between January 1 and January 31? Set January 1 and January 31 as the start and end days and calculate. The result is 30 days, since January 31 isn't counted.
  • How many days do we have left until the festival opening? Calculate using today's date and the event date. To count weekdays only, turn on Weekends under Do not count.
  • When will my visa expire? Enter your visa start date and the number of days. Set Add and click Calculate to see the end date.
  • When did my fitness streak start? Enter today's date and your current streak in days. Set Subtract and click to calculate the start date.

Common mistakes

Many people expect January 1 to January 31 to be 31 days, but this calculator counts January 1 and not January 31, so the result is 30 days unless you turn on Include end date. Don't rely on this tool for critical calculations, since days can be calculated differently in some cases.

FAQs

Does it count both ends or just one?
By default, the days-between count includes the earlier date and excludes the later date, so how many days from X to Y, for example, includes X and excludes Y. The later date is not counted unless Include end date, under the result, is on.
What about leap years?
Leap years are handled automatically. A range that crosses February 29 in a leap year will count that day.
Are weekends excluded?
Not by default: the count is calendar days. To leave out weekends, other weekdays or public holidays, use Weekends, Public holidays or the day buttons under Do not count. For holidays, choose the country and, if it has regions, the region. Future holiday dates can change. Municipal holidays and holidays of only part of a region are not included.
What about times?
The Hour Calculator works similarly to the Date Calculator but it counts hours, not whole days.