Home / Calculators / Date Calculator

Date Calculator

Start and end dates give a gap; a base date plus a signed offset such as 90 or -30 projects it.

Date Calculator — Runs locally

Difference Between Two Dates

Add / Subtract Days

How to use

Using this tool

Date Calculator measures the gap between two dates and adds or subtracts a number of days from a base date. All of the work on Date Calculator happens in this tab, so the values you enter or the files you open never travel to a server.


Controls on this page

Date Calculator gives you Start Date, End Date, Base Date and Days to Add (+/-). The options listed below the input on Date Calculator are the ones that change how the output is produced, and every one of them applies to a single run.


  • Two date pickers for the difference.
  • Signed day offset such as 90 or -30.

How to use Date Calculator

  1. Type or paste your content into the input box at the top of Date Calculator.
  2. Pick the action on Date Calculator that matches the job, for example Start Date.
  3. Press Calculate button on Date Calculator and read the answer in the separate output box.
  4. Copy the finished text from Date Calculator, then clear the boxes before starting the next one.

A worked example

Set the Start Date to 2026-01-01 and the End Date to 2026-03-01 and the difference reads 59 days, while a 90-day offset from the base date lands on 2026-04-01.


A closer look at Date Calculator

Two jobs share one page: the gap between two dates, and a date shifted by a signed number of days. A negative offset moves backwards, so -30 finds the date a month before the base date without a second calculation. Calendar days are counted, including weekends and public holidays, because the tool has no holiday calendar.

Leap years are handled by the real calendar, so a span that crosses February 29 is one day longer than in a common year. Contract and notice periods are usually expressed in days, which makes the offset field the quickest way to find the exact deadline.


Putting Date Calculator to work

Date Calculator holds two separate tools: a difference between Start Date and End Date, and an offset from a Base Date. The Days to Add (+/-) field accepts a signed number such as 90 or -30, and negative values count backwards.

Both date pickers use the browser's calendar widget, so the result follows the local time zone rather than UTC. The difference is returned in whole days, which means the start date is not counted and the end date is.


Where Date Calculator helps

  • Counting contract or notice periods.
  • Planning a deadline a fixed number of days out.
  • Checking how many days remain before an event.

Precision and limits

  • A negative offset moves the base date backwards, so -30 gives the date one month earlier.
  • The difference is measured in whole days and ignores working days, holidays and time zones.
  • Leap years are respected, so a February in a leap year contributes 29 days.

Frequently asked questions

Can I subtract days?

Yes, enter a negative number such as -30 in the Days to Add field.

Does it skip weekends?

No, it counts calendar days, including Saturdays and Sundays.

How are leap years handled?

The month lengths come from the real calendar, so 29 February is included when it exists.

What is the Base Date field for?

It is the starting point for the add-or-subtract calculation, separate from the two-date difference.