Live · Instant · Private

Date Difference Calculator

Find the exact number of days, weeks, months, years and business days between any two dates. Leap years handled automatically.

Quick:
Difference —

Pick two dates to see the difference.

How It Works

How Dates are Compared

Total days

The primary number. It is the exact count of 24-hour periods between the two dates. If you enter 1 January and 1 February, the total is 31 days, because January has 31 days. The count is not affected by leap years in the same way a month calculation is — it is always literal.

Years, months and days

The calendar-aware breakdown. It counts whole years first, then whole months, then the remaining days — the same way you would say "two years, three months and five days". This is what most people mean by a date difference.

Weeks and remaining days

Total days divided by 7, with the remainder shown separately. Useful for project planning and pregnancy calculations.

Business days

Weekdays only, Monday to Friday. Weekends are excluded. Public holidays are not excluded, because they vary by country and region. For a precise business-day count that respects a specific country's holidays, subtract those days manually.

Inclusive count

The default result counts the number of full days between the two dates, excluding both endpoints. The inclusive count adds one — it is what you get if you count "1 January, 2 January, 3 January" instead of measuring the span. Hotels and some rental services use the inclusive count for bookings.

Leap years

Every fourth year is a leap year (with century exceptions). The calculator handles this automatically. A date difference that spans a 29 February will be one day longer than the same range in a non-leap year.

Worked Examples

Common Ranges

FromToTotal days
1 January 20261 February 202631
1 January 202631 December 2026364
1 January 202431 December 2024365 (leap)
15 August 202515 August 2026365
1 January 20201 January 20303,653 (3 leap days)
1 January 202631 March 202689
Everyday Uses

When You'll Need This

Trip planning

Days until departure, nights between flights, or how many days a visa allows you to stay.

Employment dates

Exact length of service for contracts, references, probation periods and notice calculations.

Anniversaries & milestones

How many days since you met, weeks until the wedding, or months since you started something new.

Pregnancy & infant age

Weeks and days since a conception date or the age of a newborn in weeks.

Billing and interest

Days between invoice date and due date, or the exact period for interest calculations.

Legal deadlines

Count calendar days or business days to a filing deadline, response window or statutory period.

Questions

Date Difference FAQ

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

Subtract the earlier date from the later date. The calculator handles leap years and varying month lengths automatically.

What are business days?

Business days are weekdays, Monday to Friday. Public holidays are not excluded because they vary by country.

Does the calculator include the start and end date?

By default, no. The result is the number of full days between the two dates. The inclusive count, which counts both endpoints, is also shown in the stats grid.

How many days are in a year?

A normal year has 365 days. A leap year has 366. The calculator accounts for leap years automatically.

What if I enter the dates in the wrong order?

The calculator shows the absolute difference and warns you that the second date is earlier than the first. You can also use the swap button to reverse them.

Are the results time-zone aware?

No. Dates are treated as calendar dates without a time component, which is how most people think about date differences.

How do I calculate someone's age using this?

Enter the date of birth as "From" and today as "To". The calendar breakdown gives the age in years, months and days. For a richer age display, use the age calculator.

Related Tools

You Might Also Need

Last updated: .