Skip to content
Advanced Calculator logo

Date Calculator

Add or subtract years, months, weeks and days from any date, or measure the gap between two dates in years, months, days, weeks, hours and business days.

Start from a date

Pick a date to get started

Operation
Result
Resulting date
—
Choose a start date to get started

How to use this calculator

Add / subtract

  1. Pick a start date — type it straight into the field or open the calendar with the button beside it. It starts on today.
  2. Choose whether you are adding time or subtracting it.
  3. Fill in any combination of years, months, weeks and days. Blank fields count as zero.
  4. The result shows the weekday, the full date, the ISO form for pasting elsewhere, and how many days you have moved.

Difference

  1. Choose the two dates. Order does not matter — the gap is the same either way.
  2. Turn on Include the end date if the last day should count as one of the days.
  3. Turn on Count business days only to headline the Monday-to-Friday figure instead of the raw day count.
  4. Read the calendar breakdown in years, months and days, plus totals in days, weeks and hours.

How the maths works

Days, weeks and hours are straightforward, because those units never change length:

total days = (end date − start date) in days

total weeks = total days ÷ 7

total hours = total days × 24

Months and years are the awkward part, because a month can be 28, 29, 30 or 31 days long. A calendar difference is therefore worked out by counting whole months first:

  1. Take the largest number of whole months that still lands on or before the end date.
  2. Split that into years and months.
  3. Count the leftover days from there to the end date.

This is why 31 January to 1 March comes out as one month and one day: one month lands on 28 February, and there is a single day left over.

Business days are counted from whole weeks — each full week contributes five — with the remaining few days checked individually. Saturdays and Sundays are excluded; public holidays are not.

Worked examples

A 90-day deadline

A contract signed on 15 March 2026 must be renewed within 90 days.

  • March has 31 days, so 16 days take you to 31 March
  • April (30) and May (31) use 61 more, reaching 77 days on 31 May
  • 13 days into June gives the deadline: Saturday, 13 June 2026

A month after the end of the month

One month after 31 January 2024.

  • February 2024 has 29 days, because 2024 is a leap year
  • There is no 31 February, so the day clamps to the end of the month
  • Result: Thursday, 29 February 2024
  • The same sum in 2023 gives 28 February instead

Working days in a two-week sprint

From Monday 5 May 2025 toFriday 16 May 2025, including the end date.

  • Total days including both ends: 12
  • One weekend falls inside the range, removing 2 days
  • Business days: 10

Frequently asked questions