get freecalculator.Find a calculator/

DATE & TIME / FREE & SIMPLE

Days between dates calculator.

Count elapsed calendar days between two dates, with an option to include both endpoints. The default measures the interval from the start date to the end date. Dates are treated at UTC midnight so daylight-saving changes do not add or remove a day.

Get Free Calculator editorial teamPublished November 19, 2026Formula-based estimate

LET’S WORK IT OUT

YOUR RESULTCALCULATED IN YOUR BROWSER

Your answer starts here.

Check the example values, or enter your own and choose Calculate.

BEHIND THE ANSWER

How the calculation works

elapsed days = (end UTC midnight − start UTC midnight)/86,400,000; inclusive count = elapsed days + 1

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

FOLLOW THE NUMBERS

From 1 January to 2 January is 1 elapsed day. Counting both calendar dates gives 2 days.

Using the calculator

  1. Enter start date, end date, counting method. Use the units shown beside each label.
  2. Choose Calculate to see the result and the substituted steps. Correct any highlighted input error before relying on an answer.
  3. 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

TaskUsual conventionWatch for
Elapsed daysStart date is day zeroSame-day interval is zero
Inclusive datesCount start and endSame-day count is one
Calendar ageComplete years and monthsEnd-of-month anniversaries
Clock durationEnd earlier than start means next dayNo 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.

Related worked guides

YOUR PRIVACY

Simple by design.

Calculations stay in your browser. We use Google Analytics to understand site usage. Google Analytics may set analytics cookies and process device and page-view information. Advertising features are disabled in our Analytics tag configuration. Google AdSense also loads and may use cookies and process device and browsing information to serve and measure ads.

Contact submissions are sent to Netlify Forms when you choose to send them. Hosting providers may process security and access logs. You can block analytics with browser controls or the Google Analytics opt-out add-on. This dialog does not change cookie settings.

Read our privacy policy