To count the days between two dates, convert both to day numbers and subtract. From June 1 to September 30, 2026: 30 days remain in June + 31 in July + 31 in August + 30 in September = 122 days. Including both start and end dates adds one more. Spanning multiple years requires accounting for leap years.
👉 Free Days Between Dates Calculator — instant, no signup required →
What Is a Days Between Dates Calculator?
A days between dates calculator computes the exact number of days separating two calendar dates. You enter a start date and an end date, and the tool subtracts to give you the total calendar days between them — handling all the complexity of varying month lengths, leap years, and year boundaries automatically.
This type of calculation comes up constantly: tracking how many days remain until a deadline or event, calculating how long a project has been running, determining the length of a contract or lease, counting days since a medical procedure or event, verifying whether an invoice is past due (net-30 terms), and comparing "this period last year" in business reporting.
The distinction between calendar days and working days matters for many professional uses. Calendar days count every day including weekends and holidays. Working days (business days) count only Monday through Friday, excluding weekends — and some calculations further exclude public holidays. A 30-calendar-day period contains roughly 21–22 business days depending on where weekends fall.
A days between dates calculator can return both counts. For legal response windows, employment contracts, and financial settlement periods, always confirm whether the stated number of days refers to calendar days or business days — the difference can be significant for time-sensitive obligations.
How the Calculation Works
The simplest method for dates within a year: count days remaining in the starting month + days in each full intervening month + days elapsed in the ending month.
For multi-year spans, the formula becomes:
Days = (End Year − Start Year) × 365 + Extra days for leap years + Day-of-year difference
For exact precision, most software uses Julian Day Numbers (a continuous count of days since a reference point), then subtracts.
Days Between Dates Examples
| From | To | Calendar Days | Working Days (M-F) | |------|----|-------------|-------------------| | Jan 1, 2026 | Dec 31, 2026 | 364 | 261 | | Jun 14, 2026 | Sep 22, 2026 | 100 | 71 | | Mar 15, 2026 | Mar 15, 2027 | 365 | 261 | | Jan 1, 2024 | Jan 1, 2025 | 366 (leap year) | 262 |
Counting Working Days vs. Calendar Days
Calendar days count every day including weekends and holidays.
Working days (business days) count only Monday–Friday, excluding weekends. Some calculations also need to exclude public holidays:
Working Days = Total Calendar Days − Weekend Days − Public Holidays
Where Weekend Days = number of Saturdays and Sundays in the range. For a 30-day period: approximately 30 − (30/7 × 2) ≈ 21.6 working days on average, or exactly count from a calendar.
When working days matter:
- Legal response deadlines ("answer within 30 business days")
- Payment terms ("net 30" in invoicing means 30 calendar days, but "30 business days" means ~6 weeks)
- Project timelines
- Employment notice periods
- Stock settlement (T+1 or T+2 settlement in business days)
Date Range Quick Reference
| Duration | Calendar Days | Working Days (approx) | |----------|-------------|----------------------| | 1 week | 7 | 5 | | 2 weeks | 14 | 10 | | 1 month | 28–31 | ~21 | | 3 months | 89–92 | ~65 | | 6 months | 181–184 | ~130 | | 1 year | 365 (366 in leap) | ~261 |
Common Date Calculation Scenarios
Countdown to event: Days until a future event: calculate from today to the event date. Your age at future event: age + (days until event / 365.25).
"How long ago" calculations: Days since a past event: event date to today. Useful for tracking "days sober," "days since last incident," project elapsed time.
Contract and notice periods: Employment contracts often specify notice periods (30 days, 90 days). The period begins the day after the notice is given. Always check: are weekends included? Most employment notice periods are calendar days. Lease termination notices are usually calendar days.
Payment terms: "Net 30" = payment due 30 calendar days from invoice date. "30/10, Net 30" = 2% discount if paid within 10 days, full amount due in 30 days.
Frequently Asked Questions
Does the date calculation include both the start and end date? This depends on the context and convention. Most "days between" calculations exclude the start date and include the end date (so "from Monday to Friday" = 4 days). Some applications include both (Monday to Friday = 5 days, including both ends). Legal periods often include both endpoints. The RoughTools calculator shows both conventions.
How do I calculate dates across leap years? A leap year occurs every 4 years (1996, 2000, 2004...) with exceptions: years divisible by 100 are NOT leap years unless also divisible by 400. So 1900 was not a leap year; 2000 was. The date calculator automatically handles leap years in the calculation, adding 366 days for each leap year in the range instead of 365.
How are payment due dates calculated for invoices? Invoice date + payment terms = due date. Net 30 from January 15: February 14 (January has 31 days: 31−15=16 remaining days in January + 14 days in February = 30 days). Most invoicing software adds exactly 30 calendar days to the invoice date. If the due date falls on a weekend or holiday, it typically shifts to the next business day.
How do I count "days since" a historical date? Enter the historical date as the start date and today as the end date. The calculator gives total days elapsed. Divide by 365.25 to convert to approximate years. Historical examples: the Apollo 11 moon landing (July 20, 1969) was 20,782 days before June 14, 2026 — almost 57 years ago.
Why do some months have different numbers of days? The modern Gregorian calendar has months of 28–31 days, a legacy of Roman calendar reforms. Originally, March was the first month (which is why September, October, November, December mean 7th, 8th, 9th, 10th month in Latin). Julius Caesar added January and February; Augustus Caesar adjusted day counts. February is short because days were taken from it to add to July (Julius) and August (Augustus), though this historical story is partially myth.
Related Free Tools on RoughTools
- Age Calculator — calculate exact age from birthdate to today
- Date Calculator — add or subtract days from a date
- Working Days Calculator — count business days, excluding weekends and holidays
Count Days Between Dates Now
The free Days Between Dates Calculator at RoughTools calculates exact days between any two dates, with options for calendar days, working days, and week counts. Handles multi-year spans and leap years automatically. No account needed, completely free.