tradingdots

How the Stock Market Works: A Beginner’s Guide

The stock market is a network of exchanges where investors trade company shares through brokers, with prices set where the highest bid meets the lowest ask.

Close-up of an electronic stock exchange board with candlestick charts and red, orange and blue price numbers
In this guide
  1. What Is the Stock Market? A Simple Definition for Beginners
  2. The Main Players: Exchanges, Brokers and Market Makers
  3. How Does the Stock Market Work? Bids, Asks and the Order Book
  4. Stock Market Indexes: S&P 500, Dow and Nasdaq
  5. Bull vs Bear Markets
  6. Stock Market Hours and Settlement (T+1)
  7. Why Stock Prices Move
  8. Is the Stock Market Safe for Beginners?
  9. Bottom Line
  10. Sources

The stock market is a network of exchanges and trading venues where buyers and sellers trade shares of public companies, with prices set by supply and demand second by second. For beginners, the key idea is simple: when you buy a share, you buy it from another investor, and your broker routes the order to a venue that matches you with a seller.

This guide to the stock market for beginners explains who is involved, how a price is actually formed from bids and asks, what indexes like the S&P 500 measure, what “bull” and “bear” mean, when the market is open, how settlement works and why prices move. A worked example shows exactly what the bid-ask spread costs you on a real-looking trade.

Nothing here is advice to buy or sell a particular stock. The aim is to help you understand the machine before you put money into it.

What Is the Stock Market? A Simple Definition for Beginners

A stock (or share) is a small slice of ownership in a company. If a company has 1 billion shares and you own 100, you own one ten-millionth of it, including a claim on its future profits and, usually, a vote at shareholder meetings.

The stock market has two parts:

  • The primary market is where companies sell new shares to raise money, most famously in an initial public offering (IPO). Investment banks help set the price and sell the shares, mostly to large institutions.
  • The secondary market is where investors trade those shares with each other afterward. This is what people mean by “the stock market” day to day. The company does not receive money when you buy its shares here; the seller does.

Why does the secondary market matter to companies? Because a liquid, visible market makes their shares more attractive to own, which makes it easier and cheaper for them to raise money in the future.

The Main Players: Exchanges, Brokers and Market Makers

Stock exchanges

An exchange is a regulated marketplace that lists companies and matches buy and sell orders. The two best-known US exchanges are the New York Stock Exchange (NYSE), whose roots go back to 1792, and Nasdaq, the first electronic stock market, launched in 1971. Other major exchanges include the London Stock Exchange, Euronext, the Tokyo Stock Exchange and the Shanghai and Shenzhen exchanges.

Today almost all matching is electronic. In the US, a stock listed on the NYSE can also trade on other exchanges and on off-exchange venues, all linked by rules that require brokers to seek the best available price for customers.

Brokers

You cannot send an order straight to an exchange. You need a broker, a firm licensed to trade on your behalf. Online brokers hold your cash and shares in a brokerage account and pass your orders to the market. Most large US brokers now charge $0 commission for online stock trades, and many offer fractional shares, so you can invest $10 in a stock that costs $500 a share.

Market makers

A market maker is a firm that continuously quotes both a price at which it will buy and a price at which it will sell a stock. By standing ready to trade, it provides liquidity, meaning you can buy or sell quickly without moving the price much. Market makers earn money mainly from the small gap between their buying and selling prices, the spread, across millions of trades.

Regulators

In the US, the Securities and Exchange Commission (SEC) oversees the markets, and FINRA, a self-regulatory organization, supervises brokers. In the UK it is the Financial Conduct Authority; in the EU, national regulators coordinated by ESMA. Their job is to require disclosure, police fraud and keep the trading rules fair.

How Does the Stock Market Work? Bids, Asks and the Order Book

Every stock has two live prices at any moment:

  • The bid: the highest price someone is currently willing to pay.
  • The ask (or offer): the lowest price someone is currently willing to sell for.

The difference between them is the bid-ask spread. For heavily traded large companies, it is often just a cent. For small, thinly traded stocks it can be much wider.

