Skip to content

Date Calculator

Calculators•Client-Side & Private

Calculate the exact difference between two dates in years, months, weeks, and days. Add or subtract days, months, or years from any date.

Tool workspace

Loading tool controls…

Calculations processed locally — numerical inputs never leave your browser
Free Instant Private

Verify it yourself: press F12, open the Network tab, and use this tool — your inputs never leave your browser.

Date Calculator at a glance

Price
Free
Account
Not required
File uploads
None — your files are never uploaded
Category
Calculators

Who uses Calculators?

Students, homeowners and small businesses working out money, health or study figures — from mortgages to BMI.

How to Use Date Calculator

Follow these simple steps to get instant results in your browser.

1

Choose a mode

Select Days Between Dates or Add/Subtract Date.

2

Set dates and options

Enter both dates, or a base date with whole-number day, month and year offsets.

3

Read the result

Check elapsed days and the inclusive setting; use Copy Summary for the date-difference result.

4

Combine offsets carefully

In Add/Subtract mode, years and months apply first and clamp to the month's last valid day — only then are the days added. January 31 plus one month plus 10 days is March 10, 2026.

💡

What is Date Calculator & How Does It Work?

Use Days Between Dates for elapsed calendar days, weeks and a calendar breakdown. Include end date adds one to the day total: January 1 to January 2 is normally one elapsed day, or two when counting both dates. Reversed dates still return a positive interval and are identified as reversed.

The Add/Subtract mode applies years and months first, clamps to the last valid day of the destination month, then applies days. January 31 plus one month therefore becomes February 28 in 2026. Day totals use UTC date arithmetic to avoid daylight-saving hour changes. This tool counts calendar days, not working days, public holidays or jurisdiction-specific deadlines.

The clamp order matters when you combine offsets. January 31 plus one month plus 10 days first becomes February 28 (the clamp), and only then gains 10 days to reach March 10, 2026 — it does not become March 3 by adding 41 days to January 31. In the leap year 2024 the same start plus one month lands on February 29 instead of February 28, which is why the tool shows the year when it clamps.

Read the breakdown, not just the day count. An interval is shown as elapsed days, as weeks, and as a calendar breakdown into years, months and days — 400 days reads as 57 weeks and 1 day. The calendar breakdown is a way of naming the same interval, not a set of fixed-length months: a calendar month is 28 to 31 days, so the breakdown should never be read as months of 30 days.

⚡

Key Features & Capabilities

✓

Date-only arithmetic

Counts calendar days independently of local daylight-saving hours.

✓

Month-end rule

Clamps month and year offsets before adding the day offset.

✓

Inclusive counting

Include end date adds one to the day total — January 1 to January 2 is two days when both dates are counted.

✓

Reversed-date note

Reversed dates still return a positive interval, and the result is identified as reversed.

Pro Tips

  • •Bookmark this tool for instant one-click access anytime.
  • •Adjust values using direct input or sliders for instantaneous recalculation.
  • •All processing happens in your browser session for maximum speed and data safety.

🎯 Common Use Cases

Personal planningFind the calendar interval between two milestones.
Date offsetsFind a date a specified number of days, months or years away.
Countdown to a deadlineSet today as the start and the deadline as the end to see the exact days left, with weeks and a calendar breakdown.
Visa & passport deadlinesCount the exact days left before a visa or passport expires, including leap-year Februaries.
Planning a 400-day project400 days reads as 57 weeks and 1 day — use the weeks figure when a plan is talked about in weeks rather than days.
Adding a month to a month-end dateJanuary 31 plus one month is February 28 in 2026 and February 29 in the leap year 2024 — the tool clamps to the last valid day instead of spilling into March.
📐

Calendar day difference

Formula Equation:
days = |UTC(end date) − UTC(start date)| / 86,400,000

Include end date adds one to the day total. Calendar years/months/days are a separate breakdown and should not be treated as fixed-length months.

✏️

Worked Example

  1. 12026-01-01 → 2026-01-02 = 1 day
  2. 2Include end date = 2 days
  3. 32026-01-31 + 1 month = 2026-02-28
  4. 42026-01-31 + 1 month + 10 days = 2026-03-10 (clamp to Feb 28 first, then add 10 days)
  5. 5400 days = 57 weeks and 1 day
📚

Sources & Further Reading

Frequently Asked Questions about Date Calculator

Frequently asked questions

By default it shows the exclusive count (days between, not including endpoints). Toggle 'Include end date' to add one day to the total.

Set today's date as the start date and your next birthday as the end date. The calculator shows the exact number of days remaining.

The calculator still returns a positive interval — for example, 31 December 2026 back to 1 January 2026 is 364 days — and shows a note that the dates are reversed. Swap the dates if you want the interval in calendar order.

Years and months are applied first and clamped to the last valid day of the destination month, then days are added. So 31 January 2026 plus one month becomes 28 February 2026, while 31 January 2024 plus one month becomes 29 February 2024 in the leap year.

57 weeks and 1 day. The calculator shows the interval as elapsed days, as weeks, and as a calendar breakdown into years, months and days — 400 ÷ 7 is 57 with 1 day left over.

The same interval named in calendar years, months and days. It is not a set of fixed-length months — a calendar month is 28 to 31 days — so do not read the breakdown as months of 30 days.

No. This tool counts calendar days only — not working days, public holidays or jurisdiction-specific deadlines. For a deadline that depends on working days or a legal rule, check the rule itself rather than this count.

Complementary utilities for your workflow

View all →
You are here

Date Calculator

Find days between dates or add/subtract from a date.

Current tool