IS102

How the Stock Market Works

Understanding How Companies, Investors, Exchanges, and Market Prices Connect

What You'll Learn

By the end of this lesson, you’ll understand:

  • What the stock market is
  • Why companies sell shares of ownership
  • How investors buy and sell stocks
  • The roles of stock exchanges, brokerages, and market makers
  • Why stock prices change throughout the day
  • How the stock market differs from the economy
  • What market indexes tell investors

Why This Matters

The stock market can appear confusing from the outside.

Prices move every second.

Financial news reports that the market is rising or falling.

Companies announce earnings.

Investors react to interest rates, inflation, economic reports, and world events.

It may feel as though you need to understand all of this information before you can invest.

You do not.

The stock market is simply a system that connects companies seeking capital with investors who want an opportunity to own parts of those companies.

Once you understand the basic system, the stock market becomes far less mysterious.

You can begin to see it for what it is:

A marketplace where ownership in publicly traded companies is bought and sold.

What Is the Stock Market?

The stock market is a broad network of exchanges, brokerages, investors, financial institutions, and technology that makes it possible to buy and sell shares of publicly traded companies.

It is not one physical location.

Some stock exchanges have well-known trading floors, but most modern transactions are completed electronically.

The stock market includes:

  • Companies that issue shares
  • Individual investors
  • Retirement plans
  • Mutual funds and ETFs
  • Pension funds
  • Insurance companies
  • Banks and investment firms
  • Stock exchanges
  • Brokerage companies
  • Market makers
  • Regulators

Together, these participants create an organized marketplace for exchanging ownership in businesses.

Why Companies Issue Stock

Businesses need money to operate and grow.

A company may need capital to:

  • Hire employees
  • Develop new products
  • Open additional locations
  • Purchase equipment
  • Expand into new markets
  • Acquire another business
  • Pay down debt
  • Invest in technology

Companies can borrow money, use their existing profits, or raise money by selling ownership shares.

When a private company decides to sell shares to the public for the first time, it may complete an initial public offering, commonly called an IPO.

After an IPO, members of the public may be able to purchase shares through brokerage accounts.

By selling stock, the company receives access to capital. In exchange, its shareholders receive an ownership interest in the business.

The Primary and Secondary Markets

The stock market has two important parts.

The Primary Market

The primary market is where securities are initially created and sold.

For example, during an IPO, a company sells newly issued shares to investors. The money raised can go to the company, subject to the terms and costs of the offering.

This is the point at which the company raises capital by issuing stock.

The Secondary Market

The secondary market is where investors buy and sell existing shares from one another.

Most everyday stock-market activity takes place in the secondary market.

If you purchase 10 shares of an established public company through your brokerage account, you are usually purchasing them from another market participant. The company itself generally does not receive the money from that transaction.

A well-functioning secondary market makes stocks more liquid. Liquidity means investors may be able to buy or sell shares without waiting for the company to repurchase them.

What Is a Stock Exchange?

A stock exchange is an organized marketplace where securities can be bought and sold under established rules.

Two well-known U.S. exchanges are:

  • The New York Stock Exchange
  • The Nasdaq Stock Market

An exchange helps:

  • Connect buyers and sellers
  • Display market prices
  • Process trades
  • Establish listing requirements
  • Promote orderly trading
  • Provide information about completed transactions

Not every company can automatically list its shares on an exchange. Exchanges generally require companies to meet financial, reporting, and governance standards.

A company may be listed on one primary exchange, but investors can usually buy or sell its shares through many different brokerage platforms.

What Does a Brokerage Do?

Most individual investors do not send orders directly to a stock exchange.

Instead, they use a brokerage company.

A brokerage provides the account and technology that allow investors to:

  • Deposit money
  • Research investments
  • Place buy and sell orders
  • Hold stocks, bonds, ETFs, and other securities
  • Review account activity
  • Receive dividends or interest
  • Access tax documents

When you place an order, the brokerage routes it for execution.

The brokerage is the bridge between you and the broader securities market.

How a Stock Trade Works

Suppose you want to purchase one share of a company.

The basic process may look like this:

  • You log in to your brokerage account.
  • You search for the company using its ticker symbol.
  • You decide how many shares or how much money you want to invest.
  • You select an order type.
  • You submit the order.
  • The brokerage routes the order to a trading venue.
  • Your order is matched with an available seller.
  • The trade is executed.
  • The share appears in your brokerage account after processing.

The entire transaction may happen almost instantly, but several systems are working behind the scenes to complete it.

Buyers and Sellers Create the Market

Every completed stock trade involves a buyer and a seller.

The buyer believes purchasing the stock at the available price makes sense.

The seller has decided to part with the stock at that price.

They may have completely different reasons.

The buyer may believe the company has strong long-term potential.

The seller may:

  • Need cash
  • Be rebalancing a portfolio
  • Believe the stock is overpriced
  • Be taking a profit
  • Be reducing risk
  • Be moving money into another investment

A sale does not automatically mean someone believes the company is bad. Investors have different goals, timelines, tax situations, and financial needs.