All the waiting orders form the order book: a list of buy orders at various prices below the market and sell orders at various prices above it. A trade happens when a buyer agrees to pay the ask or a seller agrees to accept the bid. The “last price” you see on a quote screen is simply the price of the most recent trade.

Market orders vs limit orders

  • Market order: buy or sell immediately at the best available price. You are sure to get filled, but not the exact price.
  • Limit order: buy or sell only at your chosen price or better. You control the price, but the order may never fill.

For most beginners, limit orders are a sensible default, especially for less liquid stocks or around the open and close, when spreads tend to be wider.

Example: Suppose a stock is quoted at $49.98 bid / $50.02 ask, a 4-cent spread.

  • You place a market order to buy 100 shares and are filled at the ask: 100 × $50.02 = $5,002.
  • If you sold immediately, you would get the bid: 100 × $49.98 = $4,998.
  • Your round-trip cost is $5,002 − $4,998 = $4, or 0.08% of the trade, even with a $0 commission.

Now suppose you place a market order for 1,000 shares, but the order book shows only 300 shares offered at $50.02, 500 at $50.03 and 400 at $50.05. Your order “walks the book”:

  • 300 × $50.02 = $15,006
  • 500 × $50.03 = $25,015
  • 200 × $50.05 = $10,010

Total: $50,031, an average of about $50.03 per share, versus $50.02 you might have expected. That extra $11 is slippage. A limit order at $50.02 would have filled only the first 300 shares and waited for more sellers.

Stock Market Indexes: S&P 500, Dow and Nasdaq

An index tracks the combined price of a group of stocks so you can see how “the market” is doing at a glance. The main US indexes are:

Index What it holds How it is weighted What it tells you
S&P 500 About 500 large US companies chosen by a committee By market value (bigger companies count more) The most common benchmark for the US stock market
Dow Jones Industrial Average 30 large, well-known US companies By share price (higher-priced shares count more) A long-running but narrow snapshot dating to 1896
Nasdaq Composite Thousands of stocks listed on Nasdaq By market value Heavily tilted toward technology companies
Russell 2000 About 2,000 smaller US companies By market value How small companies are doing

Outside the US, you will see the FTSE 100 (UK), the Euro Stoxx 50 and DAX (Europe) and the Nikkei 225 (Japan). You cannot buy an index directly, but you can buy a fund that copies it. Our guide to what an ETF is explains how index funds and ETFs do that.

Bull vs Bear Markets

A bull market is a sustained period of rising prices, often defined as a rise of 20% or more from a recent low. A bear market is a decline of 20% or more from a recent high. A drop of 10% to 20% is usually called a correction.

These labels describe the past; nobody can reliably say when one phase ends. For perspective, the S&P 500 fell more than 50% from its 2007 peak to its March 2009 low, and about 34% in roughly a month in early 2020, yet it later recovered and set new highs in both cases. Recoveries have taken anywhere from months to several years, and individual stocks may never recover at all.

To slow panic during extreme days, US exchanges use market-wide circuit breakers: if the S&P 500 falls 7% or 13% from the prior close before 3:25 p.m. Eastern Time, trading pauses for 15 minutes; a 20% drop halts trading for the rest of the day.

Stock Market Hours and Settlement (T+1)

Trading hours

The NYSE and Nasdaq hold regular trading sessions from 9:30 a.m. to 4:00 p.m. Eastern Time, Monday to Friday, excluding market holidays such as Thanksgiving and Christmas. Many brokers also offer pre-market and after-hours trading, often from early morning to 8:00 p.m. ET, but liquidity is thinner, spreads are wider and prices can jump on news, so limit orders are especially important then.

The London Stock Exchange trades from 8:00 a.m. to 4:30 p.m. UK time, and most continental European exchanges follow similar hours in Central European Time.

Settlement

When you click “buy,” the trade is executed instantly, but the official transfer of cash and shares, called settlement, happens later. Since May 28, 2024, most US stock trades settle on T+1, one business day after the trade date. Before that, the standard was T+2. The shorter cycle reduces the risk that one side fails to deliver.

