Trading Days Calculator

Count scheduled NYSE sessions in 2026–2028. Both dates are included. Weekends and published full-day holidays are excluded; early-close sessions count as one day.

2026-01-01 through 2026-12-31, inclusive

Trading days

251

Calendar days

365

Weekend days

104

Full-day holidays

10

Count sessions, not elapsed hours

The calculation subtracts weekend dates and the published NYSE full-day closures from the inclusive date span. It uses date labels with UTC arithmetic to avoid local timezone or daylight-saving shifts. An early close contributes one session just like a full session; individual-security halts are not modeled.

Published coverage and a reproducible example

For April 2–6, 2026, there are five calendar dates: Thursday and Monday are scheduled sessions, Friday April 3 is Good Friday, and two dates are weekend days. The result is two trading days. For the full calendar years, this schedule produces 251 in 2026, 251 in 2027 and 251 in 2028.

Holiday observance is not a universal nearest-weekday rule. NYSE explicitly lists no New Year’s Day closure for Saturday January 1, 2028, so Friday December 31, 2027 remains a scheduled session. Dates outside the published 2026–2028 coverage are rejected.

Source: NYSE holidays and trading hours, checked October 21, 2026. This is a saved schedule, not a live exchange-status feed; check exchange notices for changes and unexpected closures.

Use the relevant calendar for other tasks

This tool can count planned sessions in a research window. It does not supply prices or establish whether a particular instrument traded. Settlement, tax holding periods, options expirations and bank business days require their own calendars and counting rules; do not substitute this inclusive session count for those deadlines.

Frequently Asked Questions

Which dates are supported?

January 1, 2026 through December 31, 2028, using the NYSE published full-day holiday schedule checked October 21, 2026. Other years are rejected instead of extrapolating holiday rules.

Are both endpoints included?

Yes. A single scheduled trading date counts as one; a weekend or listed full-day holiday counts as zero. A reversed range is rejected. These are calendar-date labels, with no timezone conversion.

How are early closes counted?

An early-close session counts as one trading day. The result is a session count, not total trading hours, and does not show early-close times.

Does this calculate settlement or tax deadlines?

No. Settlement uses the applicable business-day and clearing calendar and counts from the trade date under its own rules. Tax periods and option expirations have separate rules. This inclusive NYSE session count cannot determine those deadlines.

Does it include unexpected closures?

No. It uses the published scheduled holidays and weekends, not a live exchange-status feed. Unscheduled closures, individual-security halts and other exchanges are outside this calculation.

Explore session rules in Pine Script

Pineify can help draft a script for review and testing in TradingView. This date counter does not send its holiday list into a script or execute trades.

Explore Pine Script Coding