Understanding the Bid and Ask

When viewing a stock quote, you may see a bid price and an ask price.

Bid Price

The bid is generally the highest price a buyer is currently willing to pay.

Ask Price

The ask is generally the lowest price a seller is currently willing to accept.

The difference between the two is called the bid-ask spread.

For example:

  • Highest bid: $49.98
  • Lowest ask: $50.02
  • Bid-ask spread: $0.04

Stocks with heavy trading activity often have smaller spreads. Investments with less activity may have wider spreads.

The price displayed on your screen may represent the most recent completed trade, not necessarily the exact price you will receive on your next order.

Market Orders and Limit Orders

Two common order types are market orders and limit orders.

Market Order

A market order instructs the brokerage to buy or sell as soon as reasonably possible at the best available price.

The order will often execute quickly, but the exact price is not guaranteed.

In a fast-moving or lightly traded market, the final price may differ from the price you saw before submitting the order.

Limit Order

A limit order allows you to set the highest price you are willing to pay when buying or the lowest price you are willing to accept when selling.

For example, if a stock is trading near $50, you might enter a limit order to buy at $49 or less.

The order will execute only if the market reaches your limit price and the order can be filled.

A limit order offers more price control, but it may never execute.

Neither order type is automatically better in every situation. The appropriate choice depends on the investment, trading conditions, and your priorities.

What Is a Market Maker?

A market maker is a firm that regularly stands ready to buy and sell certain securities.

Market makers help provide liquidity by quoting prices at which they are willing to purchase or sell shares.

Without enough willing buyers and sellers, trading could become slower and less efficient.

Market makers can help keep the market functioning by making it easier for orders to be completed. They generally seek to earn money through the difference between buying and selling prices, along with other trading activities.

Why Stock Prices Change

Stock prices change because supply and demand are constantly changing.

If more investors want to buy a stock than sell it at its current price, buyers may need to offer more money. The price may rise.

If more investors want to sell than buy at the current price, sellers may need to accept less. The price may fall.

Many factors can influence demand, including:

  • Company earnings
  • Revenue growth
  • New products
  • Changes in leadership
  • Lawsuits or regulatory concerns
  • Interest rates
  • Inflation
  • Economic conditions
  • Industry trends
  • Competition
  • Political events
  • International conflicts
  • Investor expectations
  • Fear and optimism

The market does not react only to what is happening today.

Prices often reflect what investors expect may happen in the future.

Expectations Move Markets

Imagine a company reports that its profits increased by 10%.

That sounds like good news.

However, if investors expected profits to increase by 20%, the stock price might fall because the results were weaker than expected.

Now imagine another company reports a decline in profit.

That sounds negative.

But if investors expected a much larger decline, the stock price might rise because the results were better than feared.

Stock prices often move based on the difference between expectations and reality.

This is why a company can report positive news and still see its stock decline.

What Does “The Market” Mean?

When financial news reports that “the market” rose or fell, it usually refers to the performance of a stock-market index.

An index tracks the performance of a selected group of investments.

Common examples include:

  • S&P 500: Tracks 500 leading large U.S. companies and is widely used as a measure of the U.S. stock market.
  • Dow Jones Industrial Average: Tracks 30 large, established U.S. companies.
  • Nasdaq Composite: Includes thousands of stocks listed on the Nasdaq exchange and has significant exposure to technology companies.
  • Russell 2000: Tracks approximately 2,000 smaller U.S. companies.

No single index represents every investment.

One index may rise while another falls because they track different companies and weight them differently.

How an Index Differs From an Index Fund

An index is a measurement.

An index fund is an investment designed to follow an index.

You cannot directly purchase the S&P 500 index itself. However, you can purchase an index fund or ETF that seeks to track its performance.

This distinction is important:

  • The index provides the list and measurement.
  • The fund is the investment product you may purchase.

Index funds will be covered in detail later in Investing Course.

The Stock Market and the Economy Are Connected, but Different

The stock market is not the same as the economy.

The economy includes:

  • Employment
  • Consumer spending
  • Business activity
  • Housing
  • Manufacturing
  • Wages
  • Inflation
  • Economic growth

The stock market reflects the prices investors are currently willing to pay for shares based partly on expectations about future business conditions.

Because the market looks forward, it may begin rising before the economy visibly improves.

It may also fall while current economic data still looks strong if investors expect future conditions to weaken.

This is why the market and the economy do not always appear to move together.

What Happens When the Market Falls?

A market decline means investment prices have fallen from previous levels.

Declines vary in length and severity. They may result from:

  • Economic concerns
  • Higher interest rates
  • Unexpected events
  • Falling company profits
  • Excessive valuations
  • Changing investor sentiment

Market declines can be uncomfortable, but they are a normal part of investing.

A diversified long-term investor usually expects periods of volatility and builds a plan that does not depend on prices rising every month or every year.

A declining market does not guarantee a quick recovery. It also does not mean that every investor should immediately sell.

