Home/📐 Math

Date Difference Calculator

Days, weeks, months, and working days between any two dates.

Date arithmetic is deceptively tricky. How many days from February 28 to March 1 differs between leap and non-leap years. How many months from January 31 to February 28 — 0 months and 28 days, or 1 month? The calculator uses the most intuitive rules: whole calendar months first, then remaining days, so '3 months 5 days' always means what you'd naturally count on a calendar.

Total days (from start to end)
366
Formatted
1 year
Full weeks
52
Working days (Mon–Fri)
263
Weekend days
103
Total months
12

Calendar days vs working days — when each matters

For legal deadlines, loan terms, and contract notices, calendar days are almost always what the law means. '30 days' in a lease typically means 30 calendar days from the notice date.

For work projects, delivery estimates, and anything measured in business time, working days are the practical unit. A 10 working-day delivery isn't two weeks if there are two weekends in the window — it's 14 calendar days. Many shipping carriers quote working days, as do courts for certain procedural deadlines.

Why February breaks everything

February causes most date arithmetic edge cases.

  • One month from January 31 could mean February 28 (or 29 in a leap year) — most systems land on the last day of the target month.
  • Adding 30 days to January 31 gives March 2 (or March 1 in a leap year) — different from 'one month later'.
  • Leap years occur every 4 years (divisible by 4), except centuries (divisible by 100) — unless also divisible by 400. So 2000 was a leap year; 1900 was not.
  • The formatted breakdown (years + months + days) in this calculator follows the 'days remaining in the partial month' rule — the most natural human interpretation.

Common date difference questions answered

A few frequently needed calculations to sanity-check the tool.

  • Days in a year: 365 (or 366 in a leap year). Days in a month: 28–31 depending on the month.
  • Days in a decade: 3,652 or 3,653 (depending on how many leap years fall inside).
  • Working days in a year: approximately 260–262 (52 weeks × 5 days ± 1–2 day adjustments for year start).
  • Days between two dates exactly 1 year apart (same month/day): always 365, unless a Feb 29 falls between them, in which case 366.

How to use the date difference calculator

  1. 1
    Enter your start date
    Use the date picker or type in YYYY-MM-DD format. For 'days until' a future event, enter today as the start.
  2. 2
    Enter your end date
    The calculator handles reversed dates (end before start) and shows the absolute difference.
  3. 3
    Read the results
    Total days is the primary output. The formatted breakdown (years, months, days) is the natural-language version. Working days excludes weekends.

FAQ

How do I calculate the number of days between two dates?
Subtract the earlier date from the later date in milliseconds and divide by 86,400,000 (milliseconds per day). The calculator above handles this instantly — enter your start and end dates and it shows total days, weeks, months, and working days.
What's the difference between calendar days and business (working) days?
Calendar days count every day including weekends and holidays. Working days (also called business days) count only Monday–Friday. This calculator shows both. Note: working days here excludes weekends only — it doesn't account for public holidays, which vary by country and employer.
How do I calculate months between dates?
Count the full calendar months between the two dates, then add the remaining days. For example, Jan 15 to Apr 20 = 3 months and 5 days. The calculator shows the exact breakdown: X years, Y months, Z days.
How many days until my deadline / event?
Enter today's date as the start and your deadline or event date as the end. The result shows how many total days and working days remain.
How many weekdays are in a year?
A standard year has 365 days (366 in a leap year). Dividing by 7 gives 52 full weeks with 1–2 extra days. That works out to 260–262 weekdays per year, depending on what day of the week January 1 falls on.

Related math calcs