Settlement matters mostly when you sell and want to withdraw the cash, or when you trade in a cash account: buying with unsettled funds and selling before they settle can trigger a “good faith violation” and trading restrictions. The UK and EU still settle most trades on T+2 as of October 2026, with both scheduled to move to T+1 on October 11, 2027.

Why Stock Prices Move

In the short run, prices move whenever buyers are more eager than sellers or vice versa. The deeper question is what changes their eagerness. The main drivers are:

  • Company results: earnings, revenue and guidance compared with what analysts expected. A company can report higher profits and still fall if investors expected more.
  • Interest rates: higher rates make bonds and savings more attractive and reduce the present value of future profits, which tends to weigh on stocks, especially fast-growing companies.
  • The economy: inflation, employment and consumer spending data shift expectations for profits across many companies at once.
  • Valuation: how much investors are willing to pay per dollar of earnings, measured by ratios like the price-to-earnings (P/E) ratio.
  • Sentiment and flows: fear, greed, news headlines and large buyers or sellers, such as funds rebalancing, can move prices without any change in the business.

Over long periods, share prices have tended to follow company earnings and dividends. Over days and weeks, they are often driven by news and emotion, which is why short-term moves are so hard to predict. If you want to learn to read those moves visually, see how to read a stock chart.

Is the Stock Market Safe for Beginners?

“Safe” means two different things here.

Safe from fraud or broker failure: mostly yes, if you use a regulated broker. In the US, SIPC protection covers up to $500,000 per customer, including up to $250,000 in cash, if a member brokerage fails and assets are missing. It does not protect against investment losses.

Safe from losses: no. Stock prices can fall sharply, and a single company can go bankrupt and become worthless. Beginners usually reduce that risk by:

  • Investing money they will not need for at least five years.
  • Diversifying across many companies, often through low-cost index funds, instead of a few individual stocks.
  • Mixing in bonds or cash based on their timeline; our guide to stocks vs bonds covers how.
  • Avoiding margin (borrowed money), options and frequent trading until they understand them.

Tip: Be wary of anyone promising guaranteed or unusually high returns from stocks, especially via social media or messaging apps. Check any broker or adviser on FINRA BrokerCheck or Investor.gov before you send money.

Bottom Line

The stock market is a matching system: brokers send your orders to exchanges and market makers, and prices settle wherever the highest bid meets the lowest ask. Indexes summarize how groups of stocks are doing, bull and bear markets describe big swings, and US trades now settle in one business day. Prices move on earnings, interest rates and sentiment, which makes short-term moves unpredictable and long-term diversification valuable. When you are ready to put this into practice, follow our step-by-step guide to investing in stocks for beginners or explore the stocks and ETFs hub.

Sources

Frequently asked questions

What is the stock market in simple terms for beginners?

It is a marketplace where people buy and sell small ownership stakes in public companies. Brokers pass your orders to exchanges, which match buyers and sellers, and the price moves up or down depending on whether more people want to buy or sell.

Is the stock market safe for beginners?

It is well regulated, and in the US your holdings at a member broker are protected by SIPC if the firm fails. But stock prices can fall sharply, so it is not safe from losses. Beginners usually limit risk by diversifying, investing for the long term and only using money they will not need soon.

How does the stock market work when you buy a share?

You place an order with your broker, which sends it to an exchange, market maker or other venue. Your order is matched with a seller at the best available price, and the cash and shares officially change hands one business day later under T+1 settlement.

How much money do you need to start investing in the stock market?

Very little. Many US brokers have no account minimum, charge $0 commission on online stock trades and offer fractional shares, so you can start with $10 or less. Check fees and minimums before opening an account.

What time does the stock market open and close?

The NYSE and Nasdaq are open 9:30 a.m. to 4:00 p.m. Eastern Time on weekdays, except market holidays. Many brokers also offer pre-market and after-hours sessions with lower liquidity and wider spreads.

What makes stock prices go up and down?

Prices change when buyers or sellers become more eager, driven by company earnings, interest rates, economic data, valuations and investor sentiment. Over the long run prices have tended to track company profits, while short-term moves are hard to predict.