Stock Market Basics: How the Stock Market Works

The stock market is a network of exchanges where investors buy and sell ownership stakes in public companies. Understanding the mechanics — how exchanges work, what moves prices, and how indices are constructed — is the foundation of informed investing.

By Vextor Capital Research·Last updated: May 2026·10 min read

Educational content only. Not investment advice. All investments carry risk of loss.

Key Takeaways

  • A stock represents fractional ownership in a corporation — shareholders own proportional claims on assets and earnings.
  • The NYSE and NASDAQ are the two primary U.S. exchanges; stocks trade during market hours (9:30 AM – 4:00 PM ET, Mon–Fri).
  • Stock prices are set by supply and demand; in the long run they reflect company fundamentals — in the short run, sentiment dominates.
  • Market indices (S&P 500, Dow Jones, NASDAQ Composite) are weighted baskets of stocks used as performance benchmarks.
  • IPOs (Initial Public Offerings) are when a private company first sells shares to the public, typically underwritten by investment banks.
  • Market capitalization = share price × shares outstanding. The S&P 500 consists of 500 large-cap U.S. companies.
  • The SEC requires all public companies to file quarterly (10-Q) and annual (10-K) reports — these are free via EDGAR.

What Is a Stock?

A stock (also called a share or equity security) is a financial instrument that represents fractional ownership in a corporation. When a company wants to raise capital, it can issue stock — dividing itself into millions or billions of equal units and selling those units to investors.

Owning stock gives you: (1) a proportional claim on the company's assets and earnings, (2) voting rights on major corporate decisions (electing the board of directors, approving mergers), and (3) the right to receive dividends if the company distributes profits. Most stocks trade on public exchanges, enabling investors to buy and sell these ownership stakes easily.

Common vs Preferred Stock: Common shareholders vote and participate in earnings growth; they are last in line during bankruptcy. Preferred shareholders receive fixed dividends paid before common dividends and have priority in liquidation, but typically lack voting rights. Most retail investors buy common shares — when people say "stock," they mean common stock.

How Stock Exchanges Work

A stock exchange is a marketplace where buyers and sellers transact in securities under regulated rules. The two primary U.S. exchanges are the NYSE (New York Stock Exchange) and NASDAQ. Both operate under SEC regulation and FINRA oversight.

When you place a buy order through your broker, it gets routed to an exchange (or alternative trading system) where it's matched with a seller's sell order. Modern exchanges use electronic matching systems that execute millions of trades per second. Market makers — firms like Citadel Securities and Virtu Financial — stand ready to buy or sell, providing liquidity and ensuring trades can execute even when natural buyers and sellers aren't immediately available.

ExchangeMarket Cap ListedKnown ForKey Index
NYSE~$28 trillionLarge-cap industrials, financials, energyDow Jones Industrial Average
NASDAQ~$24 trillionTechnology companies (AAPL, MSFT, GOOGL)NASDAQ Composite, NASDAQ-100
London SE (LSE)~$4 trillionUK/European companies, mining, oil majorsFTSE 100
Tokyo SE (TSE)~$6 trillionJapanese companies, manufacturingNikkei 225
Shanghai SE (SSE)~$7 trillionChinese state enterprisesSSE Composite

Major Stock Market Indices

A stock market index is a basket of stocks selected and weighted according to specific rules, used as a benchmark for market performance. Most passive investment products (ETFs, index funds) track these indices.

S&P 500

~10% annual return historically

500 largest U.S. companies by market cap. Float-adjusted market-cap weighted. Covers ~80% of U.S. market cap. The standard benchmark for large-cap U.S. equity performance. Managed by S&P Dow Jones Indices.

Dow Jones Industrial Average (DJIA)

~9% annual return historically

30 large, iconic U.S. companies. Price-weighted (not market-cap weighted) — unusual and criticized for distortions. One of the oldest indices (1896). More symbolic than analytically useful.

NASDAQ Composite

~12% annual return historically (since 1971)

All ~3,300 stocks listed on NASDAQ. Heavily tech-weighted (~60%). More volatile than S&P 500 due to growth stock concentration.

