Skip to content

How Many Days Between Two Dates

Find the number of days, weeks, months, and years between any two dates. Useful for deadlines, anniversaries, contracts, and project planning.

How do you calculate the number of days between two dates?

To calculate the number of days between two dates, subtract the earlier date from the later date, the result is the count of full days separating them. Add one to that total if you want to include both the start and end dates. The calculator below does both for any two dates.

The earlier date, e.g. 2025-01-01

The later date, e.g. 2025-04-15

Feb 28 to Mar 1, 2024. Compare the default result with Include end date.

Result

Total days
0
Weeks & days
0 weeks, 0 days
Years, months, days
0y 0m 0d
Total weeks (decimal)
0.00

From Monday, November 2, 2026 to Monday, November 2, 2026 is 0 days (0y 0m 0d).

How to calculate days between two dates

  1. Enter the earlier date in the Start date field.
  2. Enter the later date in the End date field.
  3. Leave Include end date off to count the gap, or turn it on to count both endpoints.
  4. Read the total days, weeks, and years–months–days from the result card.
  5. Use the Copy button to paste the summary into a doc or message.

Worked examples and counting rules

Leap day: February 28 to March 1, 2024 is two elapsed days because February 29 falls between them. Include both endpoints and the count becomes three. Try the example button above, then switch the inclusion option to see the difference.

Ordinary range: January 1 to April 15, 2025 is 104 elapsed days. The years, months and days result is separate calendar arithmetic, not a 30-day month estimate.

Deadline warning: A contract may exclude the start date, include the end date, or move a deadline falling on a non-working day. Confirm the rule before using this figure in a legal or payroll decision. Count working days instead.

Frequently asked questions

How do you calculate the number of days between two dates?
Subtract the earlier date from the later date. The result is the count of full calendar days between them. To include both endpoints, add one to the total. Calcadian does this automatically and also shows weeks, months, and years.
Does the calculator include the start and end date?
By default it counts the gap between the two dates, so a Monday-to-Wednesday range is 2 days. Turn on “Include end date” to count both endpoints, which makes the same range 3 days.
How many days are between two dates in Excel?
Excel uses =DATEDIF(start, end, "d") or simply end − start. Calcadian gives the same answer in your browser with no formula, plus weeks, months, and years on top.
Can I calculate business days instead?
Yes, use the Business Days Calculator to exclude weekends and any custom holiday dates you observe.
Why are months not always the same length?
Calendar months range from 28 to 31 days. Calcadian computes years, months, and days by walking the calendar, so the result reflects real months, not a 30-day approximation.

Hear about new calculators

An occasional email when we add a calculator or change how one works. No sign-up needed to use the calculators.

To remove your address from our updates list, contact us through the Contact page.

Put this calculator on your site

Free basic iframe embed, no account or API key needed.

Embed this

Want to check the assumptions behind a result? See how Calcadian handles dates and time.

Calcadian calculators are for general planning and informational use. Please verify critical deadlines, legal, payroll, tax, HR, or official requirements with the relevant authorities or a qualified professional.