Tool

Date Calculator

Compute the number of days between two dates or add a number of days to a date.

Try it

This tool runs entirely in your browser. Nothing you type or paste is sent anywhere.

From
2026-01-01
Days
59
Weeks
8.43
59 days

2026-01-01 to 2026-03-01 is 59 day(s).

How it works

days = (end - start) / 86_400_000

Usage

  1. Enter a start date.
  2. Enter an end date to measure a difference, or a number of days to add.
  3. Read the result.

Examples

Difference in days

{
  "start": "2026-01-01",
  "end": "2026-03-01"
}

Add 30 days

{
  "start": "2026-01-01",
  "addDays": 30
}

Limitations

Difference vs. duration

A difference answers 'how many whole days elapsed?'. A duration in months or years depends on where you start, which is why this tool reports days and weeks explicitly rather than guessing calendar units.

Frequently asked questions

Does it handle leap years?
Yes. The calculation is calendar-based and uses the real length of each month.