Date Lab · Free Online Tool

Days Between Dates Calculator

Calculate elapsed calendar days between two dates. Enter a start date and an end date and it returns the elapsed calendar days between them.

✓ Browser-side calculation✓ Responsive layout✓ Copy & print✓ Clear assumptions
Updated: November 13, 2026Category: Date LabSign-up: Not required
Navjeet Kamboj
Written and maintained byNavjeet KambojAge Calculator Lab author & editor
Calculation engine

Use the Days Between Dates Calculator

Calculator inputs are processed locally by the JavaScript included with this static page.

Result
Your result will appear here
ReadyEnter the required values

Review the inputs and select Calculate.

How it works

Get your Days Between Dates result in four clear steps

Enter the start date and the end date, then select Calculate. The explanation is broken into short actions so you can understand the workflow without reading a wall of text.

1

Start date

Enter the first date of the span.

2

End date

Enter the second date. The order does not matter: entering the dates in reverse returns the same span, and a span from a date to itself reads 0 days.

3

Select Calculate

Two measures are worked out: the calendar duration, stepped anniversary by anniversary, then by whole months, then by days; and the total days, with approximate months and years taken from the average lengths of 30.436875 and 365.2425 days.

4

Review, copy or print

Read the duration alongside the totals — 1 January to 20 October 2026 is 0 years, 9 months, 19 days: 292 days, or 41 whole weeks, shown as about 9.59 months or 0.799 years. For a count that includes both the first and the last day, add one to the total days.

What you get

How the span between two dates is measured

Enter a start date and an end date. The calculator reports the span as calendar years, months and days, together with the total days, the whole weeks, and approximate months and years.

▦Method

Calendar duration plus a raw day count

Two measures are reported. The calendar duration steps from the start date anniversary by anniversary, then by whole months, then by days. The total days figure is the plain count of days between the dates, and the approximate months and years divide that count by 30.436875 and 365.2425, the average month and year lengths.

◎Example

Worked example: 1 January 2026 to 20 October 2026

The calendar duration is 0 years, 9 months, 19 days. The total is 292 days, or 41 whole weeks, which the approximations show as 9.59 months or 0.799 years.

⌁Limits

Inclusion, order and short spans

The count is the elapsed time between the dates, so a span from a date to itself is 0 days, and 14 to 20 October 2026 reads 0 years, 0 months, 6 days. Entering the dates in reverse order returns the same span. For a count that includes both the first and the last day, add one to the total days.

Choose the right tool

Days Between Dates Calculator vs related calculators

Elapsed calendar days are not complete months. Use this one when the question is elapsed calendar days between two dates.

Use this calculator when

Days Between Dates Calculator

  • You need elapsed calendar days between two dates.
  • You have the start and end dates of the span — the order does not matter, and a span from a date to itself reads 0 days.
  • You want the method and limitations on the same page.
Calculation method

What happens after you press Calculate

Compare the two dates with real Gregorian month lengths and leap years.

Purposeelapsed calendar days between two datesMethod familyDate Lab
Actual datesGregorian month lengths are used where the mode is calendar-based.
Clear scopeThe result answers the focused question named at the top of this page.
Visible limitsEstimated or policy-dependent outputs are labeled for responsible use.
No sign-upCalculate, copy, print and continue to a related tool without an account.
Worked flow

See the calculation as a short timeline

Enter the start date and the end date and the timeline shows each step, from those dates to the elapsed days.

Input AStart date

Enter the first date of the span.

Input BEnd date

Enter the second date — the order does not matter, and a span from a date to itself reads 0 days.

ResultDays Between Dates

The calendar duration alongside the totals: 1 January to 20 October 2026 is 0 years, 9 months, 19 days — 292 days, or 41 whole weeks.

Common use cases

Where this calculator can help

01

Deadline planning

Enter the start and end dates and read the elapsed days and the calendar duration — 1 January to 20 October 2026 is 292 days, or 0 years, 9 months and 19 days.

02

Date arithmetic

Use the totals to move between measures: the same 292-day span is 41 whole weeks, about 9.59 months or 0.799 years, and adding one gives the inclusive count.

03

Date-span records

Keep the endpoints and the total together: a span from a date to itself reads 0 days and reversed dates return the same span — 14 to 20 October 2026 is 6 days.

Common questions

Days Between Dates Calculator FAQ

Answers about method, inputs, privacy, boundaries and responsible interpretation.

How does the calculator measure the span between two dates?

It reports two measures. The calendar duration steps from the start date anniversary by anniversary, then by whole months, then by days, giving years, months and days. Alongside it, the total days figure is the plain count of days between the dates.

How many days are there between 1 January 2026 and 20 October 2026?

292 days in total. The calendar duration is 0 years, 9 months and 19 days, which is also 41 whole weeks, and the approximate figures show the same span as 9.59 months or 0.799 years.

Does the count include both the first and the last day?

No. The count is the elapsed time between the dates, so a span from a date to itself is 0 days, and 14 to 20 October 2026 reads 0 years, 0 months and 6 days. If you need a count that includes both the first and the last day, add one to the total days.

Where do the approximate months and years figures come from?

They divide the total days by average lengths: 30.436875 days for a month and 365.2425 days for a year. That is why the 292-day example shows as 9.59 months or 0.799 years, alongside the exact calendar duration.

What happens if I enter the end date before the start date?

Entering the dates in reverse order returns the same span. The calculator measures the elapsed time between the two dates, whichever order they are entered in.

Navjeet Kamboj, author at Age Calculator Lab
About the author

Navjeet Kamboj

Navjeet Kamboj is the author and editor of Age Calculator Lab. He focuses on making age, date, milestone and planning calculations easier to understand through clearly explained methods, practical examples and responsible limitations.