Skip to content

Date Calculator

Days between dates, add or subtract days, business days and countdowns.

Your details

Calculate

Counts both the first and the last day (Monday to Friday = 5 days instead of 4).

Results update as you type

Days

30

In weeks
4 weeks and 2 days
In months
1 month

Dates look simple until you have to count them. Months run from 28 to 31 days, February gains a day every four years, and "30 days from today" rarely lands where you expect. This date calculator does the counting for you in four ways:

  • Between dates — the number of days separating two dates, also shown in weeks and in months, with an option to count the end date too.
  • Add / subtract — a date plus or minus a number of days, weeks, months, years or business days, with the resulting weekday.
  • Business days — working days between two dates, with a choice of weekend: Saturday–Sunday, Friday–Saturday or Sunday only.
  • Until / since — a countdown to an upcoming event, or the days elapsed since a past one.

Use it for notice periods, delivery and payment deadlines, project schedules, visa stays, pregnancy or exam countdowns, or to check how long ago something happened.

How to use this calculator

  1. Choose a mode at the top.
  2. Between dates: enter a start and end date. Turn on Include the end date if both the first and last day count (for example, a hotel stay counted in days rather than nights).
  3. Add / subtract: pick a start date, choose add or subtract, then type an amount and a unit.
  4. Business days: enter the two dates and choose which days form the weekend.
  5. Until / since: enter the date of the event; the calculator compares it with today.

The formula

Every date is converted to a day number on the Gregorian calendar, and the difference between two day numbers is the number of days between them:

days=Dend−Dstart  (+1 if the end date is included)\text{days} = D_{\text{end}} - D_{\text{start}} \; (+1 \text{ if the end date is included})

Weeks are ⌊days/7⌋\lfloor \text{days} / 7 \rfloor with the remainder in days. Months are counted on the calendar: the largest number of whole months you can add to the start date without passing the end date, then the leftover days.

Adding months or years keeps the same day of the month. If that day does not exist — 31 January plus one month, or 29 February plus one year — the result moves to the last day of the target month (28 February).

Business days are counted day by day from the start date (included) up to the end date (excluded unless you tick the option), skipping the weekend days you selected. When adding business days, the start date itself is not counted, so one business day after a Friday is the following Monday. Public holidays vary by country and are not removed.

Worked example

How many days from 8 October 2026 to 25 December 2026?

  • 8 → 31 October: 23 days
  • November: 30 days
  • 1 → 25 December: 25 days

Total: 23+30+25=23 + 30 + 25 = 78 days, which is 11 weeks and 1 day, or 2 months and 17 days. Ticking Include the end date gives 79 days.

Adding 90 days to Thursday 8 October 2026 gives Wednesday 6 January 2027.

Business days in October 2026 (1 to 31 October, end date excluded, Saturday–Sunday weekend): 22 business days and 8 weekend days. With a Friday–Saturday weekend the same period has 21 business days.

Common pitfalls when counting days

  • Inclusive or exclusive? From Monday to Friday is 4 days apart but 5 days if you count both ends. Contracts and leave policies usually say which one applies.
  • "One month later" is not always 30 days: from 15 January it is 31 days, from 15 February only 28 (or 29).
  • Month ends: adding a month to 31 March gives 30 April, and adding another gives 30 May, not 31 May.
  • Weekends differ: a five-day deadline set on a Thursday ends on different dates in Casablanca and in Riyadh.

To work out an exact age from a birth date, use the age calculator; for hours and minutes, the time calculator.

Frequently asked questions

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

Subtract the earlier date from the later one on the calendar. The calculator does this exactly, accounting for months of different lengths and leap years. Add one day if both the start and end dates should be counted.

Does the calculator include the start date?

In "Between dates" the result is the plain difference, which counts the start day but not the end day. Turn on "Include the end date" to count both.

Are public holidays excluded from business days?

No. Holidays differ by country, region and year, so only weekends are excluded. Subtract the public holidays that fall inside your period to get the final figure.

Which weekend should I choose?

Most countries, including Morocco, France and the UAE, use Saturday–Sunday. Saudi Arabia, Qatar, Kuwait, Oman and Bahrain use Friday–Saturday. Choose "Sunday only" for a six-day working week.

What happens when I add one month to 31 January?

February has no 31st, so the result is the last day of February: 28 February, or 29 February in a leap year. The calculator shows a note when this adjustment happens.

Last updated:

More Everyday life calculators

People also use