Skip to content

Day Counter

Written by Dr. Andrew Chen Dr. Andrew Chen, PhD in Computer Science
Reviewed by Prof. Omar Farooq Prof. Omar Farooq, PhD in Mechanical Engineering

Last updated 2026-08-18 · 6 cited sources

A day counter measures the whole calendar days between today and one other date, counting forward when that date is still ahead and backward when it has already gone by. It walks the real Gregorian calendar rather than assuming a tidy 30-day month, so February, the seven 31-day months and every leap day are already inside the figure it returns.

One field is all it needs — the date you are counting to or from. Today comes from your device clock, so nothing else is typed. Four lines come back: the total in days, the same gap as whole weeks plus leftover days, the Monday-to-Friday days inside the span, and the weekday the target lands on with its position in the year.

The weekday figure is a walk, not a ratio: the tool steps through every date in the span and counts the ones that are not a Saturday or a Sunday. It is still not a business-day count, because public holidays differ by country, state and industry — subtract your own before treating the number as working days.

Day Counter

Enter your values below.

Day Count

Enter your details and press “Calculate” to see your results.

The counter measures from today to your target date — forward for countdowns, backward for 'days since' — using real calendar days, leap years included. The weekday count walks the actual calendar (every Monday–Friday in the span), making it exact before holidays; subtract your region's public holidays for true business days. Day-of-year and the landing weekday come along free, because 'it's a Friday' changes plans.

What Is a Day Counter?

The name understates the job. One subtraction goes in and four different units come out, because “how many days” and “how many working days” and “what day of the week is that” are often the same question asked three ways by someone planning around a single fixed date.

Until and Since Are One Calculation

A countdown and an anniversary are the same arithmetic with opposite signs, so the tool does not ask which you want. It takes the difference, reads the sign, and puts the direction into the wording instead of the number. Run on Tuesday, August 18, 2026, a target of December 25, 2026 gives a headline of “129 days until”, while a target of January 1, 2026 gives “229 days since”. The figure itself is never negative.

Enter today's own date and neither word applies, so the panel drops them: the headline becomes “0 days”, followed by “That's today — Tuesday, August 18, 2026” and “Day 230 of 2026”. That is the shortest the panel gets. With no span to walk there is no weeks line and no weekday line, and zero here is a real answer rather than a rejected input.

The Four Lines It Returns

Any run with a gap to measure prints the same four lines, in the same order. Today's own date drops that to three, and a span past ten years adds a fifth. Taking the December 25, 2026 example measured from August 18, 2026:

  • The headline — “129 days until”. The measurement, in whole calendar days, and the line to use when something accrues by the day.
  • The date restated with its span — “Friday, December 25, 2026 — 18 weeks and 3 days”. The weeks version of the same total.
  • The weekday line — “≈ 93 weekdays (business days before subtracting holidays)”. An exact Monday-to-Friday count of the span, holidays not yet removed.
  • The landing line — “It falls on a Friday, day 359 of 2026”. The weekday of the target plus its ordinal position in its own year.

Nothing on that list is an estimate except in the sense the third line states outright. The approximation sign belongs to the holidays it has not subtracted, not to the weekday walk itself.

One Date, Anchored to Today

This is a one-ended tool by design. Today is the fixed anchor and the box holds the other end, which is what a countdown usually needs — a wedding, an exam, a launch, a visa expiry, a sober streak — without asking anyone to type a date they already know. It also means the answer is different every morning, which is the point of a countdown and a nuisance if you wanted a fixed measurement.

For a gap between two dates that are both in the past or both in the future, or to add days to a date and find the one you land on, switch to the Date Calculator.

How Do You Calculate the Days Until a Date?

Convert both ends to a count of days from a fixed origin and subtract. The headline and the weeks line are that one difference in two units, so they can never disagree; the weekday total and the day-of-year figure are separate passes over the calendar.

The Day Counter Formula, Written Out

Four short rules produce the whole panel. Only the third one has to touch the calendar day by day.

Days        = absolute value of (target date − today)
              both ends read at local midnight

Direction   = "until" while the target is still ahead
              "since" once it has gone by

Weeks line  = Days ÷ 7, whole part
              the remainder printed as leftover days