Russell 2000

~7.5% annual return historically

2,000 small-cap U.S. companies. Best benchmark for small-cap performance. Often leads S&P 500 in early economic recoveries.

MSCI World / ACWI

~8% annual return (MSCI World)

Global indices covering developed markets (World) or developed + emerging (ACWI). Used by institutional investors for global portfolio benchmarking.

How IPOs Work

An Initial Public Offering (IPO) is when a private company first sells shares to the public. The company hires investment banks (underwriters) to structure the offering, set the IPO price, and sell shares to institutional investors. When shares begin trading on the exchange, retail investors can buy them.

IPO price vs opening price: The IPO price is set the night before trading begins based on institutional demand during the "roadshow". The opening price is set by the market the next morning. A large gap (IPO at $20, opens at $40) suggests the offering was under-priced — good for initial buyers, but means the company left money on the table.

IPO risk for retail investors: Most IPO allocations go to institutional investors. Retail investors typically buy at the opening market price, often after any initial pop. Academic research shows IPOs underperform the market on average over 3-5 years following the offering. The SEC's IPO investor alert specifically warns about the risks of IPO investing.

Market Hours and Trading Sessions

U.S. stock market regular trading hours: 9:30 AM – 4:00 PM Eastern Time, Monday through Friday, excluding federal holidays. Pre-market trading: 4:00 AM – 9:30 AM ET. After-hours trading: 4:00 PM – 8:00 PM ET.

Pre-market and after-hours risks: Lower liquidity, wider bid-ask spreads, and higher volatility. Many important events (earnings releases, economic data) occur outside regular hours, causing large pre/after-market moves. Retail investors should exercise extreme caution trading in extended hours — large orders can move prices significantly in illiquid conditions.

Frequently Asked Questions

What is a stock?

A stock represents fractional ownership in a corporation. Owning shares means you own a proportional claim on the company's assets, earnings, and future growth. Common shareholders typically have voting rights and may receive dividends. Stocks trade on regulated exchanges under SEC oversight.

How are stock prices determined?

Stock prices are set by supply and demand in the marketplace — the price at which buyers and sellers agree to transact. Short-term prices are driven by sentiment, news, and positioning. Long-term prices reflect company fundamentals: earnings growth, margins, return on equity, and management quality. Over time, stock prices tend to converge toward intrinsic value.

What is the difference between NYSE and NASDAQ?

NYSE is the world's largest exchange by market cap (~$28T), historically with a physical trading floor. NASDAQ is fully electronic and home to most major technology companies (Apple, Microsoft, Google, Amazon). Both are regulated by the SEC. From a retail investor's perspective, both are equally accessible through any brokerage — the exchange listed on is largely irrelevant to how you trade.

How Stock Exchanges Work: Order Matching and Market Microstructure

Beneath every stock trade is a matching engine — a system that pairs buyers and sellers at a mutually agreed price. The two dominant U.S. exchange models operate differently. The NYSE historically used a specialist model, in which a designated market maker (a specialist firm) was responsible for maintaining an orderly market in assigned stocks, often stepping in as buyer or seller of last resort. While specialists still exist in modified form, electronic order books now handle most matching. NASDAQ was built as a fully electronic dealer market, where multiple competing market makers post bid and ask prices for each security simultaneously, creating natural competition that tightens spreads.

The bid-ask spread is the difference between the highest price a buyer will pay (the bid) and the lowest price a seller will accept (the ask). For Apple shares trading near $200, the spread might be $0.01 — fractions of a penny for highly liquid large-caps. For small-cap stocks, the spread can be $0.50 or more, representing a hidden transaction cost. Every round-trip trade (buy then sell) costs you at least one spread. Level 1 quotes show the best bid and ask. Level 2 quotes reveal the full order book depth — all resting orders at various price levels — useful for understanding near-term supply and demand dynamics.

