Guides

How Do You Count Calendar Days Between Two Dates?

Count calendar days between two dates with the add-days calculator: the date-difference formula, a worked 2024 example, a results table, and four FAQs.

Miryori Editorial Team3 min read
Try the Add Days Calculator

Planning a trip, checking how long you have until a deadline, or measuring how long an event lasts all come down to the same question: how many days separate two dates? The add-days calculator answers it from two calendar dates and reports the day count alongside working-day and weekday-based results.

The add-days calculator counts the calendar days between a From date and a To date. By default it includes the start date and leaves out the end date, so January 1 to December 31, 2024 returns 365 days in that leap year: December 31 would be the 366th day. Type or pick both dates, then read Time between. Tick Include end date to count the last day and get 366 instead.

What formula counts the calendar days between two dates?

The calculator's own equation is a subtraction with one switch:

time between=date2−date1+include end date\text{time between} = \text{date2} - \text{date1} + \text{include end date}

Here date2\text{date2} is the To date and date1\text{date1} is the From date. The include end date term is 0 when the box is unchecked — the default — and 1 when it is ticked. Because the switch is off initially, the base result measures how many days you live through to arrive at the end date rather than counting that last day itself. In 2024, a leap year, the span from January 1 to December 31 is 365 days under this rule; December 31 is the 366th day.

What results does a 2024 date range produce?

Once both dates are entered, the calculator fills three output fields. For the January 1 to December 31, 2024 span used in the calculator's own example, the reported values are:

Output field What it counts Result for Jan 1–Dec 31, 2024
Time between Calendar days, start included and end excluded by default 365 days
Time between with Include end date ticked The same span with the last day counted 366 days
Working time Business days, excluding every weekend 261 days
Custom time, Mondays included Only the Mondays in the span 53 days
Custom time, Fridays + Saturdays + Sundays excluded All days except those three weekdays 209 days

Each row uses the same pair of dates; only the counting rule changes. The last-day, working-day and weekday rules each have their own dedicated article.

Worked example: counting the days of 2024

  1. Click the From field and select January 1, 2024. The field accepts a typed date as well as a calendar pick.
  2. Click the To field and select December 31, 2024.
  3. Read the time between field: the calculator shows 365 days.

The result can look surprising in a leap year, when the calendar contains 366 days. The explanation is the end-date rule: the calculator answered how many days you must live through from January 1 to arrive on December 31, and December 31 would be the 366th day. Leave Include end date unticked for this answer; ticking it changes the count to 366 days and also affects the other outputs.

FAQ

How many days are between June 1st and August 31st?

Including August 31st, there are 92 days. Add June and July first: 30 + 31 = 61 days. August contributes 31 more days, so 61 + 31 = 92 days. The add-days calculator confirms the total when the end date is counted.

Can I type a date instead of picking it from the calendar?

Yes. The From field's own guidance says to choose a date from the calendar or type it in, so either entry method produces the same day count.

Which values does the calculator fill in by itself?

Time between, Working time and Custom time are forced outputs. They are computed from the two dates and the selected options; you do not enter them manually.

What can I use a day count for?

The calculator's stated uses are planning a trip, checking how long you have until a deadline approaches, and finding out how many days a particular event lasts.

References

  • Calendar arithmetic references on subtracting two dates and the leap-year rule for 2024.
  • Add Days Calculator source documentation: the three output fields and their worked 2024 values.
  • General arithmetic references on counting elapsed days and named weekdays.
Calculator

Add Days Calculator

Add Days: calculator to add days between two given dates. Free, fast and private.

Try the Add Days Calculator