Free Days Between Dates Calculator

Count the exact number of calendar days, working days, weeks, and months between any two dates.

Advertisement Β· 728Γ—90
Days Between Dates
Advertisement Β· 300Γ—250

What Is a Days Between Dates Calculator?

A days between dates calculator is an online tool that computes the exact number of days separating two calendar dates. Unlike a simple mental subtraction, the calculator correctly accounts for varying month lengths (28, 29, 30, or 31 days), leap years, and the direction of time. It answers questions like "How many days until my project deadline?" or "How many days have passed since a specific event?" instantly and accurately.

Our calculator goes further by also showing working days (Monday through Friday only), full weeks plus remaining days, months plus remaining days, and a breakdown in years, months, and days β€” giving you a complete picture of the time span in whichever unit is most useful for your purpose.

Calendar Days vs. Working Days

The distinction between calendar days and working days is critical in many professional and legal contexts. Calendar days count every day from Monday through Sunday with no exceptions. Working days (also called business days) count only Monday through Friday, excluding weekends. In some contexts, public holidays are also excluded from working day counts, though this tool does not exclude specific holidays since they vary by country, state, and employer.

Here are some examples where the distinction matters:

  • Contracts and legal deadlines: Many contracts specify payment or response deadlines in "business days." A 30-business-day period is actually 42 calendar days (six weeks), not 30 calendar days.
  • Shipping and delivery: Carriers count in business days. "5–7 business days" shipping is 7–9 calendar days if it spans a weekend.
  • Employment and payroll: Notice periods and probationary periods are often specified in calendar days, while pay periods may be described in working days.
  • Loan and mortgage calculations: Interest often accrues on calendar days, but loan processing timelines are quoted in business days.

Why Calculating Date Differences Is More Complex Than It Seems

Simple subtraction works perfectly for counting days when both dates are in the same month, but across months and years the calculation becomes surprisingly nuanced. Months have 28, 29, 30, or 31 days, and leap years add an extra day to February every four years (with exceptions for century years not divisible by 400). Manual calculations are error-prone, and even spreadsheet formulas can trip up users who do not choose the right function variant.

The safest approach β€” and the one used by this tool β€” is to convert both dates to milliseconds since a common epoch (January 1, 1970 in JavaScript's Date object), subtract, and divide by the number of milliseconds in a day (86,400,000). This approach is immune to calendar quirks and always produces the correct integer count of days.

Common Uses for a Date Difference Calculator

People reach for a days calculator in a wide variety of situations:

  • Project planning: Determining how many working days remain until a project deadline, or how long a past project phase actually took.
  • Event countdowns: Counting days until a wedding, graduation, holiday, sports event, or product launch.
  • Age and anniversaries: Finding the exact number of days since a birth date, marriage date, or founding date.
  • Lease and contract terms: Verifying how many days remain in a rental agreement, subscription period, or warranty.
  • Medical and health: Tracking pregnancy (days since last menstrual period), medication cycles, recovery timelines, and follow-up appointment windows.
  • Legal and financial: Statute of limitations deadlines, bond maturity dates, option expiry dates, and appeal filing windows often require knowing the exact day count.
  • Travel and logistics: Passport validity (many countries require 6 months validity remaining), visa duration, and travel insurance policy windows.

How to Use the Calculator

Simply enter a start date and an end date using the date pickers. Results update automatically as you type. The swap button (⇄) lets you reverse the two dates if you need to view the span in the opposite direction. The calculator handles both past and future dates, and it correctly computes the absolute number of days regardless of which date is earlier β€” though the direction label ("from … to …") will reflect the actual order you entered.

The countdown section at the bottom tells you whether the end date is in the future (and how many days from today) or in the past (and how many days ago). This is useful for knowing the current relevance of a deadline or milestone without having to mentally compare dates.

Understanding the Weeks and Months Breakdown

The "Weeks + Days" figure divides the total days by 7 and shows the quotient as weeks and the remainder as days. For example, 100 days is 14 weeks and 2 days. This is useful for scheduling recurring weekly events or understanding time spans in terms of work weeks.

The "Months + Days" figure uses calendar months (based on actual month lengths) rather than approximate 30-day months. The "Years + Months + Days" figure does the same at the full calendar year level. These breakdowns are calculated from the start date forward, so they reflect the actual calendar rather than an approximation, which is important for anniversaries, contract terms, and legal calculations.

Frequently Asked Questions

The calculator counts the number of days between the two dates, which mathematically means the end date is included and the start date is the starting point. For example, from January 1 to January 3 is 2 days (not 3). This matches the convention used in most legal, financial, and scheduling contexts. If you need to count both the start and end dates as full days, add 1 to the result.

Leap years are handled automatically. The calculation converts each date to a millisecond timestamp from the Unix epoch (January 1, 1970). This approach inherently accounts for all leap years (years divisible by 4, except century years not divisible by 400). For example, from February 28, 2024 to March 1, 2024 correctly shows 2 days because 2024 is a leap year and February 29 falls in between.

This tool counts any day that is a Monday, Tuesday, Wednesday, Thursday, or Friday as a working day. Saturday and Sunday are always excluded. Public holidays are not excluded, because they vary significantly by country, region, and employer. If you need to account for specific holidays, subtract the number of holidays that fall within your date range from the working days total shown here.

One calendar month is the period from a given date to the same date in the next month β€” for example, March 15 to April 15. The actual number of days in that period depends on which month it spans: it could be 28, 29, 30, or 31 days. "30 days" is always exactly 30 days regardless of calendar months. The months calculation in this tool uses the real calendar month definition, so it may differ from 30-day approximations used in financial and legal contexts.

Yes. The calculator works for any combination of past and future dates. You can enter two historical dates, two future dates, or one past and one future date. The result shows the absolute difference in days. When the end date is in the past relative to today, the countdown section shows how many days ago the end date was, which is useful for looking back at elapsed time.

Calendar month calculations can be counterintuitive at month-end boundaries. For example, from January 31 to February 28 is technically 0 full calendar months (since there is no February 31 to anchor against), but the total days will be 28. The years/months/days calculation uses the exact calendar, so edge cases at month boundaries may show fewer months than you expect. If you need to count a full period, the total days figure is always the most unambiguous measure.

Related Free Tools

Need a custom tool built for your business?

Get a Free Quote