Dark pools are private trading venues operated by broker-dealers where large institutional orders can execute without being displayed on public exchanges. They represent roughly 35-40% of U.S. daily equity volume. Institutions use them to avoid moving prices with large orders. Retail investors do not directly access dark pools but are affected by them: price discovery can lag when significant volume occurs off-exchange.

Understanding order types is essential for any active investor. A market order executes immediately at the best available price — fast but not price-certain, especially in thin markets. A limit order executes only at your specified price or better, giving price certainty but no fill certainty. A stop order becomes a market order when the stock hits a trigger price — used to exit losing positions automatically. A stop-limit order becomes a limit (not market) order at the trigger, adding price protection but risking no fill in fast-moving markets. A trailing stop tracks the stock's best price and triggers a sell if the price falls by a set percentage — useful for locking in gains while staying invested. Pre- and after-hours trading occurs on electronic communication networks (ECNs) with lower liquidity and wider spreads; retail traders face significantly higher transaction costs during extended hours.

Market Indices: S&P 500, DJIA, NASDAQ Composite

A market index is a rule-based basket of securities designed to represent a defined market segment. Indices serve as benchmarks against which portfolio performance is measured — and as the basis for trillions of dollars in index funds and ETFs. Understanding how they are constructed reveals why they behave differently from each other and from individual stock picks.

The S&P 500 is a float-adjusted market-capitalization-weighted index of 500 large-cap U.S. companies selected by the S&P Index Committee. Larger companies have greater influence: Apple, Microsoft, NVIDIA, Amazon, and Meta collectively represent roughly 25% of the entire index. This concentration means the S&P 500's performance is heavily influenced by the fate of a handful of mega-cap technology companies. The index rebalances quarterly and adds/removes companies based on profitability, liquidity, and market-cap criteria. The Dow Jones Industrial Average (DJIA) covers only 30 companies and is uniquely price-weighted, meaning a $300 stock has more influence than a $50 stock regardless of market capitalization — an idiosyncratic methodology widely criticized by academics. The NASDAQ Composite includes all ~3,300 securities listed on NASDAQ and is ~60% technology-weighted, making it the most volatile of the major indices.

