Using the Calculator

Start by entering your beginning date in the From field and your ending date in the To field. The calculator immediately computes the total number of calendar days between them. By default, the calculation excludes the end date—if you need to include it, check the Include end date option to add one to your result.

You can also reverse the process: enter a start date and the number of days you want to count forward, then read the resulting end date from the output. Similarly, enter an end date and a day count to discover what date falls that many days before it.

For workload planning, enable Working time to count only Monday through Friday. If your work week differs or you need to exclude specific holidays, use the Include / exclude some week days checkboxes to customize which days of the week count toward your total.

Day Count Formulas

The calculator applies different formulas depending on which output you need. All methods begin with the difference between your two dates, then adjust based on your preferences.

Total days = Date₂ − Date₁ + (1 if include end date, else 0)

Working days = ⌊(Date₂ − Date₁) ÷ 7⌋ × 5 + remaining weekdays in partial week

Custom days = count(Date₁ to Date₂) with selected weekdays only

  • Date₁ — The start date of your interval
  • Date₂ — The end date of your interval
  • Include end date — Boolean flag: add 1 to include the final day in your count
  • Remaining weekdays — Number of Monday–Friday days in the leftover days after removing complete weeks

Counting Days Across Months and Years

When both dates fall in the same month and year, subtraction is straightforward: April 4 and April 17 are simply 17 − 4 = 13 days apart. Spanning different months or years requires accounting for each month's varying length.

The Gregorian calendar assigns:

  • 31 days to January, March, May, July, August, October, and December
  • 30 days to April, June, September, and November
  • 28 days to February (or 29 in leap years)

Leap years occur every four years—2024, 2028, and 2032 are leap years—with rare exceptions for century years. This variation is why manual calculation becomes tedious; the calculator handles it automatically, whether your dates span weeks, months, or decades.

Common Pitfalls and Tips

Avoid these frequent mistakes when measuring time intervals:

  1. Off-by-one errors — Clarify whether you're including the start date, the end date, or both. Many date calculations exclude the end date by default. If you're counting days worked or project duration, you usually want to include both the first and last day—use the checkbox to adjust.
  2. Forgetting weekends in business calculations — Standard working-day counts assume Monday–Friday schedules. If your industry observes different hours (retail, healthcare, shifts), manually deselect irrelevant days. Public holidays also vary by country and aren't included in the standard working-day figure.
  3. Leap-year surprises — A leap year adds one extra day to February, shifting the total count by 1. If your interval spans a leap day (February 29), the result will differ from a non-leap year by that single day—especially important for annual comparisons.
  4. Timezone and daylight-saving time — This calculator works with calendar dates only and ignores time zones or daylight-saving transitions. For precise hour-and-minute intervals spanning such changes, you'll need a tool that handles local time zones.

Practical Applications

Project managers use this tool to compute sprint durations, milestone gaps, and deadline counts. Employees calculate tenure or notice periods. Event organisers measure days until opening, allowing for countdown planning. Financial analysts measure accrual periods between transactions. Researchers track experimental durations or study intervals with precision.

The working-days feature is invaluable when deliverables depend on office hours: a 10-day deadline with working-days mode automatically accounts for weekends, giving teams a clearer picture of actual labour time. Custom weekday filtering helps if your team observes a non-standard work week or needs to skip a specific holiday.

Frequently Asked Questions

Which months have exactly 28 days?

Only February contains exactly 28 days in a standard non-leap year. In a leap year, which occurs every four years (2020, 2024, 2028), February has 29 days instead. No other month in the Gregorian calendar is shorter than 28 days.

How many business days exist in a typical year?

The average year contains approximately 261 working days, though this varies slightly year to year. For example, 2022 and 2023 each had 260 working days, while 2024 (a leap year) has 262. These figures assume a Monday–Friday work week and do not account for public holidays, which differ by country and region.

What's the average number of days in a month?

A month averages 30.44 days when calculated across a full year: 365.25 days ÷ 12 months ≈ 30.44 days. This accounts for months of varying lengths and the leap-day adjustment. In practice, months range from 28 to 31 days depending on which one you're examining.

Can this calculator handle dates in the past or future?

Yes. You can enter any valid calendar date—historical dates hundreds of years ago or projected dates far into the future. The calculator applies the same day-counting rules regardless of whether your interval is recent, ancient, or speculative.

Why does including the end date add exactly 1 day?

By default, day counts use inclusive-start, exclusive-end logic: you count the start date but exclude the end date. This convention prevents double-counting when chaining intervals. Adding the end date simply shifts from 'days between' to 'days spanning,' increasing the total by one. The checkbox lets you toggle this behaviour instantly.

Does this tool account for public holidays?

No. The calculator measures calendar or working days without filtering for national, regional, or company holidays. To exclude holidays, manually deselect the relevant weekdays using the custom weekday options if those holidays fall on a regular working day.

More everyday life calculators (see all)