OOnDevice

Date Calculator

Calculate the number of days between two dates, or add and subtract days from a date.

Works offlineNothing uploaded

Enter two dates to calculate the difference

How to use it

1

Enter the start date

Select or type your first date.

2

Enter the end date

Select or type your second date.

3

View the difference

See the difference in days, weeks, months, and years.

When to use Date Calculator

Your lease says you must give 90 days written notice before vacating, and you want to know the last day you can send that letter before your planned move-out date. Switch to add/subtract mode, enter your target move-out date, subtract 90 days, and the calculator lands on the deadline. Flip to difference mode to ask the other direction: how many days remain on a 180-day software trial, a 30-day return window, or a visa countdown. The calculator handles month boundaries and leap years correctly using the browser's Date API, so February math comes out right. Useful also for project managers counting business milestones, parents figuring out a summer camp end date, or anyone who hates counting squares on a paper calendar.

  • Find the last day to give 90-day lease notice before move-out
  • Count remaining days on a 180-day software trial
  • Calculate when a 10-week medication course ends from today

About this tool

Counting down to a due date, a contract deadline, or a visa expiry? Pick two dates and get the exact difference in days, weeks, months, and years. Or flip to add/subtract mode: start from any date, add or subtract a number of days, and land on the result — useful for calculating a 90-day notice period, a 30-day return window, or when a medication course ends. The calculator handles leap years and month boundaries correctly. Processing stays on your device — no inputs are stored or sent anywhere.

Frequently asked

How do I calculate days between two dates?
Select the 'Days Between' mode, enter your start and end dates, and the tool instantly shows the difference in days, weeks, and months.
Can I add or subtract days from a date?
Yes. Switch to the 'Add/Subtract' mode, enter a start date and the number of days to add or subtract, and the result date is calculated instantly.
Does this account for leap years?
Yes. The calculator uses JavaScript's Date API which correctly handles leap years and month boundaries.
Is this date calculator private? Can I use it offline?
Yes on both counts. Calculations run on your computer with JavaScript — your dates never leave your device, and the tool works offline.