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.
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.
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.
| Month | Days |
|---|---|
| January, March, May, July, August, October, December | 31 |
| April, June, September, November | 30 |
| February | 28 (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?
Does the day count include the start and end date?
How many business days are in a year?
Which holidays does the business day count exclude?
How many weeks is 100 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.