← Imperial Products / Tools / Date Calculator

Date Calculator

Calculate days between two dates, add or subtract days from a date, and count business days excluding weekends and US federal holidays. Real-time results for any date math.

Days Between Two Dates

Total Days Between Dates
—
Calendar Days
—
Business Days
—
Weeks (exact)
—
Months (approx.)
—
Hours
—
Weekend Days
—
Start Day of Week
—
End Day of Week
—
US Holidays in Range
—
Next Upcoming Holiday
—

Add or Subtract Days from a Date

Result Date
—
Day of Week
—
Calendar Days
—
Weeks
—
Hours Away
—
Countdown (days)
—
Weekends Skipped
—
Start Date
—
Result Date
—
Holidays in Range
—
Next Holiday After Result
—

Business Days Between Two Dates

Business Days Between Dates
—
Calendar Days
—
Business Days
—
Weekend Days
—
US Holidays in Range
—
Whole Weeks
—
Months (approx.)
—
Start Day of Week
—
End Day of Week
—
Next Holiday After Start
—
Full Business Weeks
—
Mon – Fri

How to Calculate Days Between Dates

Date arithmetic is more nuanced than it first appears. The simplest form — counting calendar days between two dates — subtracts one date's Julian Day Number from the other. Because each calendar day spans exactly 86,400 seconds (ignoring leap seconds), the raw millisecond difference returned by modern date libraries is reliable for whole-day counting.

The Basic Formula

Total calendar days = End date − Start date (in whole days) Example: Start: January 1, 2025 End: March 31, 2025 Days: 89 calendar days

The result is always an integer. Note that the answer changes depending on whether you count the start date, the end date, or both. This calculator counts the days between dates (neither endpoint counted), which is the standard convention for durations like "how long until a deadline."

Business Day Counting Rules

A business day (also called a working day or weekday) is any Monday through Friday that is not a public holiday. Business day calculations are used extensively in contract law, financial settlements, HR policy, and project management. The precise counting methodology matters:

This calculator defaults to exclusive counting (neither endpoint), with checkboxes to add either or both endpoints as needed.

US Federal Holidays

The ten permanent US federal holidays affect business day calculations for federal employees and many private-sector workers. The exact calendar date of each holiday varies by year because several are expressed as "the nth weekday of a given month." This calculator computes the observed date (including Monday substitution when a holiday falls on Sunday) for each year.

New Year's Day Jan 1 Martin Luther King Jr. 3rd Monday of January Presidents' Day 3rd Monday of February Memorial Day Last Monday of May Juneteenth Jun 19 Independence Day Jul 4 Labor Day 1st Monday of September Columbus Day 2nd Monday of October Veterans Day Nov 11 Thanksgiving 4th Thursday of November Christmas Day Dec 25

When a holiday falls on Saturday, federal employees typically observe it on the preceding Friday. When it falls on Sunday, the following Monday is the observed holiday. This calculator applies the Sunday-to-Monday substitution rule (the most common private-sector convention) but does not apply the Saturday-to-Friday substitution by default, as private employers vary on this point.

Date Math Formulas and Notation

Date arithmetic is foundational to many fields. Here are the key formulas used in this calculator:

Weeks (exact) = floor(total_days / 7) Remainder days = total_days mod 7 Months (approx.) = total_days / 30.4375 Hours = total_days * 24 Business days = total_days − weekend_days − holidays_on_weekdays

The approximate months figure uses 30.4375 days per month (365.25 days per year ÷ 12 months), which accounts for the average effect of leap years. For an exact month count, the calculator uses calendar-aware arithmetic: count complete calendar months and then handle the remaining days.

Common Use Cases for Date Calculators

Project Planning
Calculate sprint durations, milestone deadlines, and delivery dates while automatically excluding weekends and company holidays. Essential for Agile teams tracking velocity over time-boxed periods.
Legal Deadlines
Court filing deadlines, statute of limitations, notice periods, and contract cure periods are routinely expressed in calendar or business days. A one-day error can be fatal to a legal claim.
Pregnancy & Medical
Gestational age is typically tracked in weeks and days from the last menstrual period (LMP). A standard pregnancy is 40 weeks (280 calendar days) from LMP to estimated due date.
HR & Payroll
Probation periods, notice periods, leave accrual calculations, and benefit waiting periods all depend on accurate day counting. Many HR policies specify business days specifically to exclude weekends.
Financial Settlements
Stock trades settle on a T+1 or T+2 basis (trade date plus 1 or 2 business days). Bond interest accrues on actual/365 or actual/360 day-count conventions used across different markets.
Shipping & Logistics
Freight transit times, customs clearance windows, and delivery SLAs are typically quoted in business days. Adding shipping transit days to a send date quickly gives the expected arrival date.
Event Countdowns
Weddings, vacations, retirement dates, anniversaries, and product launch countdowns are all date subtraction problems. Seeing the result in weeks or months can provide helpful perspective.
Academic Calendars
Semester lengths, assignment due dates, exam windows, and application deadlines are all date-interval problems. Many scholarship deadlines are expressed in strict calendar days.

How to Count Business Days Manually

  1. Identify the start and end date and determine which endpoints to include.
  2. Count the total calendar days in the range.
  3. Calculate the number of complete weeks: divide total days by 7 and take the floor. Each complete week contains 5 business days and 2 weekend days.
  4. For the remaining days (0–6), count how many fall on Saturday or Sunday by iterating from the start day of the week.
  5. Subtract total weekend days from total calendar days to get raw weekday count.
  6. Identify any public holidays that fall on a weekday within the range and subtract those as well.

Weeks, Months, and Years — Approximate vs. Exact

When converting a day count to weeks, the answer is exact because weeks always equal exactly 7 days. Months are trickier: February has 28 or 29 days, while other months have 30 or 31. For display purposes, this calculator shows both an approximate month count (using the 30.4375-day average) and an exact calendar-aware months figure. The approximate figure is useful for quick estimates; the exact figure is correct for billing cycles, subscription durations, and other month-precise requirements.

Day Count Conventions in Finance

Financial instruments use standardised day count conventions to calculate interest accrual between two dates. The most common are:

This calculator uses actual calendar days, which is appropriate for most everyday date-difference needs. For financial accrual calculations involving specific day count conventions, consult a financial calculator purpose-built for that convention.

Related Free Online Tools