BEHIND THE ANSWER
How the calculation works
Different tasks need different endpoint conventions. Hotel nights usually use elapsed days, while a list of attendance dates may include both endpoints. State the convention when sharing a result.
A worked example
From 1 January to 2 January is 1 elapsed day. Counting both calendar dates gives 2 days.
Using the calculator
- Enter start date, end date, counting method. Use the units shown beside each label.
- Choose Calculate to see the result and the substituted steps. Correct any highlighted input error before relying on an answer.
- Read the assumptions below. You can change one input at a time to see how sensitive the result is to that assumption.
Choose the right counting convention
| Task | Usual convention | Watch for |
|---|---|---|
| Elapsed days | Start date is day zero | Same-day interval is zero |
| Inclusive dates | Count start and end | Same-day count is one |
| Calendar age | Complete years and months | End-of-month anniversaries |
| Clock duration | End earlier than start means next day | No daylight-saving adjustment |
A date has no time of day in these calendar tools. Internally, dates use UTC midnight so that a local daylight-saving transition does not turn an ordinary calendar day into a fractional count. This is different from measuring elapsed hours between two dated events in particular time zones.
Administrative and legal rules may require another convention. A deadline can depend on whether the day of service counts, whether a weekend extends the period and which public-holiday calendar applies. These tools do not decide those rules. State the method used whenever the distinction affects the answer.
Why your result may differ
Calendar days are not business days. This tool includes weekends and does not look up regional holidays.
The result reflects the values you enter, rather than a measurement of your circumstances. Check input precision and units before comparing it with a different calculator. A source that uses another definition, reference period or rounding convention may legitimately report a different number. The steps shown above help you identify where the two methods diverge.
Questions, answered.
Are weekends counted?
Yes. Every calendar day counts.
What if both dates are identical?
Elapsed time is zero days; the inclusive count is one calendar date.
Why use UTC internally?
UTC calendar arithmetic avoids a 23-hour or 25-hour local day changing the integer day count.
Are my inputs uploaded or saved?
No. The days between dates calculator runs in your browser. Field values are not sent to a calculation API or saved by the site. Avoid placing sensitive data in search terms or messages.
How should I round the result?
Keep full precision while calculating and round only the final value to a level appropriate for your task. Display rounding does not turn an estimate into an exact measurement. Use the formula and assumptions above when checking an answer.
Sources & editorial notes
The references below explain the underlying definitions or subject background. Linking to a source does not imply endorsement or independent validation of this implementation.
Prepared by the Get Free Calculator editorial team. Published November 19, 2026. If an example, formula or assumption needs correction, tell us which input you used and what you expected. Please avoid sending private financial or health information.