PixConvert

Free Online Date Difference Calculator

Calculate the exact span between any two calendar dates in days, weeks, months, and years, with optional business day filtering.

How to Find the Difference Between Dates

1

Pick the start date.

The Start Date box begins on today's date. Keep it for a countdown, or choose any past or future date from the calendar.

2

Pick the end date.

Choose the second date in the End Date box. It can come before or after the start date, but it can't be the same day.

3

Click Calculate.

You see the total days, the weeks and leftover days, and the years and months between the dates. Change a date and click Calculate again to update.

Frequently Asked Questions

Answers about counting days, weeks, months, leap years and end dates.

How many days are there between two dates?

Subtract the earlier date from the later one. Enter both dates here and click Calculate, and Total Days shows the count. From January 1 to December 25, 2026 is 358 days, which the Weeks row shows as 51 weeks and 1 day.

Does the count include the start and end dates?

It counts the end date but not the start date, so Monday to Friday is 4 days. To count both days, as many rental, leave or event rules do, add 1 to Total Days. The tool has no switch for this.

How do I find the difference in years, months and days?

Read the Years row for whole years and the Months row for the whole months left after them. The tool doesn't list leftover days next to months: March 15 to June 10, 2026 shows 2 months, and the 26 extra days are not shown.

Why does the Months row show 9 and not the total months?

The Months row holds only the months left after full years. January 1, 2020 to October 19, 2026 shows Years 6 and Months 9, meaning 6 years and 9 months. For total months, multiply the years by 12 and add the months: 81.

How many weeks are between two dates?

Divide the total days by 7. The Weeks row does that for you and shows the leftover days as well, such as 51 weeks 1 day for January 1 to December 25, 2026. Part weeks show as days, not decimals.

Does it account for leap years?

Yes. The count uses real calendar dates, so February 29 adds a day whenever it falls inside your range. January 1, 2024 to January 1, 2025 is 366 days, and February 28 to March 1 is 2 days in 2024 but 1 day in 2025.

What if the end date is before the start date?

You get the same answer either way. The calculator swaps the two dates and returns a positive count, so October 19 to January 1 matches January 1 to October 19. Nothing on screen marks which date came first.

Can it count business days without weekends?

No. Every calendar day counts, weekends and holidays included. For a rough working-day count, multiply the full weeks by 5 and add the leftover weekdays by hand. Public holidays differ by country, so take those off yourself.

How do I calculate a date difference in Excel?

Subtract the cells: =B1-A1 gives the days between the dates in A1 and B1. For years and leftover months, use =DATEDIF(A1,B1,"y") and =DATEDIF(A1,B1,"ym"). This page shows the same kind of day, year and month counts without a spreadsheet.

Can it count hours or minutes between dates?

No. It takes dates without clock times, so the smallest unit is one day. For a rough hour count, multiply Total Days by 24, so 14 days is 336 hours. Daylight saving changes don't affect the day count.

Can I compare a date with itself?

No. When both boxes hold the same date, Calculate stays grayed out instead of showing 0 days. Pick two different dates; the next day gives 1. After you change a date, click Calculate again to refresh the result.

Is this date difference calculator free and private?

Yes, it's free to use as often as you like, with no account. The two dates are worked out in your browser and never leave it. On the live site, Google Analytics counts page visits and ads load, but neither receives your dates.

Date Difference Calculator: Days, Weeks, Years

One click gives the total days, the weeks and leftover days, and the years and months between any two dates.

Date difference calculator: 2026-01-01 to 2026-12-25 is 358 days, the start day not counted and the end day counted

Count the Days Between Two Dates

Pick a start and end date and click Calculate. Total Days counts from one date to the other, with the end date counted and the start date not, so Monday to Friday is 4.

  • End date counted, start date not
  • Leap days included, February 29 too
  • Either date order gives the same result
Try now
Date difference calculator: 2020-01-01 to 2026-10-19 is 2,483 days, 354 weeks 5 days, and 6 years plus 9 months

See Weeks, Months and Years Between Dates

It also splits into weeks plus leftover days and into whole years plus the months left after them. January 1, 2020 to October 19, 2026 is 354 weeks 5 days, or 6 years 9 months.

  • Weeks plus the leftover days
  • Whole years, then the months left over
  • Months row runs from 0 to 11
Try now

Works in Either Order

Put the later date first if you like. The calculator swaps the two dates and shows the same positive result, so you never get a negative number of days.

Past and Future Dates

Count back to a date in history or ahead to a deadline years away. The math uses the real calendar, leap years included, for any year from 1 to 9999.

Start Date Set to Today

The Start Date box is filled in with today's date, so for a countdown you only pick the end date. Change it for any other range.

Free, With No Sign-Up

No account and no limit on how many dates you check. The dates you pick stay in this page only and are gone once you close the tab.

When to Use a Date Difference Calculator

Deadlines, contracts, trips and anniversaries all come down to a count of days.

Project & Work Planning

Count the days or weeks left before a deadline, launch or sprint review. Keep Start Date on today and set End Date to the due date for a countdown.

  • Days left until a project deadline
  • Length of a sprint or project in weeks
  • Days to go before a product launch

Legal & Administrative

Notice periods, contract terms and filing windows are often set in calendar days. Count the days between two dates, then add 1 if the rule counts both days. Check the exact rule in your document.

  • Notice periods from the notice date to the last day
  • Contract length in whole years and months
  • Days left in a probation or trial period

Personal Milestones

Find how long ago a wedding, move or big trip was, or count down to a holiday. For how old someone is, use the Age Calculator instead.

  • Days since a wedding or anniversary
  • Countdown to a holiday or vacation
  • Years and months since a move or new job