Skip to main content
Online

Date Calculator

Count the days between two dates, weekdays included, or add or subtract a period of time from a date.

Your numbers

I want to
Operation
Amount of time years months weeks days

Result

Complete guide

Date calculator guide: days between dates, weekdays and adding months

3 min read Reviewed By the GetCalcMaster team · Editorial policy

Counting the days between dates is easy to get wrong by one: should the start and end days both count? Adding months is just as slippery, because months have different lengths. This calculator makes both rules explicit.

Use it to count down to an event, work out a notice period, find the date 90 days from now or count the weekdays left in a project. The working shows exactly what was counted.

How to use this tool

  1. Choose Count days between dates or Add or subtract time.
  2. To count, pick the start and end dates and decide whether the end date should be included.
  3. To add or subtract, pick a start date and enter years, months, weeks and days.
  4. Read the result and its weekday, and check the breakdown in the working.

Key formulas

Days between
days = end date − start date
Add 1 to count both the start and the end date.
Weeks
weeks = days ÷ 7, with the remainder in days
Weekdays
5 per full week, then the leftover days one by one
Monday to Friday; public holidays are not removed.
Adding months
same day number in the target month, or its last day
Years and months are added first, then weeks and days.

Worked examples

Example 1: A whole year

1 January 2026 to 31 December 2026, counting both dates.

  1. The difference is 364 days; counting both dates adds 1.
  2. 52 full weeks give 260 weekdays, and the extra day, 31 December 2026, is a Thursday.
Answer: 365 days, of which 261 are weekdays.
Example 2: 90 days after a date

Which date is 90 days after 1 March 2026?

  1. 30 days take you to 31 March.
  2. April's 30 days take you to 30 April, leaving 30 more days.
  3. 30 days after 30 April is 30 May.
Answer: Saturday 30 May 2026.
Example 3: Adding a month at the end of January

Add 1 month to 31 January.

  1. February has no 31st, so the result moves to the last day of February.
Answer: 28 February 2026, or 29 February in a leap year such as 2024.
Example 4: Weekdays to a deadline

From Sunday 29 November 2026 to Friday 25 December 2026.

  1. The difference is 26 days.
  2. 3 full weeks give 15 weekdays; the remaining 5 days, Sunday 20 to Thursday 24 December, add 4.
Answer: 26 days, 19 of them weekdays (public holidays not removed).

Inclusive or exclusive?

The difference between two dates counts the nights between them: a hotel stay from Monday to Wednesday is 2 nights, but a conference over the same dates runs for 3 days. Notice periods and loan terms usually exclude the start date, while event lengths and rental days often include both. When it matters, check which convention the rule uses, then tick or untick Include the end date.

Business days and holidays

Weekdays here are Monday to Friday. Public holidays differ by country, region and year, so they are not removed automatically; subtract the ones that apply to you. Some contracts define business days differently, for example excluding only bank holidays.

Leap years

A leap year adds 29 February every four years, except century years not divisible by 400: 2000 was a leap year and 2100 will not be. The calculator uses the full Gregorian rules, so spans that cross February are always counted correctly. Turning a day count into years by dividing by 365 drifts by about a day every four years, so use the years, months and days breakdown instead.

Common mistakes to avoid

  • Off-by-one errors from not deciding whether both dates count.
  • Adding 30 days when a rule says one month.
  • Forgetting leap years when counting across February.
  • Assuming a weekday count already excludes public holidays.

Frequently asked questions

How do I count the days between two dates?
Subtract the earlier date from the later one, and add 1 if both the start and the end date should count.
How many weekdays are between two dates?
Each full week contains five weekdays and the leftover days are checked one by one. The calculator does this for you.
What is the date 90 days from today?
Choose Add or subtract time, leave the start date as today and enter 90 days.
What happens if I add a month to 31 January?
There is no 31 February, so the result is the last day of February: the 28th, or the 29th in a leap year.
Does the calculator include public holidays?
No. Holidays vary by place, so subtract any that apply to you.

Related tools and guides

Educational content. Results are computed in your browser with standard double-precision arithmetic; double-check anything with legal, financial, medical, or safety consequences. Spotted an error? Tell us and we will correct it.