Home › Everyday calculators and converters
Calculate Days Between Dates
Use this date calculator to find the number of calendar days between any two dates. Choose whether to include both dates in the count, then copy a clearly labeled result for planning, tracking, or checking a date range.
Days between dates calculator
Enter two calendar dates. The order does not affect the absolute day difference.
Choose a start date and an end date to calculate.
How to use the date calculator
Select a start date and an end date with the date fields. Then choose whether the count should include both endpoints and select Calculate days. The result reports the dates you entered, the number of days, and the counting convention so you can see exactly what the total means. If you choose the later date first, the calculator still returns the same absolute distance between the two dates.
Leave “Include both dates” unchecked when you want the elapsed calendar-day difference: for example, the number of days from a departure date to an arrival date. Check it when you are counting every date touched by a range, including its first and last dates. The option changes the total by one; it does not change either selected date. Use Copy result to put the complete, labeled calculation on your clipboard. If a date is missing or invalid, the tool explains what needs attention instead of presenting a partial answer.
How days between dates are calculated
The calculator reads each input as a calendar date, constructs UTC midnight for that date, subtracts the earlier timestamp from the later one, and divides by 86,400,000 milliseconds per day. In formula form: absolute((end − start) ÷ 86,400,000). Since both values are UTC midnights, the difference is a whole number of calendar days. For inclusive counting, it adds one to that result.
This method treats dates as calendar labels rather than local times. A daylight-saving change can make a local day shorter or longer than 24 hours on a clock, but it does not alter how many calendar dates lie between two inputs. The tool does not infer a time zone, calculate hours, or reinterpret a date based on where you are. Its result is therefore a day count, not a duration down to a time of day.
For a simple check, reverse the inputs: the absolute count will stay the same. The displayed start and end labels will follow what you entered, while the explanation still tells you whether the endpoints are included. A zero elapsed-day result means both fields contain the same date; its inclusive count is one because that range contains one calendar date.
Worked example: March 10 to March 12
Suppose the start date is March 10, 2025, and the end date is March 12, 2025. March 11 is one day after March 10, and March 12 is two days after it. The elapsed difference is therefore 2 days. With “Include both dates” selected, the count is 3 calendar dates: March 10, March 11, and March 12. This example also shows why a range’s inclusive count is not the same as its elapsed difference.
The same arithmetic works across month ends and leap days because it compares complete UTC calendar dates. For instance, February 28 to March 1, 2024 is 2 elapsed days: February 29 occurs between them. Inclusive counting for those same endpoints is 3 dates. You can use examples like these to check which counting convention matches the question you need to answer before copying a result.
What this day count does and does not include
This is a calendar-day calculator. Saturdays, Sundays, and public holidays count like any other date. It does not calculate business days, working hours, weeks, months, recurring schedules, or a deadline under a particular contract or law. Those calculations can depend on jurisdiction, local holidays, cutoff times, and rules for whether a first or last day counts. Check the applicable rules when the result will be used for a legal, financial, or contractual deadline.
Dates are interpreted as written in the browser’s date input and compared at UTC midnight. No time of day or location-specific time zone is involved. An empty field cannot produce a result, and invalid date values are rejected. This tool runs its calculation in your browser and does not need an account or a network connection.
Frequently asked questions
Does the day count include the start and end dates?
By default, the count is the elapsed calendar days between the dates, so the start date is not counted as a full day. Turn on Include both dates to count each endpoint as a day; this adds one to the difference.
What if I enter the later date first?
The calculator uses the absolute difference, so reversing the two dates gives the same number of days. The result shows the dates you entered and labels the count as inclusive or elapsed.
Are these calendar days or business days?
These are calendar days, including weekends and holidays. The calculator does not remove non-working days or account for a local holiday calendar.
Why can the inclusive count be one day higher?
The elapsed difference measures the steps from one date to the other. An inclusive count also counts the first date itself. For example, March 10 through March 12 spans two elapsed days but includes three calendar dates.
Does this calculator use my time zone?
No. It treats each input as a calendar date at UTC midnight, rather than a time of day in your location. This avoids daylight-saving clock changes affecting the whole-day result.
For general date planning only; verify dates and counting rules for legal, financial, or contractual deadlines.
Last updated 2026-11-22. Runs entirely in your browser; nothing you enter is uploaded.
More in Everyday calculators and converters
- Percent Off Calculator
- Prozent Rechner online
- Add or subtract days and months from a date
- Fraction Calculator With Whole Numbers
- GPA Average Calculator
- Calculate Square Feet From Feet and Inches
- Convert Centimeters to Inches
- Pick Random Items From Your List
- Deutschlandticket-Rechner: Wann lohnt sich der Kauf?
- Calculate your 3D printing cost
- Crypto Market Crash History
- Biggest Stock Market Drops in History: Worst Days and Weeks
- Wash Sale Calculator: 30-Day Rule Dates, Disallowed Loss and New Basis
Optional analytics
With your consent, Google Analytics measures visits and tool-link clicks. No file contents, filenames or form inputs are collected. You can withdraw at any time.