Skip to content

Menu

Date Calculator

Calculate days between dates or add and subtract days from a date.

Runs entirely in your browserMath & FinanceFree, no sign-up
Loading tool

01What is Date Calculator?

Date Calculator answers the two questions people ask about calendars most often. How far apart are these dates? And what date is it N days from now? It has a mode for each, picked with the Difference and Add/Subtract Days buttons at the top. In Difference mode you choose a Start Date and an End Date. They open as today and the same day next month, based on your own clock. The result panel lists days, full weeks, full months, hours and minutes, plus the weekday of each date. Day counts leave the start date out, so January 1 to January 2 is 1 day. If you need both ends counted, add one yourself. Full months follow the calendar, not 30-day blocks, so January 31 to February 28 counts as one full month. Hours and minutes are plain multiples: days times 24 and days times 1,440. The order of the dates doesn't matter. Put the later date first and you still get positive totals. In Add/Subtract Days mode you pick a Start Date and type a whole number of days. A negative number walks backwards. You get the Result Date in YYYY-MM-DD form, which is the ISO 8601 calendar date format, plus its Day of Week. Decimals, blanks and values beyond one million days are refused with a short prompt rather than a strange date. Under the hood every date is treated as a calendar day pinned to midnight UTC. That choice matters. A span that crosses a daylight-saving switch doesn't gain or lose a day, and a visitor in Tokyo gets the same answer as one in Denver. The calendar used is the proleptic Gregorian calendar, the same one JavaScript dates use, with today's leap-year rules applied to every year. A quick example: start on 2026-01-01 and add 90 days. The tool returns 2026-04-01, a Wednesday. Switch to Difference with 2026-01-01 and 2026-03-01 and you see 59 days, 8 full weeks, 2 full months and 1,416 hours. Some honest limits. There's no time-of-day input, so the hours figure is a day count in disguise, not elapsed clock time. Daylight-saving days really last 23 or 25 hours, which this tool ignores on purpose. There's no business-day or holiday logic either. And because there's no Julian mode, weekdays for dates before the 1582 Gregorian reform won't match what people wrote at the time. All the maths happens in the page script on your device. The dates you type never leave the browser tab.

People counting down to deadlines, staff working out invoice or notice periods, and developers who need trusted expected values for date-handling tests. The tool runs entirely in your browser, so your data never leaves your device.

02How to use Date Calculator

  1. Click Difference or Add/Subtract Days at the top of the tool
  2. In Difference, set the Start Date and End Date pickers
  3. Read Days, Full weeks, Full months, Hours (24 per day) and Minutes, plus the weekday line under them
  4. In Add/Subtract Days, set the Start Date and type a value in Days to add (negative to subtract)
  5. Read the Result Date and Day of Week, or use the reset button to return to today and 30 days

03Worked examples

Input: Difference: 2026-01-01 to 2026-03-01
Result: 59 days, 8 full weeks, 2 full months, 1,416 hours, 84,960 minutes (Thursday to Sunday)
The start date is not counted, so this two-month span in a common year is 59 days.
Input: Difference: 2024-01-15 to 2024-03-15
Result: 60 days, 8 full weeks, 2 full months, 1,440 hours (Monday to Friday)
Same two-month shape, one day longer because 2024 has February 29.
Input: Difference: 2026-11-22 to 2025-11-22
Result: 365 days, 52 full weeks, 12 full months (Sunday to Saturday)
The later date came first and the totals are still positive.
Input: Difference: 2026-01-31 to 2026-02-28
Result: 28 days, 4 full weeks, 1 full month
Month-end dates are clamped, so this counts as a full month.
Input: Add/Subtract Days: 2026-01-01, add 90
Result: Result Date 2026-04-01, Wednesday
Input: Add/Subtract Days: 2026-11-22, add -30
Result: Result Date 2026-10-23, Friday
A negative number counts backwards.

04Common use cases

  • Counting the days left until a release freeze, a conference or a visa expiry
  • Finding the due date 90 days after an invoice date, or the notice date 30 days before a renewal
  • Checking which weekday a planned launch or meeting lands on before you announce it
  • Working out how many full calendar months separate two dates for a billing or subscription question
  • Producing expected values for unit tests of your own addDays or daysBetween helpers
  • Back-calculating a start date, such as the day a 45-day trial must have begun to end today

05Tips

  • January 1, 2000 was a Saturday. It's a handy anchor for sanity-checking a weekday by counting in sevens
  • A day count here excludes the start date. For an inclusive range, such as a 3-day conference, add one to the result
  • If you need exact elapsed hours between two clock times, use timestamps. Days times 24 is off by one hour across a daylight-saving change
  • Adding 365 days is not the same as adding one year. From 2024-02-29 it lands on 2025-02-28, and in a span containing February 29 it falls a day short
  • Weekdays before October 15, 1582 follow Gregorian rules here, so they won't match historical records written in the Julian calendar

06Related concepts

Gregorian calendar, Proleptic Gregorian calendar, ISO 8601, Date arithmetic, Day of week.

Frequently Asked Questions

What is Date Calculator?

Date Calculator is a free, browser-based developer tool on AIDToolStack. Calculate days between dates or add and subtract days from a date. It requires no installation or sign-up and works entirely in your browser.

Is Date Calculator free to use?

Yes. No sign-up, no fees and no usage cap.

Does Date Calculator store my data?

No. It runs in your browser; nothing is uploaded.

Related Tools

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe