CalcuAll.
A quick calculation, right here.

CalcuAlltor.

FREE ONLINE SCIENTIFIC CALCULATOR

0
Ready when you are.
English

Everyday

Date Difference Calculator

Count elapsed calendar days between two dates.

Let’s calculate.

Usage estimate

Count elapsed calendar days between two dates.

Your result
—days
Rounded to up to 2 decimal places.

EXPLORE THE FORMULA

Date Difference Calculator

Everyday · FORMULA GUIDE

Your current calculation

The values and displayed result follow the calculator as you edit it.

Start date
—
End date
—
Your result—
This panel uses the calculator’s displayed, rounded result.

The formula

Days = end calendar date − start calendar date

Count elapsed calendar days between two dates.

Variables and input conventions

start
Start date — calendar date
end
End date — calendar date

Understanding the calculation

Validate both dates, place each at midnight on a common UTC reference and divide their difference by 86,400,000 milliseconds. Equal dates give zero elapsed days.

Interpreting the result

Years 0001–9999 use proleptic Gregorian rules: leap years are divisible by 4, except century years must be divisible by 400. Historical local calendar changes are not reconstructed. End must not precede start. This counts calendar-day boundaries, not inclusive days, working days or actual hours across daylight-saving changes.

A worked example

January 1 to January 31 is 30 elapsed days.

A fixed reference example; it does not change with your inputs.

Assumptions and valid inputs

Proleptic Gregorian dates, year 0001–9999 (the same calendar rules are applied even before historical adoption). End must not precede start. The end date is not counted as an extra day. No local timezone or daylight-saving duration.

Rounding and numerical precision

Everyday numeric calculations use a private 640-significant-digit decimal context. Calendar calculations use validated Gregorian dates and exact integer day/year results within years 0001–9999. Other numeric entries accept a decimal point or comma and scientific notation, up to 100 characters, with nonzero magnitude from 10⁻¹⁰⁰ to 10¹⁰⁰. Fixed printed units must be followed; no implicit currency or measurement conversion is applied. This precision protects arithmetic, not measured consumption, assumed speeds or tariffs. Choose 0–8 decimal places for display and copying. Trailing zeros are omitted; very small values may round to zero. Display rounding does not change the underlying calculation. Finite-precision arithmetic is not symbolic exact arithmetic.

Accuracy of input data

Extra displayed decimals do not improve input accuracy. Measurement uncertainty, product variability and uncertain chosen rates are separate from rounding. This tool does not propagate measurement uncertainty. Check that its stated assumptions describe your situation.

References and further study

aa.usno.navy.mil

USNO describes Gregorian leap-year rules. CalcuAll’s elapsed-day counting and completed-age algorithm, including its February 29 convention, are explicit model choices rather than universal legal rules.

Related tools

Formula and worked example

Days = end calendar date − start calendar date

Reference example

January 1 to January 31 is 30 elapsed days.

When this calculation applies

Years 0001–9999 use proleptic Gregorian rules: leap years are divisible by 4, except century years must be divisible by 400. Historical local calendar changes are not reconstructed. End must not precede start. This counts calendar-day boundaries, not inclusive days, working days or actual hours across daylight-saving changes.

Background reference: aa.usno.navy.mil. References explain the method or units; they do not certify this calculator.

Source scope: USNO describes Gregorian leap-year rules. CalcuAll’s elapsed-day counting and completed-age algorithm, including its February 29 convention, are explicit model choices rather than universal legal rules.

For the derivation, input conventions and numerical limits, open .