Weekdays    = step one day at a time from the day after today
              through the target — or back from yesterday to a
              target already past — counting every day that is
              not a Saturday or a Sunday

Day of year = target date − January 1 of the target's own year + 1

Reading both ends at midnight and rounding the gap to whole days is what makes a clock change invisible here. A 23-hour or 25-hour day still counts as one. Run on Sunday, March 1, 2026 with a target of March 15 and the counter returns 14 days, straight across the US spring-forward on March 8; run it on October 25, 2026 with a target of November 8 and it returns 14 again, across the fall-back on November 1.

Step by Step With This Counter

  • Open the Target Date box. It arrives pre-filled with December 25, 2026, and because that is the only field on the form, the counter runs once by itself as the page loads — you land on a finished Christmas countdown rather than an empty panel.
  • Set your own date, either through the calendar picker or by typing it. The field is a native date control, and the HTML standard bars a browser from setting its value to anything but a valid date string — a year, a month and a day, written 2026-12-25, with no time and no time zone attached. No earliest or latest value is set on the field, so it accepts whatever your browser accepts.
  • Press Calculate. The panel does not update while you type or pick — it recalculates on that button, and it reads today from your device clock at the moment it runs.
  • Read the headline first, then decide which of the three lines under it you actually need. Reset clears the panel back to its empty state.
  • Subtract your own public holidays from the weekday line if what you wanted was working days.

Worked Example: August 18 to December 25, 2026

Run on Tuesday, August 18, 2026 with the default date still in the box, the counter returns this as its headline:

Target December 25, 2026, counted from Tuesday, August 18, 2026
129 days until

The three lines beneath it read “Friday, December 25, 2026 — 18 weeks and 3 days”, then “≈ 93 weekdays (business days before subtracting holidays)”, then “It falls on a Friday, day 359 of 2026”. Check the total by hand and it holds: 13 days left in August, then 30, 31 and 30 for September, October and November, then 25 in December — 129. Divide by seven and you get 18 with 3 left over.

The weekday line survives the same check. Eighteen complete weeks contribute 5 weekdays each, which is 90, and the three leftover days in this particular span are a Wednesday, a Thursday and a Friday, adding 3 more. Ninety-three, exactly what the panel prints.

Your own run will show a different number, because it counts from the morning you open the page rather than from the day this example was recorded — and once Christmas 2026 has gone by, the same target reads “since” instead of “until”.

Day Counter Chart: Where Common Spans Land

Three reference tables. Every figure in them came out of this counter with Tuesday, August 18, 2026 as the day it was run, so the day-count column moves with the calendar while the weekday and day-of-year columns are fixed properties of the dates themselves.

Common Countdowns From One Fixed Date

Days outTarget dateWeeks lineWeekdaysLands on
7August 25, 20261 week5Tuesday
14September 1, 20262 weeks10Tuesday
21September 8, 20263 weeks15Tuesday
30September 17, 20264 weeks and 2 days22Thursday
45October 2, 20266 weeks and 3 days33Friday
60October 17, 20268 weeks and 4 days43Saturday
90November 16, 202612 weeks and 6 days64Monday
100November 26, 202614 weeks and 2 days72Thursday
120December 16, 202617 weeks and 1 day86Wednesday
180February 14, 202725 weeks and 5 days128Sunday
365August 18, 202752 weeks and 1 day261Wednesday
500December 31, 202771 weeks and 3 days358Friday
1,000May 14, 2029142 weeks and 6 days714Monday

Only the multiples of seven keep the starting weekday. Everything else slides forward by the remainder, which is how a 45-day deadline set on a Tuesday comes due on a Friday and a 100-day one on a Thursday. The 365-day row drifts by exactly one place, to Wednesday, for the same reason: a common year is 52 weeks and a single spare day.

Two rows are near-misses worth a second look. Ninety days is not three months — three calendar months from August 18, 2026 is November 18, and the counter puts that at 92 days, two beyond the 90-day row. And a thousand days is 142 weeks and 6 days, not a clean 143 weeks.

Where the Dates People Count To Actually Land

