Days Between Dates Calculator

Count the days, weeks, months and business days between two dates, or add and subtract days or business days from a date. Free, instant, no sign-up.

✓ Free🔒 Private⚡ No sign-up

Days between two dates

Add or subtract days

🔒 Runs entirely in your browser. Your files are never uploaded.

</> Add to your site

Embed this tool on your website for free: copy the code and paste it into your page's HTML. Everything runs in your visitors' browsers; files are not uploaded.

Preview ↗

What does this tool do?

Counting days on a calendar to find out how long until a deadline, how many days passed between two invoices, how many months a contract ran or which day a payment falls due is slow and error-prone. This tool does two things:

  1. Days between two dates: total days, weeks + days, years + months + days, weekdays (Monday–Friday) and weekend days.
  2. Add or subtract days: add calendar days or business days to a date, or subtract them, and see the resulting date with its day of the week.

Everything is calculated in your browser and updates as you type.

How to use it

  • For a difference: pick a start and an end date. Use the “= today” buttons to fill in today's date quickly. Tick “Include the end date” if both ends should count (for example a rental from 1 to 5 March is 5 days).
  • To add days: choose the date, add or subtract, the number of days and the unit (calendar days or business days).

How are days counted?

The tool does not count the start day; it returns the number of days that pass until the end date. From today to tomorrow is 1 day. This is the usual method for “days until”, “days from now” and interest or due-date calculations. For stays, rentals or leave, where both ends count, “Include the end date” adds 1 day to the result.

Leap years are handled automatically: 1 January to 1 March is 60 days in 2024 (a leap year) and 59 days in 2023.

Years, months and days

Because months have different lengths, “how many months” has no single correct answer. The tool uses the common rule: add whole years, then whole months to the start date, then count the remaining days. If the target month is shorter, the date is clipped to that month's last day. Examples:

  • 15 May 1990 → 30 November 2026: 36 years 6 months 15 days
  • 31 January 2024 → 1 March 2024: 1 month 1 day
  • 29 February 2020 → 29 February 2024: 4 years

Business days

The business-day count excludes Saturdays and Sundays. Public holidays are not excluded, because they differ by country, region and year. If you are calculating a legal deadline or notice period, check the counting rule and holidays that apply to you.

When adding business days, weekends are skipped: Friday + 1 business day is Monday, Saturday + 1 business day is also Monday, and Monday − 1 business day is Friday.

Common examples

  • Payment terms: invoice dated 30 November 2026, net 30 → Wednesday, 30 December 2026.
  • Delivery time: Monday 30 November 2026 + 10 business days → Monday 14 December 2026.
  • Countdown: set the start date to today and the end date to your target date.

Frequently asked questions

How do you calculate the number of days between two dates?

The start date is subtracted from the end date, taking leap years and month lengths into account. From 1 January 2024 to 1 March 2024 is 60 days because 2024 is a leap year. The start day is not counted; tick “Include the end date” if you want to count both ends.

Are public holidays excluded from business days?

No. Only Saturdays and Sundays are excluded. Public holidays differ by country and year, so subtract any holidays in the range from the business-day result yourself.

What date is 30 days from a given date?

In the right-hand section choose the date and enter 30; the result is shown with the day of the week. Choose “Business days” to skip weekends: Friday + 1 business day is Monday.

How is the years-months-days difference worked out?

Whole years and then whole months are added to the start date and the remaining days are counted. If the month is shorter, month-end dates are clipped to the last day, so 31 January to 1 March is 1 month 1 day.

Does it work for historical dates?

Yes. It uses the Gregorian calendar for any date from year 1 to year 9999. If the end date is before the start date, the difference is still shown as a positive number and marked as going backwards.

Last updated: