How many days until Christmas? What date is it 90 days from now? How many days are there between two dates on a contract? These questions all come down to counting days on the calendar, which is harder than it looks: months have 28 to 31 days, leap years add a day, and you must decide whether the last day counts. This guide gives a reliable method, two worked examples, three ready-to-use charts and the mistakes that cause off-by-one errors.
Count the days now
Enter two dates: the calculator gives the number of days, the same span in weeks, the number of weekdays (Monday to Friday) and the number of weekend days.
Open the days between dates calculator →How to count the days between two dates
Method 1: count the days between two dates by finishing the month
- Count the days left in the start month: days in that month minus the start day.
- Add the days of every full month in between.
- Add the day number of the end date.
From March 10 to May 20: 31 − 10 = 21 days left in March, 30 days in April, then 20 days in May. Total: 21 + 30 + 20 = 71 days.
Method 2: use the day of the year
Every date has a number from 1 to 365 (366 in a leap year). Within the same year, the gap is simply the difference between the two numbers. The chart below gives the number of the first day of each month; add the day of the month minus 1.
| Month | Day number of the 1st (common year) | Day number of the 1st (leap year) |
|---|---|---|
| January | 1 | 1 |
| February | 32 | 32 |
| March | 60 | 61 |
| April | 91 | 92 |
| May | 121 | 122 |
| June | 152 | 153 |
| July | 182 | 183 |
| August | 213 | 214 |
| September | 244 | 245 |
| October | 274 | 275 |
| November | 305 | 306 |
| December | 335 | 336 |
Example: May 20 is day 121 + 19 = 140 and March 10 is day 60 + 9 = 69 in a common year. 140 − 69 = 71 days, the same result as above. Across two years, count the days left in the first year, then add the day number in the second year.
Does the last day count?
A difference between two dates does not count the end day: from Monday to Tuesday is 1 day. If both the first and the last day count (a hotel stay counted in days, a leave period, an event that lasts from the 3rd to the 5th), add 1. The calculator has an “Include the end day” option for this.
Leap years
A year is a leap year if it is divisible by 4, except century years, which must be divisible by 400. So 2028 is a leap year, 2100 will not be, and 2000 was. A leap year adds February 29, so any period that includes that day is one day longer.
How to add or subtract days, weeks or months
- Days: move forward one month at a time. From January 31, adding 30 days uses the 28 days of February, then 2 days of March.
- Weeks: multiply by 7. 50 weeks = 350 days. The weekday stays the same.
- Months and years: keep the same day number in the target month. If that day does not exist (January 31 + 1 month), the calculator uses the last day of the month: February 28.
Worked examples
Example 1: how many days until Christmas from November 18, 2026?
- Days left in November: 30 − 18 = 12. Days in December up to the 25th: 25. Total: 12 + 25 = 37 days.
- That is 5 weeks and 2 days, or 888 hours.
- Of these 37 days, 27 are weekdays (Monday to Friday) and 10 are weekend days.
- If you count both November 18 and December 25, you get 38 days.
- Until New Year’s Day (January 1, 2027): 12 + 31 + 1 = 44 days.
Example 2: a payment deadline at the end of the month
- An invoice is dated January 31, 2027 and is payable within 30 days: 28 days of February bring you to February 28, then 2 more days give Tuesday, March 2, 2027.
- If it is payable “in 1 month” instead, the due date is Sunday, February 28, 2027: February has no 31st, so the last day of the month is used. One month and 30 days are not the same thing.
- Going back: 90 days before March 1, 2027 is December 1, 2026.
- A leap-day case: February 29, 2028 + 1 year = February 28, 2029.
Check any of these with the add or subtract days calculator (pre-filled with January 31, 2027 + 1 month).
Chart: days until Christmas and New Year from the 1st of each month (2027)
Number of days from the 1st of the month to December 25, 2027 and to January 1, 2028 (end day not counted). 2027 is a common year. In a leap year such as 2028, add 1 day for dates in January and February.
| From | Days until Christmas | Days until New Year |
|---|---|---|
| January 1, 2027 | 358 | 365 |
| February 1, 2027 | 327 | 334 |
| March 1, 2027 | 299 | 306 |
| April 1, 2027 | 268 | 275 |
| May 1, 2027 | 238 | 245 |
| June 1, 2027 | 207 | 214 |
| July 1, 2027 | 177 | 184 |
| August 1, 2027 | 146 | 153 |
| September 1, 2027 | 115 | 122 |
| October 1, 2027 | 85 | 92 |
| November 1, 2027 | 54 | 61 |
| December 1, 2027 | 24 | 31 |
Chart: common deadlines from January 15, 2027
January 15, 2027 is a Friday. Results obtained with the same rules as the calculator (months and years keep the same day number).
| Operation | Resulting date | Weekday | Days apart |
|---|---|---|---|
| + 7 days | January 22, 2027 | Friday | 7 |
| + 10 days | January 25, 2027 | Monday | 10 |
| + 14 days | January 29, 2027 | Friday | 14 |
| + 30 days | February 14, 2027 | Sunday | 30 |
| + 45 days | March 1, 2027 | Monday | 45 |
| + 60 days | March 16, 2027 | Tuesday | 60 |
| + 90 days | April 15, 2027 | Thursday | 90 |
| + 100 days | April 25, 2027 | Sunday | 100 |
| + 180 days | July 14, 2027 | Wednesday | 180 |
| + 365 days | January 15, 2028 | Saturday | 365 |
| + 50 weeks | December 31, 2027 | Friday | 350 |
| + 1 month | February 15, 2027 | Monday | 31 |
| + 3 months | April 15, 2027 | Thursday | 90 |
| + 6 months | July 15, 2027 | Thursday | 181 |
| + 1 year | January 15, 2028 | Saturday | 365 |
| − 30 days | December 16, 2026 | Wednesday | 30 |
| − 90 days | October 17, 2026 | Saturday | 90 |
Note that 3 months and 90 days happen to give the same date here, but 6 months (181 days) and 180 days do not. Over a different period, the gap changes with the length of the months.
Common mistakes
- Counting the end day twice. From the 3rd to the 5th is 2 days apart, but 3 days if both the 3rd and the 5th count. Decide which you need before counting.
- Treating a month as 30 days. January 31 + 1 month = February 28, while + 30 days = March 2.
- Forgetting February 29 in a leap year (2028, 2032…).
- Confusing weekdays and business days. The weekday count excludes Saturdays and Sundays only; public holidays are not removed. For a working-day deadline, use the business days calculator and check your local holidays.
- Starting from the wrong date. For a deadline “within 10 days from receipt”, the start date is the day of receipt.
FAQ
What date is 50 weeks after a given date? Add 350 days. From January 15, 2027 (a Friday), 50 weeks later is Friday, December 31, 2027.
How do I count days between two dates in Excel? Subtract the cells: =B1-A1 gives the number of days. =A1+30 adds 30 days and =EDATE(A1,1) adds one month (it also moves January 31 to February 28).
Does a countdown include today? No. The number of days until an event is the difference between today’s date and the date of the event. On December 24, there is 1 day left until Christmas.
What week of the year are we in? See our week numbers 2026 calendar for ISO week numbers.
Useful calculators
- Add or subtract days, weeks, months or years from a date
- Business days calculator to add working days
- How many days until Christmas? live countdown
- Countdown to any date
