Date Calculator

Count full days between two dates, or add and subtract years, months, weeks, and days from one calendar date.

All tools
Smoke mascot beside two calendar grids and add-subtract controls for the Date Calculator.
The tool image shows two calendar grids for date difference plus smaller calendar controls for adding or subtracting date offsets. View in the smoke-kawaii gallery
Inputs explained Result checks Example values Runs in your browser
Date difference15 days

May 26, 2026 to Jun 10, 2026

Weeks and days
2 weeks, 1 days
Calendar difference
0y 0m 15d
Direction
forward

Formula steps

  1. Convert both dates to UTC calendar dates.
  2. Subtract the timestamps to count full days between dates.
  3. Also compare calendar year, month, and day parts for a human-readable difference.

How to use the Date Calculator

  1. Choose Difference when you need days between two calendar dates.
  2. Choose Add or subtract when you want a date before or after a starting date.
  3. Enter dates in YYYY-MM-DD form so month and day order stay clear.
  4. Check the start-date, business-day, holiday, and time-zone rules before using the result as a deadline.

What people use it for

Count full days between deadlines, trips, projects, or events.

Add or subtract offsets such as 45 days, 6 weeks, or 3 months.

Check how many weeks and leftover days sit between two dates.

Avoid daylight-saving surprises by using date-only calendar math.

Quick examples

Two-week deadline

2026-05-26 to 2026-06-10

15 days, or 2 weeks and 1 day

Add 45 days

2026-05-26 + 0y 0m 6w 3d

2026-07-10

Month-end clamp

2026-01-31 + 0y 1m 0w 0d

2026-02-28

Need the guide or a nearby tool?

Need a slower walkthrough, a related calculator, or the full library? These links keep you close to the task you started.

Frequently asked questions

Plain-language answers about when to use the tool, what it does with your inputs, what to double-check, and how privacy works.

When should I use the Date Calculator?

Use it when your task matches one of these common needs: Count full days between deadlines, trips, projects, or events. Add or subtract offsets such as 45 days, 6 weeks, or 3 months. It works best when you already know the measurements, amounts, units, or options the page asks for.

What is the Date Calculator doing with my inputs?

In plain language: Date difference counts full UTC calendar days between two YYYY-MM-DD dates. Add/subtract mode applies years and months first, clamps month-end dates when needed, then applies weeks and days. The examples on the page are there so you can compare your inputs with a worked example before copying the answer.

What do the main Date Calculator inputs mean?

Start date: the first calendar date in YYYY-MM-DD format. End date: the second calendar date for difference mode. Direction: add moves the date forward; subtract moves it backward. Years, months, weeks, days: the whole-number offset used in add or subtract mode.

How should I read the Date Calculator answer?

Read the headline answer, then check the supporting lines and examples to understand how the calculator got there. If one input changes, rerun the tool and compare the new answer instead of guessing.

What should I double-check before trusting the answer?

Calendar-date math is not the same as time-zone scheduling. Confirm local deadlines, business days, holidays, and time zones separately. Also check the unit, scale, mode, and result limit because small input changes can change the answer.

Does the Date Calculator include the start date?

No. Difference mode counts full days between the two dates. May 26, 2026 to June 10, 2026 is 15 days because May 26 is the starting point, not a completed day.

What happens when I add one month to a month-end date?

The calculator clamps to the last valid day when the target month is shorter. January 31, 2026 plus 1 month becomes February 28, 2026, then any week or day offset is added after that.

Can this count business days or holidays?

No. This page counts calendar days. If weekends, school breaks, bank holidays, or local public holidays matter, check those rules separately before using the result as a deadline.

Does the site save what I enter?

No. The calculator runs in your browser tab. Your recent answers stay only on the page while you use it, and they are not sent to a server.

Related tools