Live Gold PriceGold CalculatorSilver PriceSilver CalculatorliveExchange Rate
Home › Calculators › Date Calculator
DATE & TIME

Date Calculator

Days between two dates, or add/subtract days from any date.

Days between—
Resulting date—

Day counts use exact calendar arithmetic (86400000 ms per day).

What Is a Date Calculator?

A date calculator answers simple-sounding questions that are surprisingly tedious to work out by hand: how many days are there between two dates, or what date falls a certain number of days before or after a given date? It is useful for project deadlines, contract periods, pregnancy due dates, visa validity windows, warranty periods, and counting down to events. Instead of flipping through a calendar and counting on your fingers, you enter the dates and get an exact answer instantly.

How Date Math Works

Behind the scenes, a date calculator converts every calendar date into a single serial number — the count of days elapsed since a fixed reference point (for example, 1 January 1970, or day zero of the proleptic Gregorian calendar). Once dates are plain numbers, the arithmetic is trivial:

The conversion itself follows the Gregorian calendar rules, including leap years: a year is a leap year if it is divisible by 4, except for century years, which must also be divisible by 400. That is why the year 2000 was a leap year but 1900 was not — and why February sometimes has 29 days. The calculator applies these rules automatically, so you never have to think about them.

How to Use This Calculator

  1. Days between dates: enter a start date and an end date. The result is the number of full days separating them.
  2. Add/subtract days: enter a starting date and a number of days (positive to go forward, negative to go back). The calculator returns the resulting date, and usually the day of the week as well.

Worked Example

Suppose a project starts on 1 January 2026 and the deadline is 30 September 2026. How many days do you have?

Counting month by month (2026 is not a leap year): January contributes 30 remaining days, then February 28, March 31, April 30, May 31, June 30, July 31, August 31, and September 30 — a total of 272 days. The calculator produces this in one step, with no manual tallying.

Now suppose a 45-day visa starts on 10 October 2026. October has 31 days, so 21 days take you to 31 October, and the remaining 24 days land on 24 November 2026 — your expiry date.

Tips

Frequently asked questions

Does it count both end dates?

It gives the number of 24-hour days between the dates — add 1 if you want both endpoints inclusive.

Can I use negative days?

Yes — enter a negative number in “Days” to go backwards from the date.