DateWeekdayDay of the yearFrom August 18, 2026
New Year's Day, January 1, 2026Thursday1229 days since
Independence Day, July 4, 2026Saturday18545 days since
Labor Day, September 7, 2026Monday25020 days until
Halloween, October 31, 2026Saturday30474 days until
Veterans Day, November 11, 2026Wednesday31585 days until
Thanksgiving, November 26, 2026Thursday330100 days until
Christmas Day, December 25, 2026Friday359129 days until
New Year's Eve, December 31, 2026Thursday365135 days until
New Year's Day, January 1, 2027Friday1136 days until
Valentine's Day, February 14, 2027Sunday45180 days until
Independence Day, July 4, 2027Sunday185320 days until

Independence Day is day 185 in both 2026 and 2027 because neither year is a leap year. Put the same date in 2028 and it becomes day 186, since every date after February 29 shifts one place along — which is also why Christmas is day 359 in a common year and day 360 in a leap one.

The weekday column moves too, one place per year and two across a leap day. Christmas falls on a Friday in 2026, a Saturday in 2027, then skips Sunday and lands on Monday in 2028.

Day of the Year: the 1st of Each Month

The last line of the panel gives a date's ordinal position in its year. This table gives the running total at the start of each month, so any date's number is one row plus the day of the month minus one.

MonthThe 1st in a common yearThe 1st in a leap year
January11
February3232
March6061
April9192
May121122
June152153
July182183
August213214
September244245
October274275
November305306
December335336

March 17, 2027 works out as 60 + 16 = day 76, which is what the counter shows. The two columns are identical through February and differ by exactly one from March onward, because February 29 slots in as day 60 of a leap year and pushes March 1 to day 61.

How to Read Your Result

Each line answers a different question, and reaching for the wrong one is how an entirely correct count still produces a wrong plan.

The Headline, and Why It Is Never Negative

Direction lives in the word, not the sign. That is deliberate: a negative day count is easy to misread and impossible to sort sensibly against a positive one, so “129 days until” and “229 days since” are both positive quantities with a label attached. If you need signed arithmetic — feeding a spreadsheet, say — take the number and apply the sign yourself from the word.

Use this figure for anything that accrues per day: interest, per-diem rates, prorated rent, late fees, visa stays measured in days, streaks. It is the measurement; the other three lines describe the span and where it lands.

The Weeks Line, and the Question It Quietly Answers

Whole weeks plus a remainder is the natural unit for anything scheduled rather than accrued — training blocks, sprint counts, notice periods, how many more Sunday dinners. It is also a quick route to a weekday total, because a complete week holds exactly 5 weekdays no matter which day it starts on.

It answers one more thing the panel never prints: how many of a particular weekday are in the span. Every complete week contains exactly one of each. Across the 129 days from August 19 to December 25, 2026 — 18 full weeks and 3 spare days — there are 18 Mondays, 18 Tuesdays, 18 Saturdays and 18 Sundays, while the three leftover days hand a nineteenth to Wednesday, Thursday and Friday. Counting Fridays until a deadline takes two seconds once you know that.

The Weekday Line Is a Walk, Not a Ratio

The obvious shortcut is to multiply by five-sevenths, and it is wrong often enough to matter. Five-sevenths of 129 days is 92.14, which rounds to 92; the true count is 93. The ratio has no idea where in the week your span begins, and for short spans that is most of the answer. Ten days starting on a Thursday contains six weekdays; ten days starting on a Sunday contains eight.

10-day span startingEnds onWeekdays inside
Sunday, August 16, 2026August 268
Monday, August 17, 2026August 278
Tuesday, August 18, 2026August 288
Wednesday, August 19, 2026August 297
Thursday, August 20, 2026August 306
Friday, August 21, 2026August 316
Saturday, August 22, 2026September 17

Every row there is 1 week and 3 days, and the weekday total still swings from 6 to 8 — a third of the answer settled by nothing but the starting weekday. Stretch the span and the swing does not vanish, it just shrinks in proportion: 90 days returns 64 weekdays from a Monday-to-Friday start and 65 from a Saturday or Sunday start.

Spans that are exact multiples of seven are exempt completely. A 21-day span returns 15 weekdays from all seven possible starting days, because it holds three of every weekday and nothing left over.

