Skip to content
Menu

How the Stock Market Works

By Chad Smith, Director of Research & Analysis · Updated

On this page
  1. What a share is
  2. Why companies issue shares
  3. Primary and secondary markets
  4. How prices are set
  5. What moves share prices
  6. Market capitalization
  7. Indices
  8. Who takes part
  9. How you take part
  10. Risk
  11. Key takeaways

In this lesson you will learn

  • Explain what a share is and why companies issue them
  • Describe the difference between the primary and secondary market
  • Explain how supply and demand set share prices
  • Describe the roles of exchanges, brokers and regulators

This first lesson explains what the stock market is and how it works. You will learn what a share represents, why companies sell shares, how buyers and sellers meet, what makes prices move, and who the main participants are. The rest of the course builds on these basics, from order types and costs to building a portfolio and choosing a broker.

What a share is

A share, also called a stock or equity, is a unit of ownership in a company. If a company has 1,000,000 shares and you own 1,000, you own 0.1% of it. As a shareholder, you usually have:

  • a claim on a share of the company's profits, which may be paid as dividends
  • the right to vote on certain company decisions, for most ordinary shares
  • a share of the company's value if it grows, or of its losses in value if it shrinks

Shareholders are owners, not lenders. If a company fails, lenders are paid before shareholders, and shareholders may receive nothing. This is why shares can carry a higher risk than bonds from the same company.

Why companies issue shares

Companies sell shares to raise money for growth, such as building factories, developing products or entering new markets. Selling shares lets them raise money without borrowing. The trade-off is that the original owners give up part of their ownership.

When a company first sells shares to the public, it is called an initial public offering (IPO). After that, its shares are "listed" on a stock exchange.

Primary and secondary markets

  • Primary market: where a company sells new shares to investors, such as in an IPO. The money goes to the company.
  • Secondary market: where investors buy and sell existing shares among themselves. This is what most people mean by "the stock market." The company does not receive money from these trades.

When you buy shares through a broker, you are almost always trading in the secondary market. The seller is another investor or a market participant, not the company.

Primary marketCompanyissues new sharesInvestorsfor example in an IPOsharesmoneySecondary marketSellerinvestorBuyerinvestorsharesmoneyExchangematches the ordersCompanyreceives nothing
Only in the primary market, such as an IPO, does the company receive the money; everyday trading through a broker is between investors in the secondary market.

How prices are set

Share prices are set by supply and demand. At any moment, some people want to buy and others want to sell. The exchange matches buy and sell orders.

  • The highest price a buyer is willing to pay is the bid.
  • The lowest price a seller is willing to accept is the ask.
  • The gap between them is the spread.

When more people want to buy than sell at current prices, the price rises until enough sellers appear. When more want to sell, the price falls.

Worked example (illustrative numbers): a share has a bid of 49.95 and an ask of 50.05. If you buy at market, you pay 50.05. If you sold immediately, you would receive 49.95. The 0.10 difference is the spread, a cost of trading. Shares with high liquidity, meaning many buyers and sellers, usually have narrower spreads.

What moves share prices

Over the long term, share prices tend to follow a company's ability to make profits. In the short term, many things move prices:

  • company results, such as revenue and profit
  • news about products, management or legal issues
  • interest rates and the wider economy
  • changes in investor sentiment and risk appetite
  • sector trends, such as changes in demand for a type of product

Short-term moves can be large and hard to predict, which is why the course separates investing from trading in a later lesson.

Market capitalization

Market capitalization, or market cap, is the total market value of a company's shares.

Worked example (illustrative numbers): a company has 50,000,000 shares priced at 20 US dollars. Its market cap is 50,000,000 × 20 = 1,000,000,000 US dollars, or 1 billion.

Companies are often grouped as large-cap, mid-cap or small-cap. Larger companies are usually more established and more liquid; smaller companies can grow faster but tend to be more volatile.

Indices

A stock index tracks the combined value of a group of shares to show how a market or sector is doing. Well-known examples include the S&P 500 and Nasdaq 100 in the US, the FTSE 100 in the UK and the DAX in Germany. When people say "the market is up today," they usually mean a major index rose. You cannot buy an index directly, but you can buy funds that track one, as the next lesson explains.

Who takes part

  • Companies issue shares.
  • Exchanges run the marketplaces where shares are listed and traded.
  • Brokers give individuals access to exchanges and hold their investments.
  • Investors and traders, both individuals and institutions such as pension funds, buy and sell shares.
  • Market makers provide continuous buy and sell prices, adding liquidity.
  • Regulators oversee exchanges and brokers to protect investors and keep markets fair.

How you take part

As an individual, you open an account with a stock broker, deposit money, and place orders through the broker's platform or app. The broker sends your order to an exchange or another trading venue, and after the trade, the shares are held in your account. The broker charges fees for this service, which the fees lesson covers.

Some providers also offer share CFDs, which track share prices without you owning the shares. These are leveraged products with different risks. This course focuses on owning real shares.

Risk

Share prices can fall as well as rise, and you can lose some or all of the money you invest in a single company. Spreading money across many companies reduces the impact of one failure, as the portfolio lesson explains. Past performance of any share or market does not guarantee future results.

Key takeaways

  • A share is a unit of ownership in a company, with a claim on its profits and value.
  • Companies issue shares in the primary market; investors trade them in the secondary market.
  • Prices are set by supply and demand through bids and asks on exchanges.
  • Market cap measures a company's market value; indices track groups of shares.
  • You access the market through a regulated broker, and share prices can fall as well as rise.

Check your understanding

  1. 1. When you buy shares through a broker on an exchange, who usually sells them to you?

    • A. The company itself
    • B. Another investor or a market participant
    • C. The regulator
    • D. The government
    Show answer

    B. Another investor or a market participant

  2. 2. What is a stock index?

    • A. A list of a company's products
    • B. A measure that tracks the combined value of a group of shares
    • C. A type of order
    • D. A broker's fee table
    Show answer

    B. A measure that tracks the combined value of a group of shares

  3. 3. What does market capitalization measure?

    • A. A company's annual profit
    • B. The share price times the number of shares, showing the company's market value
    • C. The number of employees
    • D. The size of the dividend
    Show answer

    B. The share price times the number of shares, showing the company's market value

Stock brokers to put this into practice

Put this into practice on a demo account first, with no money at risk.