Number of Days Between Two Dates
Enter a start date and an end date to find exactly how many days, weeks, months, and years fall between them. You also get a business-day count, a weekend count, and a plain-English breakdown such as "2 years, 3 months, 1 week, and 4 days." Toggle whether to include the end date in the total. Results update instantly as you type.
How to count days between two dates
The simplest way to count the number of days between two dates is to subtract the earlier date from the later date. In most programming languages and spreadsheet tools this is exactly what happens: dates are stored as a count of days since a fixed epoch, so subtraction gives you a whole number instantly. On paper, you can count forward from the start date day by day, but for ranges longer than a few weeks it is much faster to use a calculator like this one. The most common source of confusion is whether to include the end date. By default, calculators (and most programming conventions) count from the first day up to but not including the last day. So from June 1 to June 10 is 9 days, not 10. If both endpoints should be counted, for example in a legal clause that says "the period from the 1st to the 10th, inclusive," you add one extra day. The "Include end date" toggle in this calculator handles that for you.
Business days vs. calendar days
A calendar day is any day of the week, including Saturdays and Sundays. A business day is any Monday through Friday, regardless of public holidays. Knowing the difference matters for contracts, invoice terms, legal deadlines, and payroll cycles. For example, if a contract says "payment is due 30 business days from signing," that is actually 6 calendar weeks, not just 30 calendar days. This calculator shows both counts at once so you can pick the right figure for your situation. Public holidays are not deducted from the business-day count because they vary by country and region; the reference table below shows standard approximations for planning purposes. A 5-day working week means about 71% of all calendar days are business days in a typical month. In a 30-day month you get roughly 21-23 business days depending on which day of the week the month starts.
Why leap years and month lengths matter
When you divide a day count into years or months, the answer depends on which average you use. This calculator reports exact calendar days as the primary output and then offers three divided figures: weeks (divide by 7, exact), months (divide by 30.4375, the Gregorian average), and years (divide by 365.25, which accounts for a leap day every four years on average). The exact breakdown (for example, "2 years, 3 months, 1 week, and 4 days") is calculated by walking forward from the start date one unit at a time rather than dividing, so it always lines up with the actual calendar. That means a range from February 1 to March 1 in a leap year counts as 29 days, but the same range in a non-leap year counts as 28 days.
Common uses for a day counter
Day counters come up in many practical situations. In finance, bond interest is sometimes calculated on a 30/360 basis where every month is treated as 30 days, or on an actual/actual basis using the real calendar. Knowing the exact day count matters for pricing. In law, statutes of limitations, appeal windows, and notice periods are almost always specified in calendar or business days, and courts interpret "from" and "to" dates strictly. A one-day mistake can invalidate a filing. In healthcare, drug trial windows, pregnancy due dates, and antibiotic courses are all day-specific. Pregnancy is counted from the first day of the last period, making the day count from that date to a future due date about 280 days. In everyday life, day counters help with planning: days until an event, days since a milestone, or how long a trip will last. The "days since" question is common for anniversaries, recovery tracking, and subscription lengths.
Common time-period benchmarks
| Period | Calendar days | Business days (approx.) | Notes |
|---|---|---|---|
| 1 week | 7 | 5 | Mon-Fri, no holidays |
| 1 fortnight | 14 | 10 | Two calendar weeks |
| 1 month (average) | 30 or 31 | 21-23 | Varies by month |
| 1 quarter | 90-92 | 63-65 | 3 calendar months |
| 1 half-year | 181-184 | 126-131 | 6 calendar months |
| 1 year (non-leap) | 365 | 261 | Standard year |
| 1 year (leap) | 366 | 262 | Divisible by 4 (usually) |
| 30/360 convention | 360 | 252 | Used in bond math |
Standard equivalents used in law, finance, and everyday planning when counting days.
Frequently asked questions
How do I count the number of days between two dates?
Subtract the start date from the end date. Each whole day is one unit. Most calculators, spreadsheets, and programming languages store dates as integers (days since a fixed epoch), so subtraction gives you a whole-number answer instantly. This calculator does all of that for you and also breaks the result into weeks, months, years, and an exact compound breakdown.
Should I include the end date when counting days?
It depends on the context. The standard mathematical convention (and most software defaults) is to exclude the end date: from June 1 to June 10 is 9 days. Legal and contract language often uses inclusive ranges: "from June 1 to June 10, inclusive" is 10 days. Use the "Include end date" toggle in this calculator to switch between the two conventions.
How many business days are between two dates?
A business day is Monday through Friday. To count business days, you subtract the number of Saturdays and Sundays that fall in the range from the total calendar-day count. This calculator shows both the calendar-day count and the business-day count side by side. Note that public holidays are not automatically removed because they vary by country; deduct them manually if needed.
Why does the month count use 30.4375 days?
The Gregorian calendar has months of different lengths (28, 29, 30, or 31 days), so there is no single exact number of days in "a month." The average, accounting for leap years over a 400-year Gregorian cycle, is 365.2425 / 12 = 30.436875 days per month. This calculator rounds that to 30.4375 for simplicity, which is accurate to within a few minutes per year.
How is the year count calculated?
Dividing the day count by 365.25 gives the approximate number of Julian years, which accounts for the leap day that occurs (on average) every four years. For a more precise figure the calculator also shows the exact breakdown in whole years, months, weeks, and days by walking forward from the start date on the actual calendar.
What is the difference between a calendar day and a working day?
A calendar day is any day of the year including weekends and holidays. A working day (or business day) is typically Monday through Friday, excluding public holidays. Employment contracts, payroll periods, and many legal deadlines specify one or the other, so it is important to know which applies to your situation.
Can this calculator count days in the past?
Yes. You can enter any start and end dates regardless of order and the calculator will return the absolute number of days between them. The breakdown always goes from the earlier to the later date.