Turning those weekdays into paid hours is a different job, handled by the Time Card Calculator.

The Day-of-Year Line

“Day 359 of 2026” is the ordinal date — the same date written as a position in its year rather than as a month and a number. It turns up wherever records are sorted or stamped by date instead of described in words: crop and weather series, flight and satellite logs, and the day-of-year codes printed on food packaging.

January 1 is day 1 and December 31 is day 365, or 366 in a leap year. The number is a property of the date, not of your countdown, so it does not move as the days tick down — Christmas 2026 stays day 359 whether you look in August or on Christmas Eve.

Weekdays, Business Days and Holidays

The counter hands you weekdays. Business days are weekdays minus whatever your particular calendar closes for, and that subtraction is the one step the tool leaves to you on purpose — there is no single answer to bake in.

Two Official Definitions, One Sentence Apart

There is no universal legal meaning of “business day”. Regulation Z, the Consumer Financial Protection Bureau's implementation of the Truth in Lending Act, carries two of them in the same definition at § 1026.2(a)(6). The general one is any day the creditor's offices are open to the public for carrying on substantially all of its business functions. The more precise one, used for rescission and certain mortgage disclosures, is all calendar days except Sundays and the legal public holidays specified in 5 U.S.C. 6103(a).

Read the second one again: Saturday is a business day under it. Two contracts can both say “three business days” and mean two different dates, and no calculator can settle that for you. Establish which rulebook applies, then count.

US Federal Holidays in 2026

Eleven days are named in 5 U.S.C. 6103(a). Subsection (b)(1) moves a Saturday holiday to the Friday immediately before for employees whose basic workweek is Monday through Friday, which is why one row below carries two dates.

HolidayDate in 2026WeekdayDay of the year
New Year's DayJanuary 1Thursday1
Birthday of Martin Luther King, Jr.January 19Monday19
Washington's BirthdayFebruary 16Monday47
Memorial DayMay 25Monday145
Juneteenth National Independence DayJune 19Friday170
Independence DayJuly 4Saturday — observed Friday, July 3185
Labor DaySeptember 7Monday250
Columbus DayOctober 12Monday285
Veterans DayNovember 11Wednesday315
Thanksgiving DayNovember 26Thursday330
Christmas DayDecember 25Friday359

Five of them sit inside the August 18 to December 25 span used earlier — Labor Day, Columbus Day, Veterans Day, Thanksgiving and Christmas Day itself — and all five are weekdays. Take them off the counter's 93 and the span holds 88 federal working days. Run the same subtraction to December 31 and the 97 weekdays the counter reports become 92.

State holidays, bank holidays outside the US, religious observances and company shutdowns are all extra, and none of them appear in the statute. A UK count would swap this list for bank holidays entirely.

How Many Weekdays Are in a Year?

Between 260 and 262, and which one you get has nothing to do with the length of the year.

YearCalendar daysWeekdays (Mon–Fri)January 1December 31
2024366262MondayTuesday
2026365261ThursdayThursday
2027365261FridayFriday
2028366260SaturdaySunday

2028 is a day longer than 2026 and holds one fewer weekday. A 365-day year covers 52 whole weeks plus one spare day, and a 366-day year covers 52 plus two, so the question is only ever which weekdays collect the spares. 2026 opens and closes on a Thursday, giving it 53 Thursdays and 52 of everything else: 5 × 52 + 1 = 261. 2028 opens on Saturday and closes on Sunday, so both spares land on the weekend and it gets a flat 5 × 52 = 260. 2024 took both spares on working days — Monday and Tuesday — for 262.

Planning built on “about 260 working days a year” can therefore be two days out in either direction before a single holiday has been subtracted, purely because of which weekday the year happens to open on.

Does the Count Include Today?

No. What gets measured is the gap between the two dates, not the number of days either of them touches — which is why next Tuesday, counted from a Tuesday, comes out at 7 rather than 8.

Where the Exclusive Convention Comes From

It is not an arbitrary house rule. Rule 6(a)(1) of the Federal Rules of Civil Procedure sets out how a period stated in days is computed, and the counter's first two lines follow it exactly: exclude the day of the event that triggers the period; count every day, including intermediate Saturdays, Sundays, and legal holidays; include the last day of the period.

