Day Counter / Day of the Year

Count days between dates, find the day of the year, or add and subtract days.

Mode

Days between

0 Days to add

Days to add

0

days (inclusive)

0

Business days

1

Weeks + days

0 wk 0 d

Calendar difference

0y 0m 0d

All date calculations use local calendar days. Business-day counts exclude weekends only; holidays are not excluded unless added later.

How this day counter works

A day counter answers three calendar questions: how many days lie between two dates, which day of the year a date is, and what date you land on if you add or subtract a number of days. This free day counter uses your device’s local calendar — not UTC — so the count matches the dates you pick in the date fields.

The headline for Days between is exclusive by default: 1 January to 8 January is 7 days, the usual “how many days from A until B”. Open Advanced to include the end date (8 days for that same span) or to count Monday–Friday only. Closing Advanced leaves both checkboxes out of the result, even if they stay ticked. For a years–months–days breakdown, use the date duration calculator; for weekends and holidays you can edit, use the business days calculator.

How to use the day counter

  1. Choose Days between, Day of the year, or Add / subtract days with the mode buttons at the top.
  2. Enter the date or dates, and a day count if you are adding or subtracting. A negative day count moves backward.
  3. Read the headline, then the extra details: inclusive days, business days, weeks, calendar difference, ISO week, weekday, leap year, or year progress, depending on the mode.
  4. In Days between, open Advanced to include the end date or to count Monday–Friday only. Closing Advanced leaves both out of the count, even if they stay ticked.

The three day-count questions, explained

Days between two dates

Use Days between for “how many days from the start date to the end date”. The exclusive count is end minus start in whole local days. Details also show weeks plus leftover days, a years–months–days calendar difference, and a business-days figure that always runs from start through end inclusive.

Day of the year

Use Day of the year for the ordinal date: 1 January is day 1, 1 March is day 60 in a common year and day 61 in a leap year. Details show days remaining until 31 December (not including the date itself), ISO week number, weekday, whether the year is a leap year, days in the year, and year progress.

Add or subtract days

Use Add / subtract days to move a start date by N local calendar days. 15 January plus 30 days is 14 February. Enter a negative number to subtract. The result date’s weekday, day of year, ISO week, and leap-year flag are listed underneath.

Exclusive vs inclusive

Exclusive (the default headline) counts the nights or the steps between the dates: Monday to Friday is 4 days. Inclusive counts both endpoints: Monday through Friday is 5 days. Tick Include end date in count to add 1 to the exclusive figure. Hotel stays and “how long until” questions are usually exclusive; “how many days does this event cover” is usually inclusive.

Monday–Friday and holidays

The business-days row always counts from the start date through the end date, including both. With Count business days only (Mon–Fri) off, that row counts every calendar day in the span. With it on, Saturday and Sunday are skipped. Public holidays are not skipped. If you need custom weekends or a holiday list, use the business days calculator.

Day-count formulas

These are the same rules the calculator uses. Dates are local midnights on your device; clock time is ignored.

Exclusive days between two dates
days=end−start
Inclusive days (when Include end date is on)
inclusive days=days+1
Day of the year
day of year=(date−11 January)+1
Gregorian leap year
leap year=(yearmod4=0∧yearmod100≠0)∨(yearmod400=0)
Add or subtract days
result date=start+N

Worked examples

Example: 1 January to 8 January

Exclusive days are 7. Inclusive days are 8 if you tick Include end date. That span is 1 week + 0 leftover days. In 2024, 1 January was a Monday, so Monday–Friday in that week through Sunday the 7th depends on whether you include 8 January; holidays are never removed.

Example: 1 March 2024

2024 is a leap year (divisible by 4, not a century exception), so 1 March is day 61 of 366. Days remaining after that date until 31 December are 305. Year progress is 61 ÷ 366 ≈ 16.67%.

Example: 15 January 2024 plus 30 days

The result date is 14 February 2024. Enter −30 instead to move 30 days earlier. Clock time is ignored: adding days is calendar arithmetic, not 24-hour multiples across a DST change.

Things to keep in mind

All counts use local calendar days on the device, so the same two calendar dates give the same day count in every timezone. Closing Advanced leaves include-end and Monday–Friday out of the count, even if those boxes stay ticked. Holidays are not excluded. ISO week numbers follow ISO-8601 (week 1 is the week with the year’s first Thursday). This is a day counter, not a duration in years, months, and days — use date duration for that wording.

Day counter FAQ

Does the day counter include the end date?

Not by default. Days between is exclusive: 1 January to 8 January is 7 days. Open Advanced and tick Include end date in count to add 1. Closing Advanced leaves that checkbox out of the count, even if it stays ticked.

Are weekends and holidays excluded?

Only if you tick Count business days only (Mon–Fri). That skips Saturday and Sunday. Public holidays are never skipped on this page. For custom weekends or a holiday list, use the business days calculator.

How is day of the year counted in a leap year?

1 January is day 1. In a Gregorian leap year (divisible by 4, except centuries that are not divisible by 400) the year has 366 days, so 1 March is day 61. In a common year it is day 60.

How do I add or subtract days from a date?

Choose Add / subtract days, enter the start date and the number of days. A positive number moves forward; a negative number moves backward. 15 January plus 30 days is 14 February.

What timezone does the day counter use?

Your device’s local calendar. Dates are treated as local midnights, so clock time and UTC offsets do not change the day count. Two people picking the same calendar dates get the same number of days.

Does this day counter store my dates?

Completed results can be saved in this browser’s local history so you can reopen them later. They stay on your device and are not sent to our servers or to analytics.