Skip to content
Press Equals

How to count the days between two dates

Count the days between two dates by hand, decide whether to include both ends, handle leap years, and count weekdays only.

Open the Date Difference calculator

To count the days between two dates, add up the days left in the first month, the full months in between and the days into the last month. From March 15 to June 1 is 16 + 30 + 31 + 1 = 78 days. Decide first whether you count the start date, the end date or both, because that changes the answer by a day.

Counting by hand

Take March 15 to June 1, 2026:

  1. Days left in March after the 15th: 31 − 15 = 16.
  2. Full months in between: April (30) and May (31) = 61.
  3. Days into June: 1.

16 + 61 + 1 = 78 days, or about 11.14 weeks.

This counts the nights in between, the way you'd count a hotel stay: from the 15th to the 16th is one day.

Including both dates

When both the first and the last day count, such as a 7-day event that starts on a Monday and ends on a Sunday, add 1.

January 1 to December 31, 2026 is 364 days apart, but 365 days if you count both, the whole year.

Contracts, notice periods and deadlines often say how to count. When it matters, read the wording rather than guess.

Days in each month

Month Days
January, March, May, July, August, October, December 31
April, June, September, November 30
February 28, or 29 in a leap year

Leap years

A leap year has 366 days, with February 29 added. In the Gregorian calendar, a year is a leap year if it divides by 4, except years that divide by 100, unless they also divide by 400. So 2028 is a leap year, 2100 isn't, and 2000 was.

February 1 to March 1, 2028 is 29 days, because 2028 is a leap year.

Weekdays only

For business days, take out the weekends. Four full Monday-to-Friday weeks are 20 weekdays:

Monday, November 2 to Friday, November 27, 2026 is 20 working days out of 26 days, counting both ends. Take off any public holidays your workplace observes, such as Thanksgiving on November 26.

Counting forward

To find the date a number of days from now, count forward instead:

90 days after November 15, 2026 is Sat, Feb 13, 2027.

Do it automatically

The date difference calculator counts the days and weeks between two dates, the work days calculator counts weekdays, and the date calculator adds or subtracts days. For hours and minutes too, use the time and date calculator.

Updated

  • How to convert military time

    Convert between military and standard time in both directions, handle midnight and noon correctly, and use the full conversion table.

  • How to calculate hours worked

    Work out hours for a shift, take off unpaid breaks, convert minutes to decimal hours, total the week and work out overtime pay.

All guides by topic