SPIVA (S&P Indices Versus Active) data — published semi-annually by S&P Dow Jones Indices — consistently shows that over any 15-year period, roughly 85-92% of actively managed large-cap U.S. equity funds underperform the S&P 500. The primary reasons: fund management fees (typically 0.5–1.5% annually), trading costs and portfolio turnover, cash drag, and the difficulty of consistently identifying mispriced securities in a relatively efficient market. This evidence is the empirical foundation for passive index investing. Key international indices include the FTSE 100 (UK's 100 largest companies, heavily weighted toward energy and financials), the DAX (30 German blue-chip companies, industrials-heavy), the Nikkei 225 (Japan's price-weighted index of 225 companies), and the Hang Seng (Hong Kong's major companies, heavy China exposure).

Stock Market Historical Returns and Risk

The S&P 500 has delivered an annualized total return (including reinvested dividends) of approximately 10.5% since the index's inception in 1957. Adjusted for inflation, the real annualized return is approximately 7.1%. These long-run averages, however, mask enormous year-to-year volatility and meaningful decade-to-decade variation. The "average" year almost never actually happens — most years the market is either up 20%+ or down significantly.

DecadeS&P 500 Annualized ReturnKey Driver
1960s+7.8%Post-war expansion, cold war spending
1970s+5.9% (nominal)Stagflation, oil shocks, low real returns
1980s+17.5%Disinflation, rate cuts, Reagan expansion
1990s+18.2%Tech boom, productivity surge, dot-com bubble
2000s−0.9%Dot-com bust, 9/11, housing crisis
2010s+13.6%QE, ZIRP, tech mega-cap growth
2020–2026+10.1% (est.)Pandemic stimulus, AI boom, rate normalization

Rolling 10-year returns have historically ranged from −1% (ending in 1938 and 2009) to +20%+ (ending in 1999). The evidence for mean reversion is strong at the decadal level: periods of above-average returns tend to be followed by below-average periods, and vice versa. The maximum drawdown from peak to trough has exceeded 40% in three modern bear markets (2000-2002: −49%, 2007-2009: −57%, 2020: −34%). Investors who sold at the bottom of 2009 and failed to reinvest missed the decade's best returns. The correlation between stock market performance and the economic cycle is real but imperfect: markets typically lead the economy by 6-9 months at inflection points — they bottom before the recession officially ends and peak before a slowdown becomes visible in the data.

Bull Markets and Bear Markets: Definitions and History

A bull market is formally defined as a 20% rise from a recent low; a bear market is a 20% decline from a recent high. These thresholds are conventional, not regulatory definitions. Within longer bull markets, corrections (10–20% declines) are common and normal — the S&P 500 experiences a 10%+ correction roughly once every 1-2 years on average. The distinction between a secular market (a long-term structural trend lasting 15–20+ years) and a cyclical market (shorter 1–5 year swings within a secular trend) matters for portfolio strategy. The 1982–2000 period was a secular bull driven by disinflation and productivity gains. The 2000–2009 period was a secular bear; the 2009–present has been a secular bull interrupted by cyclical bears.

MarketPeriodChangeDuration
BearSep 1929 – Jun 1932−86%34 months
BullJun 1932 – Mar 1937+324%57 months
BearJan 1973 – Oct 1974−48%21 months
BullAug 1982 – Mar 2000+1,409%211 months
BearMar 2000 – Oct 2002−49%31 months
BullOct 2002 – Oct 2007+101%60 months
BearOct 2007 – Mar 2009−57%17 months
BullMar 2009 – Feb 2020+529%132 months
BearFeb 2020 – Mar 2020−34%1 month
BullMar 2020 – Jan 2022+114%22 months
BearJan 2022 – Oct 2022−25%9 months
BullOct 2022 – present+75%+Ongoing

On average, bear markets last about 14 months and decline 36%. Bull markets average over 50 months and gain more than 150%. The asymmetry is critical: the magnitude and duration of bull markets far exceed those of bear markets, which is the fundamental reason why long-term investors who stay invested outperform those who attempt to exit during downturns. Time in the market, as the data consistently shows, outperforms timing the market.

Common Investor Mistakes in Stock Markets

The gap between market returns and actual investor returns is well-documented and consistently large. DALBAR's Quantitative Analysis of Investor Behavior, published annually since 1994, finds that the average equity fund investor has earned approximately 3.6% annually over 30 years compared to the S&P 500's ~10.5% — a gap of nearly 7 percentage points per year. This gap is not due to fees alone; behavioral errors account for the majority of the difference. The primary culprits are identifiable and avoidable.

Market timing failure is the most common and costly error. Investors consistently buy after prices have risen (driven by optimism and fear of missing out) and sell after prices fall (driven by panic and loss aversion). Selling during the 2020 COVID crash and missing the subsequent 12-month recovery cost many investors years of retirement savings. Recency bias — overweighting recent events when making predictions — leads investors to expect that last year's winners will keep winning and last year's losers will keep losing. Academic data shows the opposite: mean reversion is more common than continuation at the asset class level.

Overtrading is a structural drag on returns. Each trade incurs bid-ask spread costs, potential short-term capital gains taxes (taxed at ordinary income rates of up to 37%), and behavioral risks. Studies by Barber and Odean (UC Davis) show that investors who trade the most earn the least — up to 7% annually less than passive investors due to transaction friction and poor market timing. Concentration risk — holding too much of a single stock, especially employer stock — has destroyed the retirement savings of countless workers (Enron employees lost $1.2 billion in 401k assets when the company collapsed). Tax drag is invisible but compounding: realizing gains annually at 15-20% LTCG rates versus deferring gains through buy-and-hold compounding produces meaningfully different outcomes over 20+ years. Finally, emotional investing — making portfolio decisions based on financial news, market commentary, or macro forecasts — consistently underperforms simple rules-based approaches. The antidote is automation: auto-investing a fixed amount monthly regardless of market conditions (dollar-cost averaging) removes emotion from the equation entirely.

Explore Live Stock Prices

Sources & References

Related Articles