Dates & age calculator
Date difference calculator
Count the number of calendar days between two dates, including leap days.
Formula and example
Elapsed days = end calendar date − start calendar date. Reversed dates are reported as an absolute difference.
Worked example
The day count is the elapsed number of midnights from the start date to the end date. The start date itself is not counted as a full elapsed day.
Assumptions and limits
Counts elapsed calendar days and excludes the starting day. It does not count both endpoints inclusively.
Day count examples
| Start | End | Elapsed days | Counting both dates |
|---|---|---|---|
| 01 Jan 2026 | 31 Dec 2026 | 364 | 365 |
| 29 Nov 2026 | 25 Dec 2026 | 26 | 27 |
| 01 Feb 2026 | 01 Mar 2026 | 28 | 29 |
| 01 Feb 2028 | 01 Mar 2028 | 29 | 30 |
| 01 Jan 2026 | 01 Jan 2027 | 365 | 366 |
Common mistakes to avoid
- Counting both the start and end date when you want elapsed days. Add 1 only when both endpoints count.
- Forgetting leap years. February 2028 has 29 days.
- Using this for business days. Weekends and holidays are included here.
Privacy
Values are processed in your browser and are not sent to Earnwell Atlas. Your host may still record standard visit logs.
Advertisement
Frequently asked questions
How many days are between two dates?
Subtract the start date from the end date. The result is the number of elapsed days, which does not count the start date as a full day.
Does the result include both the start and end date?
No. It counts elapsed days. If you need to include both endpoints, add 1 to the result.
What if I enter the dates in reverse order?
The calculator reports the absolute difference, so you get the same number of days either way.
How many days are there from 1 January to 31 December?
There are 364 elapsed days, or 365 days if you count both dates in a normal year.
How do I count only working days?
Use the business days calculator, which can leave out weekends and holidays.
Built and maintained by Faris Dinware, founder of Earnwell Atlas. Last updated 29 November 2026. How we build and check these tools.