Date Calculator
Free online date calculator to find the exact number of days between two dates or add and subtract days from a given date. Useful for counting down to a milestone, working out a deadline, measuring project length, or finding a 90-day warranty expiration, with leap years handled correctly.
Total days
—
Usage examples
Counting down to a milestone
Find out how many days are left until an anniversary or exam, or how many days have passed since a given date.
Calculating contract or tenure length
Enter a start date and today's date to see exactly how many years, months, and days you've been somewhere.
Working out a deadline
Add or subtract a number of days from a starting date to instantly find the exact resulting date.
Measuring the length of a project
A project ran from January 15, 2024 to July 4, 2024. In "Date difference" mode, enter those two dates as the from and to date to see a total of 171 days, spanning a leap year.
Finding a 90-day warranty expiration
You bought a product on October 21, 2026 with a 90-day warranty. In "Add days" mode, enter that as the start date and 90 as the days to add to see the warranty expires on January 19, 2027.
Frequently asked questions
Are the dates I enter sent to a server?
No. All calculations run entirely in your browser, and the dates you enter are never sent to a server.
Does it handle leap years correctly?
Yes. The calculation is based on actual calendar days, so leap years with February 29 are accounted for correctly.
What happens if I enter a negative number in Add days?
A negative number subtracts that many days from the start date, giving you an earlier date.
How is the years/months/days breakdown calculated?
Alongside the total day count, the tool also converts the gap between the two dates into calendar-based years, months, and days.
Does the total day count include both the start and end dates?
No. The total is the number of days between the two dates, not an inclusive count of calendar days touched. For example, January 1 to January 2 returns 1 day. If you need an inclusive count (such as for billing full days), add 1 to the result.
Why might the date difference look like it's off by one compared to another tool?
Different tools make different choices about whether to count the start date, the end date, both, or neither. This calculator always returns the absolute number of days between the two calendar dates (an exclusive count), so compare that definition against whatever tool you're cross-checking with.
Does this calculator account for time zones or just calendar dates?
It works with calendar dates only, not specific times or time zones. Internally, each date is treated as midnight UTC on that calendar day, so the result is always the same no matter what time zone you're browsing from.