The appropriate response depends on your goals, timeline, portfolio, and financial needs.

The stock market rewards no one simply for participating.

But it provides a system through which patient investors can own productive businesses and pursue long-term financial growth.

A Realistic Example

Meet Daniel.

Daniel invests $300 each month in a diversified stock-market fund through his retirement account.

During his first year, the market falls by 15%.

Daniel feels discouraged when he sees his account balance decline. He considers stopping his contributions until conditions improve.

Instead, he reviews his plan.

His retirement is more than 25 years away. He has an emergency fund, stable income, and a diversified portfolio. His long-term goal has not changed.

Daniel continues contributing.

Because prices are lower, each $300 contribution purchases more fund shares than it did before the decline.

The market eventually recovers, although the timing and strength of any recovery can never be guaranteed.

Daniel learns that market declines are emotionally difficult, but they do not automatically require abandoning a sound long-term plan.

Common Mistakes New Investors Make

Assuming a Low Share Price Means a Stock Is Cheap

A stock trading for $10 is not automatically less expensive than one trading for $200.

The share price alone does not tell you the total value of a company or whether its stock is attractively priced.

Reacting to Every Market Headline

Financial headlines are designed to capture attention.

Constantly changing your strategy based on daily news can lead to emotional decisions and unnecessary trading.

Confusing a Great Company With a Great Investment at Any Price

A company can have excellent products and strong leadership while its stock is still priced too optimistically.

The quality of the business and the price paid for its shares both matter.

Believing Every Decline Is a Buying Opportunity

Some investments recover from declines. Others do not.

A lower price does not automatically make an individual stock a good investment.

Watching the Market Without Having a Plan

Knowing what the market did today is less important than knowing:

  • Why you are investing
  • When you will need the money
  • How much risk you can accept
  • What you own
  • How your portfolio is diversified

Seven Habits for Navigating the Stock Market

  • Know why you are investing.
  • Use money intended for long-term goals.
  • Understand what you own.
  • Diversify your investments.
  • Expect prices to rise and fall.
  • Avoid reacting emotionally to daily headlines.
  • Review your strategy based on your life, not market excitement.

Common Myths About the Stock Market

Myth

The stock market is controlled by one person or organization.

Fact

The market is made up of millions of participants, including individual investors, institutions, companies, brokerages, exchanges, and trading firms.

Myth

When someone sells a stock, the company gives them their money back.

Fact

In the secondary market, investors usually sell their shares to other market participants.

Myth

If a company is profitable, its stock price must rise.

Fact

Stock prices are influenced by expectations, valuation, future prospects, market conditions, and many other factors.

Myth

A market decline means the system is failing.

Fact

Prices fluctuate as investors respond to new information and changing expectations. Declines are a normal part of market behavior.

Myth

Successful investing requires predicting daily price movements.

Fact

Many long-term investors focus on diversification, regular contributions, reasonable costs, and time in the market rather than short-term predictions.

Frequently Asked Questions

In most everyday trades, your money goes to another market participant selling the shares, not directly to the company.

The company generally receives money when it initially issues shares or completes certain additional offerings.

No single person determines the price.

Market prices emerge from the interaction of buyers and sellers. The latest completed trades reflect the prices participants were willing to accept at that moment.

Most individual investors place orders through a brokerage, which then routes those orders to an exchange or another trading venue.

Shareholders may receive voting rights on certain corporate matters, depending on the type of shares owned.

However, everyday business decisions are generally handled by company leadership and overseen by the board of directors.

Market prices can change quickly.

A market order seeks immediate execution but does not guarantee an exact price. The displayed quote may also change before your order reaches the market.

The ability to sell depends on market demand and liquidity.

Widely traded stocks usually have many buyers and sellers. Lightly traded or distressed securities may be more difficult to sell at the price you want.

U.S. exchanges have established regular trading sessions, and some brokerages offer limited trading before or after those sessions.

Trading outside regular hours may involve lower liquidity, wider bid-ask spreads, and greater price volatility.

Your One Actionable Takeaway

Look up one publicly traded company you recognize and study its basic stock quote.

Identify:

The company’s name

Its ticker symbol

The exchange on which it is listed

Its current share price

Its approximate market value

Its recent price range

Do not buy it based on this exercise.

The goal is to become comfortable reading basic market information and connecting a familiar business with its publicly traded shares.

Your Next Best Step

Every stock trades within a market, but when people describe how that market is doing overall, they're almost always referring to a specific index. The next lesson introduces the idea of a market index, using the S&P 500 as the primary example.

In the next lesson, you will learn:

Understanding indexes will help you make sense of market headlines and see exactly what your own investments are being measured against.

Explore More Lessons
🎯
Try the Savings Goal & Growth CalculatorBuild a plan for this goal: how much to save, when you could reach it, and how growth may help.
Build My Plan
This lesson is for general education only and isn't personalized financial, legal, or tax advice. Read our full disclaimer →
Ready to move on? Take this lesson's 5-question quiz. Score 80% or higher to unlock the next lesson.
Take the Lesson Quiz