Calculate Days Between Two Dates
A Day Counter Calculator helps you find the exact number of calendar days between two dates and can also show working days, weekends, weeks, hours and minutes.
Enter a start date and end date to calculate the elapsed time between them. You can choose whether the end date is included, exclude applicable U.S. federal holidays from working-day calculations, add or subtract days from a starting date, or use Conway's Doomsday Rule to determine the weekday of a date.
This calculator is useful for everyday date questions, project planning, business schedules, deadlines, leave planning, event countdowns, service periods and other situations where the difference between two calendar dates matters.
It also separates several concepts that are often confused:
- Calendar days count the elapsed dates.
- Working days apply a workweek and holiday rules.
- Business-day calculations determine a future or previous date while skipping non-working days.
- Financial day-count conventions use specialized rules for calculating accrual fractions.
That distinction is important because the answer to "how many days?" depends on what you actually want to count.
What Does a Day Counter Calculate?
At its simplest, a date difference is:
For example, from September 14, 2026 → December 14, 2026 with the end date excluded gives 91 days.
The same interval can be represented as:
- 13 weeks
- 2,184 hours
- 131,040 minutes
The calculator derives those sub-units from the same underlying calendar duration rather than treating each as a separate calculation.
If you need chronological age rather than a raw date duration, use the Age Calculator instead, because age is normally expressed in completed years, months and days rather than simply dividing a day total by 365.
Days Between Two Dates: Example
Suppose the dates are September 14, 2026 and December 14, 2026 with exclusive end-date counting. The interval can be broken down month by month:
| Month | Calculation | Days Contributed |
|---|---|---|
| September | 30 − 14 | 16 days |
| October | Full month | 31 days |
| November | Full month | 30 days |
| December | 1 to 14 (exclusive of 14) | 14 days |
| Total | 16 + 31 + 30 + 14 | 91 calendar days |
Therefore, the duration is exactly 91 calendar days. For broader calendar and offset inquiries, explore our Date Calculator.
Inclusive vs Exclusive Date Counting
One of the most common causes of disagreement between date calculators is whether the final date is included:
- Exclusive counting: The calculator measures the elapsed interval between the two dates. For example,
March 1 → March 3yields 2 days. - Inclusive counting: Both endpoint dates are counted as complete calendar days. March 1, March 2 and March 3 are included, yielding 3 days.
For the same reason, comparing the same date to itself (March 1 → March 1) yields 0 days exclusive but 1 day inclusive. The calculator provides an explicit "Include end day in count" setting so the counting rule is always transparent.
Does the Start Date Count?
That depends on the selected convention. In the calculator's normal elapsed-duration mode, the start date is the temporal baseline. The end date may then either be excluded or included through the explicit setting.
This is why March 1 → March 3 is 2 days under exclusive counting rather than 3. When using a different application's business-day or deadline rules, always check its stated convention instead of assuming every system counts dates identically. When converting intervals into smaller units like hours, seconds or minutes, reference our Time Duration Calculator.
What Happens When the Dates Are Reversed?
Suppose you enter December 14, 2026 as the start date and September 14, 2026 as the end date.
The calculator identifies the reversed order rather than silently presenting a misleading positive result. It indicates with an explicit notice that the dates were reordered for the duration calculation and provides a 1-click button to swap them.
This is especially useful for deadline calculations, because a result such as "91 days" is ambiguous if the displayed start date is later than the displayed end date.
Calendar Days vs Working Days
Calendar days and working days answer fundamentally different questions:
- Calendar days include every single day in the interval without exception.
- Working days depend on the selected work schedule and holiday exclusions.
For the calculator's standard schedule, Monday through Friday are working days, and Saturday and Sunday are weekend days. The calculator also supports alternate workweek schedules including four-day (Mon–Thu) and six-day (Mon–Sat) patterns.
So a 14-day calendar interval can contain fewer than 10 working days, depending on where it begins and whether public holidays fall within it.
Working Days Example
For September 14, 2026 → December 14, 2026 (exclusive):
The 91 calendar days contain 65 weekdays and 26 weekend days before federal holiday exclusions. The interval includes three applicable federal holidays:
- Columbus Day (Monday, October 12, 2026)
- Veterans Day (Wednesday, November 11, 2026)
- Thanksgiving Day (Thursday, November 26, 2026)
After removing those three weekday holidays: 65 − 3 = 62 working days.
| Metric | Result |
|---|---|
| Calendar days | 91 |
| Working days | 62 |
| Weekend days | 26 |
| Weeks | 13 |
| Hours | 2,184 |
| Minutes | 131,040 |
How U.S. Federal Holidays Affect Working Days
The calculator can exclude U.S. federal holidays when determining working days. Federal holidays are established by 5 U.S.C. § 6103. The U.S. Office of Personnel Management (OPM) lists holidays such as New Year's Day, Martin Luther King Jr. Day, Washington's Birthday, Memorial Day, Juneteenth, Independence Day, Labor Day, Columbus Day, Veterans Day, Thanksgiving and Christmas.
Several of these dates move from year to year according to weekday rules:
- Thanksgiving 2025 = November 27
- Thanksgiving 2026 = November 26
- Thanksgiving 2027 = November 25
OPM's schedules confirm those dates. The calculator therefore generates holidays dynamically for the exact year being calculated instead of using one fixed year's dates.
Federal Holidays That Fall on Weekends
For most federal employees working a Monday-through-Friday schedule, OPM states that a Saturday federal holiday is generally observed on the preceding Friday, while a Sunday holiday is generally observed on the following Monday.
For example, Independence Day in 2026 falls on Saturday, July 4. The observed federal holiday for most federal employees is Friday, July 3, 2026.
The calculator handles the observed weekday rather than simply ignoring the Saturday holiday. This distinction matters significantly when calculating business days and contractual deadlines.
Are Federal Holidays the Same as Company Holidays?
No. A federal holiday calendar is not automatically identical to a private employer's holiday calendar. A company may close on additional days (such as the day after Thanksgiving or Christmas Eve), remain open on some federal holidays (such as Columbus Day or Veterans Day), use a different shift schedule, or define business days contractually.
Therefore, the federal-holiday option should be used when the relevant work schedule actually follows that holiday calendar. For employment, contractual or legal deadlines, the governing policy remains authoritative.
How the Calculator Handles Leap Years
The calculator uses the standard astronomical Gregorian leap-year rule:
So:
- 2024 = leap year (divisible by 4)
- 2028 = leap year (divisible by 4)
- 2000 = leap year (century year divisible by 400)
- 1900 = not a leap year (century year not divisible by 400)
- 2100 = not a leap year (century year not divisible by 400)
The U.S. Naval Observatory confirms this Gregorian rule and the 400-year cycle containing exactly 146,097 days. The calculator's tests explicitly verify those century cases.
Why Leap Years Change Date Calculations
Consider:
February 28, 2024 → March 1, 2024: 2024 contains February 29, so there are 2 elapsed days.February 28, 2025 → March 1, 2025: 2025 is a common year, so there is only 1 elapsed day.
The calculator verifies both transitions to ensure multi-year calculations do not accumulate 1-day drift errors.
Why February 30 Should Never Be Accepted
An important quality test for any date calculator is invalid-date handling. February 30, 2026 does not exist in the Gregorian calendar.
Some programming environments normalize invalid date values automatically. That can turn an invalid input like February 30 into March 2 without notifying the user.
This calculator validates the year, month and day before constructing the date, so impossible values such as February 30, April 31, and June 31 are rejected instead of being silently changed. This is especially critical for applications involving legal deadlines and contractual periods.
Adding Days to a Date
Sometimes the question is not "How many days are between these dates?" but rather "What date will be 30 days after this date?"
The calculator's Add/Subtract mode handles that problem:
- January 1, 2026 + 30 calendar days = January 31, 2026
- January 31, 2026 − 30 calendar days = January 1, 2026
- February 28, 2024 + 1 day = February 29, 2024 (leap year)
- February 28, 2025 + 1 day = March 1, 2025 (standard year)
Adding Business Days Instead of Calendar Days
Business-day arithmetic is different. If you add one calendar day to a Friday, you reach Saturday. If you add one business day to a Friday under a Monday–Friday workweek, you reach Monday.
For example:
because Saturday and Sunday are skipped. If Monday is an excluded public holiday, the result moves to the next eligible working day (Tuesday).
What Is a Business Day?
There is no single universal business-day definition. The calculator can apply standard Monday–Friday or other configured work schedules, and can optionally remove excluded federal holidays. The effective rule is:
For a real contract, employer deadline or financial agreement, always use the work-calendar definition specified by that agreement.
Multi-Year Date Calculations
Long date ranges introduce additional complications because the calculator must handle leap years, different month lengths, changing floating holidays, observed holiday shifts, and year boundaries.
The calculator generates holiday dates independently for each year covered by the range. This matters for a ten-year calculation just as much as for a short interval around Thanksgiving.
Date Calculations Across Year Boundaries
A simple year transition does not create a special mathematical exception: December 31 → January 1 is 1 elapsed day under exclusive counting.
However, when working-day or holiday calculations are involved, the two dates belong to different holiday calendars. That is why the calculator treats each year separately when generating year-specific holidays.
What Is the "Percent of Mean Gregorian Year"?
The calculator includes a useful comparison showing the interval as a percentage of a mean Gregorian year. It uses exactly 365.2425 days as the denominator:
For our benchmark of 91 days: 91 ÷ 365.2425 × 100 ≈ 24.91%.
The 365.2425 figure comes from the Gregorian calendar's 400-year cycle: 146,097 ÷ 400 = 365.2425 days per year. This is why the calculator labels the metric Percent of Mean Gregorian Year rather than leaving the denominator ambiguous.
Why a Gregorian Year Is 365.2425 Days on Average
A Gregorian calendar year is not exactly 365 days because leap days are inserted over time. Across the complete 400-year cycle:
and 146,097 ÷ 400 = 365.2425 days/year. The U.S. Naval Observatory confirms this average and the exact 400-year repetition of the Gregorian civil calendar.
Conway's Doomsday Rule
The Day Counter also includes a Doomsday Rule Solver. Conway's Doomsday Rule is a mental-calculation technique for determining the weekday associated with any Gregorian date. The algorithm works through:
The calculator's implementation has been checked across thousands of dates and against independent Gregorian weekday calculations.
Example: What Day Was March 15, 2026?
The calculator verifies:
- March 15, 2026 = Sunday
- March 15, 2292 = Tuesday
- January 1, 2000 = Saturday
- February 29, 2024 = Thursday
This makes the Doomsday mode useful when you want to answer a weekday question without manually consulting a calendar. If you also need clock-time conversions, check out our Time Calculator.
What Is a Financial Day-Count Convention?
Financial calculations sometimes use specialized methods to turn a date interval into an accrual fraction. Examples include:
- Actual/Actual
- Actual/360
- Actual/365 Fixed
- 30/360
These should not be confused with ordinary calendar-day counting. A financial contract may specify a particular convention, and the result can depend on that exact convention.
Actual/Actual Is Not One Universal Formula
The name Actual/Actual can refer to different conventions. Two important examples are:
- Actual/Actual ICMA: Used in coupon-period calculations based on the actual length of the coupon period together with coupon frequency.
- Actual/Actual ISDA: Uses separate day denominators for common and leap years (days in standard years divided by 365, days in leap years divided by 366).
ISDA explicitly recognizes ACT/ACT (ICMA) as distinct from other Actual/Actual variants. So a financial calculator should identify the specific convention instead of simply saying: "Actual/Actual = actual days divided by 365 or 366."
Actual/360 and Actual/365 Fixed
Actual/360 uses Actual Days ÷ 360 for the relevant day-count fraction. It is common in commercial paper and money markets, and differs from simply asking how many calendar days elapsed.
Actual/365 Fixed uses Actual Days ÷ 365. The denominator remains 365 rather than switching to 366 during leap years. That is one reason Actual/365 Fixed can produce a different accrual fraction from Actual/Actual ISDA for a period involving February 29.
What Is 30/360?
30/360 is a family of financial day-count conventions that approximates months as 30-day periods. However, 30/360 US and 30E/360 are not identical.
ISDA publishes separate examples for 30/360 and 30E/360, demonstrating that the convention must be identified precisely. The correct financial question is therefore not simply "Which 30/360 formula?" but "Which specific 30/360 convention does the contract or instrument require?"
Why Different Date Calculators Can Give Different Answers
Two calculators may both be functioning correctly but use different rules. Differences can come from:
- inclusive vs exclusive counting;
- business-day definitions;
- holiday calendars;
- observed holiday rules;
- leap-year handling;
- financial day-count conventions;
- reversed-date policies;
- date formatting;
- timezone treatment.
So when two tools disagree, compare their assumptions before deciding that one result is wrong.
Date-Only Arithmetic and Time Zones
A date such as September 14, 2026 is a calendar date, not necessarily a specific instant in time. If date-only values are incorrectly processed as local or UTC timestamps, a user in another timezone can potentially see the date shift backward or forward by one day.
The calculator deliberately performs date arithmetic in pure calendar coordinates to avoid daylight-saving and timezone shifts in date-only calculations. That is especially important for international users.
Date Calculators for Deadlines, Planning and Leave
A date calculator can help you perform the arithmetic behind a deadline, but the governing deadline rule still matters. For example, a policy might specify 10 calendar days, 10 business days, 10 days excluding the start date, or 10 days including the filing date. Those rules are not interchangeable.
For project planning, showing both calendar days and working days is much more informative than a single duration: a project might last 91 calendar days but contain only 62 working days under standard workweek and holiday rules.
Leave systems also have special rules concerning weekends, public holidays, and employee schedules. The Day Counter provides the underlying arithmetic, but the employer's leave policy remains authoritative.
Common Day-Counting Errors
Day Counter Result Reference
For the calculator's benchmark:
- Start: September 14, 2026
- End: December 14, 2026
- End date: excluded
- Federal holidays: excluded from working days
| Calculation | Result |
|---|---|
| Calendar duration | 91 days |
| Working days | 62 |
| Weekend days | 26 |
| Weeks | 13 weeks |
| Hours | 2,184 |
| Minutes | 131,040 |
| Mean Gregorian year | 24.91% |
The benchmark has been independently verified in the current implementation.
Methodology & Sources
The calculator uses Gregorian calendar arithmetic and validates dates against the actual number of days in each month. Its leap-year logic follows the standard 400-year Gregorian cycle. The U.S. Naval Observatory confirms that the Gregorian calendar repeats exactly every 400 years and averages 365.2425 days per year.
The federal holiday set follows the holidays established under U.S. federal law (5 U.S.C. § 6103), with year-specific schedules and observed dates referenced through the Office of Personnel Management. The financial section distinguishes the major day-count conventions rather than treating "Actual/Actual" or "30/360" as universal formulas. ISDA documentation confirms the differences among the principal variants.
Final Takeaway
A reliable Day Counter Calculator needs more than simple subtraction. The exact result depends on the rules being applied:
For the benchmark interval from September 14, 2026 to December 14, 2026, the exclusive elapsed duration is 91 calendar days. Under the standard Monday–Friday schedule and with applicable U.S. federal holidays excluded, that becomes 62 working days and 26 weekend days. The same 91-day interval is 13 weeks, 2,184 hours, 131,040 minutes, and approximately 24.91% of a 365.2425-day mean Gregorian year.
For ordinary date arithmetic, that makes the calculator useful for quickly answering questions such as how many days between two dates, how many business days, what date is 90 days from now, or what weekday was a particular date. For legal, contractual, employment or financial deadlines, however, the calculator should be treated as the arithmetic engine—not the governing authority. The applicable contract, policy, regulation or financial convention determines how the final date must actually be interpreted.