Days between dates calculator: how many days are between two dates?
Enter two dates to see exactly how many days lie between them. The answer also comes in weeks, months and business days, with the count shown month by month and the formula for Excel or Google Sheets.
Days between dates calculator
I want to calculate the number of days from November 29, 2026 to January 1, 2027, not counting the end date.
Answer
33 days
There are 33 days from Sunday, November 29, 2026 to Friday, January 1, 2027.
- 4 weeks, 5 daysIn weeks and days
- 1 month, 3 daysIn years, months, days
- 24Business days (Mon–Fri)
- 9Weekend days
How we counted
Each segment is one month of the count, from the earlier date on the left to the later date on the right.
- Start on Sunday, November 29, 2026. This day counts as day 1.
- November 2026 gives 2 days (Nov 29 to Nov 30), total 2.
- December 2026 adds 31 (total 33).
- Stop before the end date, Friday, January 1, 2027: it is not counted. Total: 33 days.
- 33 days is 4 weeks, 5 days, and 24 of them are weekdays (Monday to Friday).
Read the table from top to bottom: each row is one month of the count, with its days, the Monday-to-Friday days among them, and the running total that ends at your answer.
| Month | From | To | Days | Business days | Running total |
|---|---|---|---|---|---|
| Nov 2026Nov 29–30 | Nov 29 | Nov 30 | 2 | 1 | 2 |
| Dec 2026Dec 1–31 | Dec 1 | Dec 31 | 31 | 23 | 33 |
Need help with the days between dates calculation?
Video coming soon. Until then, the steps above show the count with your own numbers, and the worked examples below cover the cases where people most often go wrong.
How to use the days between dates calculator
- Date format: choose how dates are written, at the top of the calculator. Both date fields and the answer follow it, and the choice is saved for your next visit.
- Start date: today is filled in. Type another date in the format you picked, or use the calendar button.
- End date: type the date you are counting to. It may also be earlier than the start date; the calculator then counts the other way round and says so.
- Quick picks: set the end date to the next New Year’s Day, the next Christmas or the same date one year later, or swap the two dates.
- Include the end date: turn this on when both the first and the last day should count, such as for an event that runs from the 1st through the 10th (10 days, not 9).
When to use a days between dates calculator
Count the days between two dates when you need the length of a period rather than a date: how long a project ran, how many days a subscription or warranty covered, how long ago something happened, or how many days are left before a trip, a due date or a wedding. The answer is exact across month ends and leap years, which is where counting by hand usually slips.
The extra figures help with rules that are not written in days. Weeks and days suit pregnancy and training plans, years, months and days suit ages and anniversaries, and business days give a rough working-day count for invoices and notice periods. To find the date a number of days away instead, use the days from today calculator.
Days between dates at a glance
What it does
Counts the calendar days between two dates and splits that total into weeks, months and years, business days and weekend days.
Who it's for
Anyone measuring a period: project and contract lengths, time since or until an event, rental and travel days, invoices.
Watch out for
Whether the end date should count (it adds 1 day), and that business days skip weekends but not public holidays.
How the days between dates calculation works
The rule: days between = end date − start date. Every date is turned into a day number, the way a spreadsheet stores dates, and the smaller number is subtracted from the larger. Months of 28, 29, 30 and 31 days and leap years are handled by the calendar itself, so nothing has to be added by hand.
With your dates: January 1, 2027 − November 29, 2026 = 33 days. Month by month: November 2026 gives 2, December 2026 adds 31.
Subtracting counts the start date but not the end date: from Monday to Tuesday is 1 day. Turn on "Include the end date" when both days should count, for example for a hotel stay counted in days rather than nights, or a course that runs from the 1st through the 10th. That adds exactly 1.
Years, months and days are counted the way Excel's DATEDIF counts them: a month is complete only when the day of the month has caught up with the start day. From January 31 to February 28 is therefore 28 days, not 1 month. Business days are the Mondays to Fridays among the counted days; public holidays are not skipped.
Days between dates: worked examples
How many days are between January 1, 2026 and December 31, 2026?
Subtract the dates: 364 days. 2026 has 365 days, but the subtraction does not count December 31 itself. With "Include the end date" on, the answer is 365 days, the whole year.
Common mistake: answering 365 without saying whether the last day is counted. Both answers are right for a different question, so check which one your rule means.
How many days are between February 1 and March 1, 2028?
2028 is a leap year, so February has 29 days: from Tuesday, February 1 to Wednesday, March 1, 2028 is 29 days. The same dates in 2027 give 28 days.
Common mistake: assuming February always has 28 days. Leap years are years divisible by 4, except century years that are not divisible by 400 (2000 was a leap year, 2100 will not be).
How many business days are in December 2026?
Count from Tuesday, December 1 to Thursday, December 31, 2026 with the end date included: 31 days, of which 8 are Saturdays or Sundays, leaves 23 business days. In a spreadsheet that is =NETWORKDAYS(A2,B2).
Common mistake: forgetting holidays. Christmas Day falls on Friday, December 25, 2026, so if your office is closed that day there are 22 working days. The calculator, like NETWORKDAYS without a holiday list, does not skip it.
How many days were there from July 4, 1776 to July 4, 2026?
That is exactly 250 years, which is 91,310 days: 250 × 365 = 91,250 days, plus 60 leap days (February 29 in 1780 through 2024, without 1800 and 1900).
Common mistake: multiplying the years by 365.25. That gives 91,312.5 because it treats every century year as a leap year; count the actual leap days instead.
Is January 31 to February 28, 2027 one month?
In days it is 28 days. In months it is not a whole month yet, because February never reaches day 31. So the years, months and days figure shows "28 days", the same as Excel’s DATEDIF. From January 31 to March 1, 2027 it shows "1 month, 1 day".
Common mistake: expecting every calculator to agree on months. Some treat the last day of February as a full month after January 31. The number of days is the same everywhere; only the month split differs.
Video: how to count the days between dates
Days between dates in Excel and Google Sheets
Put the start date in cell A2 and the end date in B2. Excel and Google Sheets store dates as day numbers, so subtracting one date from the other gives the days between them. Format the answer cells as numbers, not dates.
Read the table row by row: each row is one cell of your sheet, what to put in it and an example.
| Cell | What goes in it | Example |
|---|---|---|
| A2 | Start date | =TODAY() |
| B2 | End date | 1/1/2027 |
| C2 | Days between (matches your choice above) | =B2-A2 |
| D2 | Business days (matches your choice above) | =NETWORKDAYS(A2,B2)-NETWORKDAYS(B2,B2) |
Days between, end date not counted
=B2-A2 Days between, both dates counted
=B2-A2+1 Business days, both dates counted
=NETWORKDAYS(A2,B2) Years, months and days
=DATEDIF(A2,B2,"y")&" years, "&DATEDIF(A2,B2,"ym")&" months, "&B2-EDATE(A2,DATEDIF(A2,B2,"m"))&" days" When the end date is earlier, =B2-A2 gives a negative number; wrap it in ABS() to drop the sign. DATEDIF needs the earlier date first and returns an error otherwise. To skip holidays, list them in a range and add it to NETWORKDAYS: =NETWORKDAYS(A2,B2,F2:F12). The days part uses EDATE instead of DATEDIF's "md" unit, which Microsoft warns can give wrong results.
Days between dates: frequently asked questions
How many days are left in this year?
From today, November 29, 2026, to December 31 is 32 days. Counting today and December 31 both, 33 days of 2026 are left.
Does the days between dates count include the start and end date?
By default the start date counts and the end date does not, which is what you get when you subtract the dates in Excel or Google Sheets. From Monday to Friday of the same week is 4 days. Turn on "Include the end date" to count both, which gives 5.
How do I calculate the days between two dates in Excel?
Type the dates in two cells and subtract: =B2-A2. If the answer shows as a date, change the cell format to Number. =DAYS(B2,A2) gives the same result. Add 1 to include the end date, and use =NETWORKDAYS(A2,B2) for weekdays only.
How many weeks are between two dates?
Divide the number of days by 7. The calculator shows it as whole weeks plus the days left over, for example 33 days = 4 weeks, 5 days. In a spreadsheet, =(B2-A2)/7 gives weeks with decimals.
Does the business days count skip holidays?
No. It counts Monday to Friday and skips only Saturdays and Sundays, like NETWORKDAYS without a holiday list. Subtract one day for each public holiday that falls on a weekday inside your dates.
Why does another calculator give one day more?
It probably counts the end date, or both dates. Turn on "Include the end date" to get the same total. If the months differ but the days match, the other calculator splits months differently: we follow Excel’s DATEDIF, where a month is complete only once the day of the month is reached. For business days over long periods, one well-known calculator sometimes shows one weekday more; a day-by-day count, Excel’s NETWORKDAYS and timeanddate.com agree with our number.
Other date and time calculators
- Age calculator
- Business days calculator
- Date calculator
- Day of the week calculator
- Days from today
- Days until a date
- Hours between two times
- Time calculator
- Time card calculator
- Weeks from today
Report a problem with this calculator · Sponsor this calculator