Where the tool deliberately stops is the rest of that third clause — if the last day is a Saturday, Sunday, or legal holiday, the period continues to run until the end of the next day that is not one. The counter names the landing weekday and leaves the rollover to you, because it does not know your holiday list. From August 18, 2026, 180 days out is Sunday, February 14, 2027, so a Rule 6 deadline there would roll to Monday, February 15 — and February 15 is the third Monday of the month, which makes it Washington's Birthday, pushing it again to Tuesday, February 16.

When to Add One

Inclusive counting — both endpoints on the tally — is what several everyday situations actually want, and the fix is arithmetic you can do in your head. Add 1 to the total.

  • Hotel nights versus days away. A trip from the 3rd to the 7th is 4 nights on this counter and 5 days on the itinerary.
  • Events measured in days on a program. A conference that runs the 3rd through the 7th is a 5-day conference.
  • Statutory phrasing that says “within 30 days” or “not less than 10 days before”. The governing document's own convention wins over any calculator, and drafting varies.
  • Anything you are counting off on your fingers, where people instinctively include the day they are standing on.

The weekday line is the one place the target date does get counted. The walk runs from tomorrow through the target inclusive, which is why a 7-day span from Tuesday, August 18 to Tuesday, August 25, 2026 reports 5 weekdays: it covers Wednesday the 19th through Tuesday the 25th, and only Saturday the 22nd and Sunday the 23rd are excluded.

Limits: When This Day Counter Does Not Apply

Where the answer stops being the one you need, and what to reach for instead.

  • It does not subtract holidays, and will not pretend to. Holiday calendars vary by country, state, industry and employer, and the two Regulation Z definitions above can disagree with each other about Saturdays. Take the weekday line and remove your own list.
  • It works in whole days, never hours. Both ends are read at local midnight, so a date plus a time of day is beyond it, and a deadline at 5pm looks identical to one at midnight.
  • It is not a time zone converter. The box holds a plain calendar date with no location attached, so a deadline expressed in another zone has to be translated to a local date before you type it.
  • Very long spans cap the weekday line. Once the gap passes 3,650 days — a shade under ten years — the panel adds “Spans over 10 years — weekday count capped”, and the walk itself stops after 3,700 days, so on a span far beyond that the weekday figure covers only part of it. The total, the weeks line and the day-of-year line stay exact at any distance.
  • Today comes from your device. A machine with the wrong system date returns a confidently wrong countdown, and the number changes the instant your clock rolls past midnight.
  • The date field carries no earliest or latest value, so anything your browser's date control accepts goes through. An empty or unreadable date returns the amber notice reading “Pick a date”; today's own date is not an error and returns “0 days”.
  • Every date is treated as Gregorian, including those from before the Gregorian calendar was adopted locally — Britain and its colonies switched in September 1752, Russia in 1918 — so historical dates copied from older documents will not line up.
  • One date at a time. Recurring schedules, payroll cycles, amortization dates and working-day offsets need a tool built around a repeat rule rather than a single subtraction.

Frequently Asked Questions

How many days until Christmas 2026?

From Tuesday, August 18, 2026 it is 129 days to Friday, December 25, 2026 — 18 weeks and 3 days, holding 93 weekdays before holidays come out. Christmas is day 359 of 2026. Thanksgiving, Thursday, November 26, is 100 days out, and New Year's Day 2027 is 136. Set your own date in the box for the live figure.

Does the day counter include today?

No. The headline measures the gap, so tomorrow is 1 day and next Tuesday counted from a Tuesday is 7, not 8. That matches Rule 6(a)(1) of the Federal Rules of Civil Procedure, which excludes the day of the triggering event and includes the last day. Add 1 when both endpoints are days you are counting, such as hotel nights against days away.

How does the counter work out business days?

It does not — it counts weekdays, by stepping through every date in the span and skipping Saturdays and Sundays. The 129 days from August 18 to December 25, 2026 contain 93 weekdays. Five US federal holidays fall inside that span on weekdays, so 88 are federal working days. Subtract your own holiday list, because there is no single legal definition of a business day.

