Date Difference Calculator: Count the Days Between Two Dates
Pick a start date and an end date to see exactly how much time sits between them: total days, weeks, months, years and weekdays. Use it for deadlines, notice periods, trips or a countdown to a big day. If you need your own age instead, our age calculator does that in one step.
- 100% free, no sign-up
- Runs in your browser
- Leap-year accurate
How to Use the Date Difference Calculator
- Enter the start date.
- Enter the end date. It can be before or after the start date.
- Tick “Include end date” if both the first and last day should count, for example when you are counting days of an event.
- Select Calculate to see the result.
What Your Result Shows
The result gives the same stretch of time in several units, so you can use whichever one your form, contract or plan asks for.
| Result | What it means | Example: March 15 to November 19, 2026 |
|---|---|---|
| Total days | Calendar days between the two dates | 249 days |
| Years, months and days | Full calendar years and months, then leftover days | 8 months, 4 days |
| Weeks and days | Total days split into whole weeks | 35 weeks, 4 days |
| Weekdays | Monday to Friday only, counting both dates | 179 weekdays |
The total days count does not include the end date unless you tick the box. That is the standard way date calculators and spreadsheets count, and it is why the weekday figure above, which includes both dates, follows its own rule.
Should You Include the End Date?
It depends on what you are counting. From January 1 to January 31 is 30 days if you count the gaps between days, and 31 days if you count every day on the calendar.
- Leave it off for durations: how long until a deadline, how many nights in a hotel, how long a loan has run.
- Turn it on for events and periods where every day counts: a 10-day festival, days of leave, the days a sign-up window is open.
When a contract or form says “within 30 days”, check whether it counts the start day. Many legal and HR rules spell this out, and the wording on the document overrides any calculator default.
How to Count the Days Between Two Dates by Hand
For a short gap, count forward on a calendar. For a longer one, work month by month:
- Count the days left in the start month after the start date.
- Add the full length of every month in between.
- Add the day number of the end date.
Example: March 15 to November 19, 2026. March has 16 days left after the 15th. April to October adds 30 + 31 + 30 + 31 + 31 + 30 + 31 = 214. November adds 19. The total is 16 + 214 + 19 = 249 days.
The step people miss is February: it has 29 days in a leap year, such as 2028, and 28 days otherwise.
Business Days vs Calendar Days
Calendar days count every day. Business days, also called working days, count Monday to Friday only. A 30-calendar-day notice period and a 30-business-day notice period end on very different dates, so check which one applies.
Public holidays reduce business days further. In the US, the Office of Personnel Management publishes the official federal holiday dates each year. In the UK and Canada, bank and statutory holidays differ by region, so check the dates where you live. Turn on “Exclude US federal holidays” to remove them from the weekday count.
In the example above, March 15 to November 19, 2026 includes 179 weekdays. Six federal holidays fall in that span (Memorial Day, Juneteenth, Independence Day observed on July 3, Labor Day, Columbus Day and Veterans Day), which leaves 173 federal working days.
Common Reasons to Count Days Between Dates
- Deadlines and notice periods: rent notices, job resignations, return windows and payment terms.
- Projects and schedules: how many working days a task has, or how long a project actually ran.
- Travel: trip length, visa stay limits and how many nights to book.
- Countdowns: days until a wedding, vacation or exam. For birthdays, our birthday calculator shows the countdown and the weekday it falls on.
- Family dates: the age difference between two people, from siblings to couples.
Leap Years and Uneven Months
Months run from 28 to 31 days, and a leap year adds February 29 every four years, except century years not divisible by 400. That is why “one month” is not a fixed number of days, and why splitting a gap into months and days can vary by a day between tools when a date falls near the end of a month. The total days figure never varies; use it when precision matters. The same rules decide your exact age, which our homepage explains in detail.
Counting Days Between Dates in Excel or Google Sheets
- Total days: =B2-A2, with the start date in A2 and the end date in B2.
- Business days: =NETWORKDAYS(A2,B2). Microsoft’s documentation explains that it skips weekends and any holiday dates you list in a third argument. Unlike simple subtraction, NETWORKDAYS counts both the start and end date.
- Google Sheets supports the same formulas.
Days in Each Month
Most counting mistakes come from assuming every month has 30 days. Keep this table handy when you count by hand.
| Month | Days | Month | Days |
|---|---|---|---|
| January | 31 | July | 31 |
| February | 28 (29 in a leap year) | August | 31 |
| March | 31 | September | 30 |
| April | 30 | October | 31 |
| May | 31 | November | 30 |
| June | 30 | December | 31 |
A common year has 365 days, which is 52 weeks and 1 day. A leap year has 366 days, which is 52 weeks and 2 days. That extra day or two is why your birthday moves forward a weekday each year.
How Many Working Days Are in a Year?
A year has 260 or 261 weekdays, depending on which day it starts. Both 2026 and 2027 have 261 weekdays. In 2027, all 11 US federal holidays (or the days they are observed) fall on weekdays, and New Year’s Day 2028 is observed on Friday, December 31, 2027. That leaves 249 federal working days in the 2027 calendar year. Private employers, schools and other countries use their own holiday lists, so treat this as a starting point.
Counting Days for Legal and Official Deadlines
Official deadlines often follow written rules about which days count. In US federal courts, for example, Rule 6(a) of the Federal Rules of Civil Procedure says to:
- leave out the day of the event that starts the period;
- count every day after it, including weekends and holidays; and
- include the last day, but if it lands on a Saturday, Sunday or legal holiday, move the deadline to the next working day.
This calculator’s default (start date not counted, end date not counted unless you tick the box) gives you the raw count. For a court, tax or contract deadline, apply the rule written in that document, and check with the issuing office or a lawyer if a lot is riding on it.
Common Date Countdowns
Here is how the counting works for some typical gaps, using real dates.
| Question | Start date | Answer |
|---|---|---|
| What is 30 days after March 2, 2027? | March 2, 2027 | April 1, 2027 (a Thursday) |
| What date is 90 days from November 19, 2026? | November 19, 2026 | February 17, 2027 |
| How many days from March 15 to November 19, 2026? | March 15, 2026 | 249 days |
Notice that “30 days after March 2” lands on April 1, not April 2, because March has 31 days.
Date Formats: Avoiding Mix-Ups
04/05/2027 means April 5 in the US and 4 May in the UK, Canada (in many contexts) and most of the world. The international standard, ISO 8601, writes dates as year-month-day (2027-04-05), which is why spreadsheets and databases prefer it. This calculator uses date pickers, so you never have to guess which order you are typing in.
Date Difference Calculator FAQs
How many days are there between two dates?
Subtract the earlier date from the later one, or enter both dates in the calculator. By default the count excludes the end date, which matches how most calculators and spreadsheets work.
Does the day count include the start and end dates?
The start date is the point you count from, so it is not counted as a full day. The end date is included only if you tick “Include end date”. Including it adds one day to the total.
How many weeks are between two dates?
Divide the total days by 7. The calculator shows the result as whole weeks plus leftover days, for example 249 days is 35 weeks and 4 days.
How do I count business days between two dates?
Count Monday to Friday only, then remove any public holidays that fall in the range. The weekday result in the calculator does the first step for you.
Does the calculator handle leap years?
Yes. It counts real calendar days, including February 29 in leap years, so the total is exact for any two dates.
How many working days are in a year?
Usually 260 or 261 weekdays. Subtract your public holidays to get working days. In 2027, that leaves 249 working days for US federal employees.
What is 30 days from today?
Set today as the start date and count forward 30 days, or enter a candidate end date and check that the total is 30. Months with 31 days and February shift the answer, so it is rarely the same date next month.
Is a date difference affected by time zones?
No. This calculator works with whole calendar dates, so the time zone you are in doesn’t change the count.