Date/Everyday

Date Difference Calculator

See how many days, weeks, months, and years lie between two dates. Useful for countdowns, job tenure, and anniversaries.

Total days, weeks, and a years-months-days breakdown. Everything runs in your browser.

How the calculation works

Behind the scenes, each calendar date is converted to a single serial number - the count of days since a fixed reference point - and the two numbers are subtracted. That gives the total days, which is unambiguous because a day is always a day. Weeks are simply the total days divided by seven, shown as full weeks plus a remainder of 0 to 6 days. The years-months-days breakdown works differently: it walks the calendar forward from the earlier date, taking as many whole years as fit, then whole months, then the leftover days, so it naturally respects that months run 28 to 31 days and that some years contain a leap day. You can enter the dates in any order, because the result is always shown as the positive gap.

A worked example

Suppose an employee started on 10 August 2022 and you want their tenure on 20 July 2026. The total days between those dates is 1,440. Divided by seven, that is 205 weeks and 5 days. The calendar breakdown is 3 years, 11 months, and 10 days: three full years reach 10 August 2025, eleven more months reach 10 July 2026, and ten more days reach 20 July. Notice that 1,440 days is more than 3 x 365 plus a fraction - the span crosses the leap day of 29 February 2024, which adds one extra day that a plain 365-per-year estimate would quietly miss.

Total days versus the years-months-days breakdown

These are two correct answers to the same question, and they should not be mixed. Total days is best when you need one clean number to compare, log, or feed into another calculation, such as the number of nights on a trip or the days counted toward a visa stay. The years-months-days breakdown is best when whole years matter, like tenure, guarantee periods, or age, because it reports completed years rather than an approximation. You cannot convert the breakdown back to total days by multiplying months by 30 or years by 365; the only reliable day count is the total the calculator gives you directly.

When to use it

  • Countdowns and D-day: put today's date first and the target second to see exactly how many days remain until an exam, deadline, wedding, or launch.
  • Tenure and experience: measure completed years and months from a start date for resumes, probation periods, severance eligibility, or long-service awards.
  • Stay and visa limits: count the calendar days spent somewhere, useful for rules such as a 90-day cap within a rolling window.
  • Project and billing periods: find the exact length of a sprint, notice period, subscription cycle, or interest accrual window.
  • Anniversaries and milestones: work out how many days a couple, a habit streak, or a company has reached.

Common mistakes to avoid

  • Off by one: the difference counts the gaps between dates, not the dates themselves. From 1 March to 15 March is 14 days of difference but 15 calendar dates, so add 1 when both endpoints should be included.
  • Multiplying to estimate: turning 4 months into 120 days or 3 years into 1,095 days ignores real month lengths and leap days, so the guess drifts off by several days. Read the total-days figure instead of recomputing it.
  • Forgetting leap years: any span that crosses 29 February gains an extra day, and over several years these quietly add up and throw off hand estimates.
  • Confusing calendar days with working days: this counts every day, including weekends and holidays, so deadlines stated in business days need a separate working-day count.

Cautions and limits

  • It measures whole calendar days and ignores the time of day, so a gap in days does not account for hours, minutes, or the exact moment of an event.
  • Legal and contractual deadlines sometimes count differently - including the first day, excluding it, or rolling to the next business day - so check the specific rule before relying on a plain day count.
  • Leap-day anniversaries are ambiguous: a 29 February date has no exact match in non-leap years, so different tools may land on 28 February or 1 March. Treat that result as a convention rather than a fixed fact.
  • For very old historical dates, calendar reforms such as the switch from the Julian to the Gregorian calendar can shift the count; the calculator uses the modern proleptic calendar throughout.
Is my data safe?

The dates you enter are calculated in your browser and never sent to a server.

Read the Privacy Policy

Frequently asked questions

How do I count the number of days until a future date?

Enter today's date as the start and the target date as the end, and the total-days figure is your countdown. If you want the deadline day itself to count, add one day to the result.

Are both the start and end dates included in the total?

No - the total counts the days between the two dates, so the first day is the zero point. To include both endpoints, for example when counting an inclusive contract period, add 1 to the result.

Why doesn't the day count equal the months multiplied by 30?

Real months range from 28 to 31 days and some years contain a leap day, so a fixed 30-day month or 365-day year always drifts. The total days shown is counted straight from the calendar, which is exactly why it is the number to trust.

Does it count weekends and holidays?

Yes. Every result is in calendar days and includes weekends and public holidays. If your deadline is stated in working days, you need a business-day calculator that skips those dates.

How does it handle leap years and 29 February?

The total days automatically include every 29 February that the span crosses, so leap years are always counted correctly. Only the years-months-days breakdown of a 29 February start date is a matter of convention, since that exact day is missing in non-leap years.

Can I use it to calculate someone's age?

Yes - enter the birth date as the start and today's date as the end, and the years-months-days breakdown is the person's exact age. For a dedicated view with a next-birthday countdown, use the Age Calculator.