How many days are left in 2026?

From Tuesday, August 18, 2026 to Thursday, December 31, 2026 is 135 days — 19 weeks and 2 days, containing 97 weekdays. Five federal holidays remain in that stretch and all five are weekdays, leaving 92 federal working days in the year.

What does “day 359 of 2026” mean?

It is the ordinal date: the target's position counted from January 1, which is day 1. December 31 is day 365, or day 366 in a leap year. December 25 is day 359 in a common year and day 360 in a leap year, because February 29 pushes every later date one place along — the same reason March 1 is day 60 in 2026 and day 61 in 2028.

Can I count the days since a past date?

Yes, with the same single field. Pick a date already gone and the wording flips: January 1, 2026 reads “229 days since” when run on August 18, 2026, and July 4, 2026 reads “45 days since”. The number stays positive in both directions, and the weekday and day-of-year lines come along unchanged.

How many weekdays are in a year?

261 in 2026 and in 2027, 262 in 2024, and 260 in 2028 — a leap year with fewer weekdays than the common year before it. A 365-day year is 52 weeks plus one spare day and a 366-day year is 52 plus two; all that varies is where the spares fall. 2028 opens on Saturday and closes on Sunday, so both land on the weekend.

Is 90 days the same as three months?

Not from most start dates. Ninety days after Tuesday, August 18, 2026 is Monday, November 16, 2026, while three calendar months is November 18 — which this counter puts at 92 days, because August, September and October run 31, 30 and 31 days. If a document says 90 days, count days; if it says three months, count months.

How many days until my birthday next year?

365 if no February 29 falls in between, 366 if one does. From August 18, 2026 to August 18, 2027 is 365 days and shifts the weekday from Tuesday to Wednesday; the following year spans the leap day of 2028 and runs 366, skipping Thursday and landing on Friday, August 18, 2028.

What date is 1,000 days from today?

Counted from Tuesday, August 18, 2026, day 1,000 is Monday, May 14, 2029 — 142 weeks and 6 days, containing 714 weekdays, and day 134 of 2029. A thousand days is not a round number of weeks, which is why the milestone rarely lands on the weekday you started from.

Does daylight saving time change the count?

No. Both ends are read at midnight and the difference is rounded to whole days, so a 23-hour or 25-hour day still counts as one. Run on March 1, 2026 with March 15 in the box and the answer is 14 days, spanning the spring-forward on Sunday, March 8; run it on October 25, 2026 with November 8 in the box and the answer is 14 again, spanning the fall-back on Sunday, November 1.

What happens if I leave the date box empty?

The panel turns amber and reads “Pick a date”, which is also what an unreadable date returns. Entering today's own date is not an error: the counter answers “0 days”, names the day, and gives its day-of-year, dropping the weeks and weekday lines because there is no span to walk.

Why do 90 days hold 64 weekdays sometimes and 65 others?

Because 90 is not a multiple of seven. Twelve complete weeks account for 60 weekdays and the 6 leftover days supply the rest, and how many of those six are Monday to Friday depends on where in the week the span begins. Starting on any of Monday through Friday gives 64; starting on a Saturday or a Sunday gives 65. A 21-day span, being three whole weeks, gives 15 from every possible start.

Sources & References

  1. [1] Rule 6. Computing and Extending Time (Federal Rules of Civil Procedure) — Legal Information Institute, Cornell Law School
  2. [2] 5 U.S. Code § 6103 — Holidays — Legal Information Institute, Cornell Law School
  3. [3] 12 CFR § 1026.2(a)(6) — “Business day” defined (Regulation Z) — Electronic Code of Federal Regulations (eCFR)
  4. [4] Time and Frequency from A to Z, L (leap year) — NIST Time and Frequency Division
  5. [5] HTML Standard — Date state (type=date) — WHATWG
  6. [6] HTML Standard — 2.3.5.2 Dates (valid date string) — WHATWG

Methodology. This calculator uses standard, peer-reviewed mathematical formulas. It is reviewed and maintained by the Vast Calculators editorial team.

Last updated ·

Results are estimates for general use; verify critical figures independently.

What to Work Out Next

See all Math Calculators