Skip to content

Date Difference Calculator

Pick a start and an end date. The days, weeks, months and business days between them appear right away.

Days between the dates–
In years, months, days–
In weeks–
Whole months–
Business days (Mon–Fri)–
Weekend days–
Federal holidays on weekdays–

Updated: December 1, 2026Sources and method ↓

How do you calculate the days between two dates?

Counting days by hand means adding up the days left in the first month, the full months in between, and the days in the final month. The calculator does the same thing using day numbers, so leap years and months of different lengths are handled automatically.

Example: How many days are there from December 1, 2026, to June 15, 2027? December contributes 30 days (from the 1st to the 31st). Then January 31, February 28 (2027 is not a leap year), March 31, April 30 and May 31. Add 15 days of June: 30 + 31 + 28 + 31 + 30 + 31 + 15 = 196 days, exactly 28 weeks.

Should you count the end date?

By default the calculator counts the start date but not the end date. That matches everyday questions like "how many days until my vacation?" and the way most spreadsheets subtract dates: from December 1 to December 31 is 30 days. If you need both ends counted, for example for a hotel stay of nights plus checkout day or a leave request that covers both dates, tick "Include the end date" and the answer becomes 31.

Leap years

February has 29 days in years divisible by 4, except century years that are not divisible by 400. So February 2028 has 29 days, while February 2027 has 28. A range that crosses February 29 is one day longer than the same dates in an ordinary year.

How are business days calculated?

Business days are the weekdays, Monday through Friday, in the range. Weekends are removed first. If you tick the holiday box, US federal holidays that land on a weekday are also removed.

  • The holiday list covers 2025 to 2028 and uses the observed dates published by the US Office of Personnel Management (OPM). When a holiday falls on a Saturday it is usually observed on the Friday before, and when it falls on a Sunday, on the Monday after.
  • There are 11 federal holidays a year: New Year's Day, Martin Luther King Jr. Day, Washington's Birthday, Memorial Day, Juneteenth, Independence Day, Labor Day, Columbus Day, Veterans Day, Thanksgiving Day and Christmas Day.
  • State holidays, bank closures and company days off are not included, so check your own calendar for those.
Example: How many business days are in November 2026 (November 1 to 30, both counted)? November 1 is a Sunday. The month has 30 days and 21 weekdays. Veterans Day (Wednesday, November 11) and Thanksgiving (Thursday, November 26) are federal holidays on weekdays, so there are 21 − 2 = 19 business days.

One tricky case: in 2027 Christmas falls on a Saturday and New Year's Day 2028 also falls on a Saturday, so both are observed on Fridays: December 24 and December 31, 2027. That means December 2027 loses two Fridays.

Converting days into weeks, months and years

Weeks are straightforward: divide by 7 and keep the remainder as days. 100 days is 14 weeks and 2 days. Months and years are less tidy because months run from 28 to 31 days. The calculator counts whole calendar months from the start date and then the leftover days, the same way you would describe someone's age. If a start date falls on the 31st and the target month is shorter, the month is counted at that month's last day.

MonthDays
January, March, May, July, August, October, December31
April, June, September, November30
February28 (29 in a leap year)

When is a day count useful?

  • Counting down to a trip, wedding, due date or retirement day.
  • Working out notice periods, contract terms or how long a project ran.
  • Estimating working days for a deadline or a payment that settles in business days.
  • Calculating simple interest for a set number of days; for loans see the loan calculator.

To jump forward or back by a number of days, use add days to a date. To see an age in years, months and days, use the age calculator.

Frequently asked questions

How do I calculate the number of days between two dates?
Add the days left in the starting month, the days in each full month in between and the days in the final month. For example, December 1, 2026, to June 15, 2027, is 196 days.
Does the day count include the start and end date?
Usually the start date is counted and the end date is not, so December 1 to December 31 is 30 days. If you need both days counted, as for leave that covers both dates, add one: 31 days.
How many business days are in a year?
A year has 260 or 261 weekdays. Taking out the 11 US federal holidays that fall on weekdays usually leaves about 249 to 250 business days.
Which holidays does the business day count exclude?
US federal holidays for 2025 to 2028, on the observed dates published by OPM. State holidays and company closures are not included.
How many weeks is 100 days?
100 days is 14 weeks and 2 days. Divide the number of days by 7 and keep the remainder as days.

Sources: US Office of Personnel Management, Federal Holidays 2025–2028 (opm.gov); 5 U.S.C. 6103. Gregorian calendar rules.

Last updated: December 1, 2026

Results are for information only. For official or financial decisions, consult a qualified professional.

You might also need