How many days are there between two dates?
Subtract the earlier date from the later one, counting every calendar day. From January 1 to December 31, 2026 the answer is 364 days, because 2026 has 365 days and the end date is not counted. A leap day or a change to daylight saving time cannot add or remove a day, because the calculator subtracts day numbers.
Days between = end date − start date (+ 1 when the end date is counted)
Weeks and days = days ÷ 7, rounded down, with the remainder in days
Weekdays = Monday to Friday days from the start date up to the end date
The result also gives weeks and days, months and days, and years, months and days, so 292 days from March 15, 2026 to January 1, 2027 also reads as 9 months and 17 days.
Is the end date counted?
By default it is not. January 1 to January 31 is 30 days, the way a ruler measures, and the end day is the moment the count stops. Choose the option to include the end date and the same pair is 31 days, which suits a stay or a deadline where both the first and last day count.
| From | To | End date | Days | Weekdays |
|---|---|---|---|---|
| 2026-01-01 | 2026-01-31 | not counted | 30 | 22 |
| 2026-01-01 | 2026-01-31 | counted | 31 | 22 |
| 2026-01-05 | 2026-01-12 | not counted | 7 | 5 |
| 2026-01-05 | 2026-01-12 | counted | 8 | 6 |
| 2026-01-01 | 2026-12-31 | not counted | 364 | 260 |
| 2026-01-01 | 2026-12-31 | counted | 365 | 261 |
The weekday column follows the same rule: Monday, January 5 to Monday, January 12 holds 5 weekdays without the end date and 6 with it.
How do I count weekdays between two dates?
Turn on the weekday option. The calculator counts Monday to Friday and shows the Saturdays and Sundays separately. A whole year of 52 weeks and one extra day has 260 weekdays plus the extra day if it falls on a weekday: 260 from January 1 to December 31, 2026, and 261 with December 31 counted, a Thursday.
Only weekends are left out. Public holidays, company closures and local rules are not removed, so subtract them yourself if they matter. For the hours between two clock times, use the hours calculator, and for pregnancy weeks, the due date calculator.
How do I add or subtract days, weeks and months?
Choose the second mode, enter the date, the amount and the unit. One hundred days after Sunday, November 22, 2026 is Tuesday, March 2, 2027, and 6 weeks after it is Sunday, January 3, 2027. Subtracting works the same way: 90 days before March 1, 2026 is Monday, December 1, 2025.
Months and years follow a month-end rule. The day number stays the same, except that a day the new month does not have moves back to that month's last day, so January 31 plus 1 month is February 28, or February 29 in a leap year.
| Start date | Change | Result |
|---|---|---|
| January 31, 2026 | + 1 month | Saturday, February 28, 2026 |
| January 31, 2024 | + 1 month | Thursday, February 29, 2024 |
| August 31, 2026 | + 1 month | Wednesday, September 30, 2026 |
| March 31, 2026 | - 1 month | Saturday, February 28, 2026 |
| December 31, 2026 | + 2 months | Sunday, February 28, 2027 |
| February 29, 2024 | + 1 year | Friday, February 28, 2025 |
How do leap years change a date count?
A leap year has 366 days. The rule published by the U.S. Naval Observatory makes a year a leap year when it divides by 4, except for century years that do not divide by 400. Count the days from one January 1 to the next to see it.
| Year | Leap year | Days | February 29 dates |
|---|---|---|---|
| 1900 | no | 365 | 0 |
| 2000 | yes | 366 | 1 |
| 2024 | yes | 366 | 1 |
| 2100 | no | 365 | 0 |
That is why February 28 to March 1 is 2 days in 2000 and 1 day in 2100. To measure a person's age rather than a span, use the age calculator; for the days left to a holiday, the days until Christmas calculator; and for the length of each month, the guide How many days are in a month.
Sources
- U.S. Naval Observatory, Astronomical Applications Department, "Leap Years": years evenly divisible by 4 are leap years, with the exception of centurial years not evenly divisible by 400, so 1700, 1800, 1900 and 2100 are not leap years and 1600, 2000 and 2400 are.
The month-end rule, the end date option and the weekday count are conventions of this calculator, written out on the page so you can check a result by hand.
Date Calculator FAQ
How do I find the number of days between two dates?
Subtract the earlier date from the later one. From January 1 to December 31, 2026 that is 364 days, or 365 if the end date is counted too.
Is the last day counted when you count days between two dates?
Only if you choose to count it. Without it, January 1 to January 31 is 30 days; with it, 31 days. The calculator has an option for each.
What is January 31 plus one month?
February 28 in a common year and February 29 in a leap year. When the new month has no day 31, the result moves back to that month's last day.
How many weekdays are between two dates?
Count the Monday to Friday days. From Monday, January 5 to Monday, January 12, 2026 there are 5 weekdays without the end date and 6 with it. Holidays are not removed.
What date is 90 days from a given day?
Add 90 days to the start date. Ninety days after November 22, 2026 is Saturday, February 20, 2027. Leave the start date empty to use today.