Stock Market: How It Works and How to Invest

Updated April 2026 · 18 min read

Quick Answer

The stock market is where investors buy and sell shares of publicly traded companies. When you buy a stock, you own a piece of that company. The major US exchanges (NYSE and NASDAQ) are open 9:30 AM to 4:00 PM Eastern, Monday through Friday. You can start investing with as little as $1 through a brokerage account.

What Is the Stock Market?

The stock market is a collection of exchanges where stocks (shares of ownership in companies) are bought and sold. Think of it as a massive marketplace where millions of investors trade ownership stakes in companies every day.

When a company "goes public" through an IPO (Initial Public Offering), it lists its shares on a stock exchange, allowing anyone to buy and sell those shares. The two largest US stock exchanges are the New York Stock Exchange (NYSE) and NASDAQ.

The US stock market has a total market capitalization of over $50 trillion, making it the largest in the world. Over 58% of American households own stocks directly or through retirement accounts.

How the Stock Market Works

At its core, the stock market operates on supply and demand. When more people want to buy a stock than sell it, the price goes up. When more people want to sell than buy, the price goes down.

Here's the basic flow:

  1. A company issues shares through an IPO on a stock exchange
  2. Investors buy shares through brokerages (Fidelity, Schwab, Robinhood, etc.)
  3. Buy and sell orders are matched electronically in milliseconds
  4. Stock prices fluctuate based on company performance, economic conditions, and investor sentiment
  5. Investors profit through capital gains (price increase) and dividends (profit sharing)

Major Stock Market Indices

Stock market indices track groups of stocks to represent the overall market or specific sectors:

  • S&P 500: Tracks 500 of the largest US companies. Widely considered the best benchmark for the overall US market. Average annual return: ~10% since inception.
  • Dow Jones Industrial Average (DJIA): Tracks 30 large, well-known US companies (blue chips). The oldest and most recognizable index.
  • NASDAQ Composite: Tracks 3,000+ stocks on the NASDAQ exchange. Heavily weighted toward technology companies.
  • Russell 2000: Tracks 2,000 small-cap US companies. A benchmark for small company performance.

View live market data for all major indices.

How to Buy Stocks

  1. Open a brokerage account: Choose a broker with no commissions and no minimums. Compare top brokerages.
  2. Fund your account: Transfer money from your bank. Most brokers support instant deposits.
  3. Research stocks: Analyze companies using fundamental analysis (financials, earnings, growth) or use index funds for broad exposure.
  4. Place an order: Use a market order for immediate execution or a limit order to set your price.
  5. Monitor and manage: Track your portfolio, but resist the urge to trade frequently.

Stock Order Types Explained

  • Market Order: Buy or sell immediately at the current market price. Fastest execution, but you don't control the exact price.
  • Limit Order: Set a specific price. The order only executes at your price or better. More control, but may not fill.
  • Stop-Loss Order: Automatically sell if a stock drops to a certain price. Limits your downside risk.
  • Stop-Limit Order: Like a stop-loss but converts to a limit order instead of a market order.

Fundamental vs Technical Analysis

Fundamental Analysis

Evaluates a company's intrinsic value by examining financial statements, earnings, revenue growth, profit margins, debt levels, and competitive advantages. Key metrics include P/E ratio, EPS, revenue growth, and free cash flow.

Technical Analysis

Studies price patterns and trading volume to predict future price movements. Uses charts, moving averages, RSI, MACD, and other indicators. More commonly used for short-term trading.

Market Hours and Trading Sessions

  • Pre-Market: 4:00 AM - 9:30 AM ET (lower volume, wider spreads)
  • Regular Hours: 9:30 AM - 4:00 PM ET (highest liquidity)
  • After-Hours: 4:00 PM - 8:00 PM ET (reacts to earnings releases, news)

The market is closed on weekends and major holidays (New Year's Day, MLK Day, Presidents' Day, Good Friday, Memorial Day, Juneteenth, Independence Day, Labor Day, Thanksgiving, Christmas).

Risks of Stock Investing

  • Market risk: The entire market can decline (recessions, crashes)
  • Company risk: Individual companies can fail or underperform
  • Volatility risk: Stock prices can swing dramatically in short periods
  • Inflation risk: Returns may not keep pace with inflation
  • Liquidity risk: Some stocks may be hard to sell quickly at fair value

Diversification through ETFs and index funds is the most effective way to reduce risk while maintaining exposure to market returns.

Related Resources

Frequently Asked Questions

Get Smarter About Investing

Free weekly market insights, calculator updates, and investing education.