Calculation Number Of Days

Instant date span, business days & live distribution

Start-Date-Inclusive Day Counter

Count the start date and exclude the end date.

Result
—

How the Start-Date-Inclusive Day Counter Works

The Start-Date-Inclusive Day Counter counts the start date as day 1 and stops before the end date. The result equals the standard date difference, framed as day 1 through the day before the end date.

  1. Set the start date

    Enter the date that counts as day 1, such as a check-in date.

  2. Set the end date

    Enter the date that ends the period without being counted, such as a check-out date.

  3. Read the counted days

    The result counts the start date and every day after it, up to the day before the end date.

  4. Match the billing rule

    Use the result directly for nightly rates, daily interest and rent periods that end on a move-out day.

How the Count Is Calculated

The Start-Date-Inclusive formula counts the half-open interval [Start date, End date).

Days = End date − Start date   (interval [Start, End))
[Start
Square bracket: the start date is inside the count.
End)
Round bracket: the end date is outside the count.
Days
Number of counted days, equal to the standard difference.

Example: A guest checks in on 15 March 2026 and checks out on 10 August 2026. The stay covers 148 counted days (nights), from 15 March through 9 August.

Worked Examples

The table lists the first and last counted day for sample start-inclusive ranges.

Start dateEnd dateFirst counted dayLast counted dayDays
1 Mar 20265 Mar 20261 Mar4 Mar4
1 Jun 20261 Jul 20261 Jun30 Jun30
15 Mar 202610 Aug 202615 Mar9 Aug148
1 Jan 20261 Jan 20271 Jan 202631 Dec 2026365
1 Jan 20241 Jan 20251 Jan 202431 Dec 2024366

What the Tool Measures

A Start-Date-Inclusive Day Counter is a day counter that includes the first date and excludes the last date of a range. Mathematicians write the range as a half-open interval: [start, end).

Hotels, banks and landlords use start-inclusive counting. A hotel charges for the night of the check-in date and not for the check-out date. A bank charges interest from the disbursement date and stops on the repayment date.

Back-to-back start-inclusive ranges never overlap and never leave gaps. 1 January to 1 February and 1 February to 1 March share the boundary date without double-counting it.

When to Use This Tool

There are 5 main uses of the Start-Date-Inclusive Day Counter, including hotel stays and interest accrual.

  • Hotel and rental nights

    Hosts count billable nights from check-in date to check-out date.

  • Interest accrual

    Banks count interest days from the value date up to, but not including, the payment date.

  • Monthly rent periods

    Landlords split rent into periods that start on the 1st and end before the next 1st.

  • Software date ranges

    Developers store ranges as [start, end) so adjacent ranges join cleanly in databases.

  • Subscription cycles

    Billing systems count service days from the renewal date to the next renewal date.