Day Counter

About this calculator

The Day Counter tells you exactly how many days lie between two dates and breaks that number into weekend days, holidays and business days. Include the end day when both dates should count, and pick which US holidays to exclude or add your own.

The initial dates are an example. Leave blank to use today.
The initial dates are an example. Leave blank to use today.
Holiday settings
Holidays
Custom holidays (same date every year)
Embed this calculator

Paste this code into a Custom HTML block on your site. The calculator fits the width of the block. Adjust the height in the code if you want more room for results.

Find this widget in the publisher directory

How the day counter works

Every calendar date can be turned into a serial number: the count of days since a fixed starting point. Subtracting the serial number of the start date from the serial number of the end date gives the number of days between them. This avoids the messy parts of calendar math, such as months with 28, 29, 30 or 31 days, because the serial numbers already account for them. The counter also works in plain calendar days, so daylight saving time changes and time zones never shift the answer by an hour or a day.

Days between = serial(end) − serial(start)
Days including both dates = serial(end) − serial(start) + 1

Should you include the end day?

By default the start date counts and the end date does not. That matches everyday speech: from Monday to Friday is 4 days, and from today to tomorrow is 1 day. Some questions need both dates counted. A conference that runs from June 3 through June 7 lasts 5 days, not 4. A medication course that starts on the 1st and ends on the 10th covers 10 days. Tick include end day for those cases and the total grows by one.

Weekend days, weekdays and business days

Inside the counted span, every Saturday and Sunday is a weekend day and every other day is a weekday. When holidays are switched on, each selected holiday that falls inside the span is counted, and business days are the total minus weekend days minus holidays. Holidays are taken on their actual calendar date. If a holiday falls on a weekend it is still counted as a holiday, so it reduces the business-day figure as well; untick it if your workplace observes it on the Friday or Monday instead.

Holidays you can select

  • Fixed dates: New Year's Day (Jan 1), Juneteenth (Jun 19), Independence Day (Jul 4), Veterans Day (Nov 11), Christmas Eve, Christmas and New Year's Eve.
  • Floating Mondays: Martin Luther King Jr. Day (third Monday of January), Presidents' Day (third Monday of February), Memorial Day (last Monday of May), Labor Day (first Monday of September) and Columbus Day (second Monday of October).
  • Thanksgiving (fourth Thursday of November) and Black Friday, the day after.
  • Up to three custom holidays that repeat on the same month and day every year.

Worked example

How many days are there from Thursday, January 15, 2026 to Tuesday, November 3, 2026? The serial difference is 292 days. Of those, 84 are Saturdays or Sundays, which leaves 208 weekdays. With the standard US federal holidays selected, 7 of them fall inside the span (MLK Day, Presidents' Day, Memorial Day, Juneteenth, Independence Day, Labor Day and Columbus Day), so there are 201 business days. If you include the end date, the total becomes 293 days and the business days become 202, because November 3 is a Tuesday.

Common uses

QuestionTip
Days until a birthday, trip or deadlineLeave the start date blank to count from today.
Length of a rental, lease or hotel stayNights are the plain count; days on site usually include the end day.
Contract notice periodsCheck whether the contract counts calendar days or business days.
Project schedulingUse business days with your company holidays added as custom dates.
Interest or late-fee periodsLenders usually count actual calendar days between dates.

Leap years

A leap year adds February 29, so any span that crosses the end of February in a leap year is one day longer than the same span in an ordinary year. Leap years are years divisible by 4, except century years, which must also be divisible by 400. That is why 2000 and 2024 are leap years while 1900 and 2100 are not. The counter applies these Gregorian rules automatically to every year you enter.

Frequently asked questions

How many days are between two dates?
Subtract the earlier date from the later one in calendar days. The count includes the start date but not the end date; add 1 if both should count.
How do I count business days between two dates?
Take the total days, remove Saturdays and Sundays, then remove any holidays that fall in the span. The counter does this automatically when holidays are switched on.
Does the count change with daylight saving time?
No. The counter works in whole calendar days, so clock changes have no effect.
How many days are in a year?
An ordinary year has 365 days and a leap year has 366. A span of one year from a given date has 366 days only if it includes a February 29.

Formulas and sample results on this page were checked against independent references. Page last reviewed or updated . How we verify calculators. Project led by Shaun Connell.