The stock market is a system where investors buy and sell ownership shares in publicly traded companies.
It is not one physical location or a single marketplace. Instead, it is a network of stock exchanges, brokers, financial institutions, market makers, and investors that work together to process trades and establish market prices.
For beginners, the stock market can seem complicated because prices change constantly and millions of transactions occur every day. However, the basic process is straightforward: companies make shares available to investors, buyers and sellers submit orders, and exchanges match those orders.
This guide explains how the stock market works, what happens when you buy a stock, and why stock prices move.
What Is the Stock Market?
The stock market is the broader system through which shares of publicly traded companies are issued, bought, and sold.
A stock represents partial ownership in a company. When investors buy shares, they become shareholders and may benefit if the company grows, earns more money, pays dividends, or becomes more valuable.
The stock market includes:
- Stock exchanges
- Brokerage firms
- Public companies
- Institutional investors
- Individual investors
- Market makers
- Regulators
- Clearing and settlement systems
The term “stock market” often refers to the entire public equity market, while a stock exchange is a specific marketplace within that system.
Why Does the Stock Market Exist?
The stock market serves two main purposes.
It Helps Companies Raise Capital
Companies often need money to:
- Build new products
- Hire employees
- Expand into new markets
- Acquire other businesses
- Invest in technology
- Repay debt
A company can raise money by selling ownership shares to public investors.
It Gives Investors Access to Company Ownership
The market allows investors to buy and sell shares without negotiating directly with the company or finding another investor themselves.
This liquidity makes public stocks easier to trade than ownership interests in most private companies.
How Does a Company Enter the Stock Market?
A private company may become publicly traded through an initial public offering, commonly called an IPO.
During an IPO, the company offers shares to public investors for the first time.
The general process includes:
- The company prepares financial and legal disclosures.
- Investment banks help determine the offering structure and price.
- Regulators review the required filings.
- Shares are allocated to investors.
- The stock begins trading on an exchange.
After the IPO, most transactions take place between investors in the secondary market rather than directly with the company.
Primary Market vs Secondary Market
The stock market has two important layers.
Primary Market
The primary market is where securities are issued for the first time.
Examples include:
- Initial public offerings
- Follow-on stock offerings
- Certain private placements
In the primary market, money generally goes to the issuing company.
Secondary Market
The secondary market is where investors trade existing shares with one another.
Most everyday stock trading happens in the secondary market.
When one investor buys Apple shares from another investor, Apple usually does not receive money from that transaction. The buyer pays the seller, and the exchange and brokerage infrastructure process the trade.
What Is a Stock Exchange?
A stock exchange is an organized marketplace where listed securities are traded.
Major U.S. exchanges include:
- New York Stock Exchange
- Nasdaq
Exchanges establish listing standards, trading rules, operating hours, and market surveillance procedures.
A company usually lists its shares on one primary exchange, although its stock may also trade through other venues.
What Does a Broker Do?
Most individual investors do not send orders directly to a stock exchange.
Instead, they use a brokerage account.
A broker provides the platform and infrastructure needed to:
- Open an investment account
- Deposit money
- Search for securities
- Submit buy and sell orders
- Hold investments
- View account balances and performance
When an investor places an order, the broker routes it to an exchange, market maker, electronic trading venue, or another eligible execution destination.
What Happens When You Buy a Stock?
Suppose an investor wants to buy 10 shares of a company.
The process generally works like this:
- The investor enters an order through a brokerage account.
- The broker receives the order.
- The order is routed to a trading venue.
- The system searches for a matching seller.
- The trade is executed at an available price.
- The transaction is confirmed.
- The trade goes through clearing and settlement.
- The shares appear in the investor’s account.
From the investor’s perspective, this can happen in seconds. Behind the scenes, several financial systems are involved.
How Are Buyers and Sellers Matched?
The market continuously collects buy and sell orders.
A buy order shows what a buyer is willing to pay.
A sell order shows what a seller is willing to accept.
The highest current buying price is called the bid.
The lowest current selling price is called the ask.
A trade occurs when a compatible buy order and sell order meet.
Example
Assume the current market shows:
- Highest bid: $99.95
- Lowest ask: $100.00
The difference between the bid and ask is called the bid-ask spread.
If a buyer agrees to pay $100.00, the order may execute against the available seller at that price.
What Is a Market Maker?
A market maker is a firm that regularly quotes prices at which it is willing to buy and sell securities.
Market makers help provide liquidity by making it easier for investors to enter or exit positions.
They may earn money through the difference between buying and selling prices, although their role also involves inventory and execution risk.
Not every trade requires a traditional market maker, because many orders are also matched electronically between buyers and sellers.
Common Types of Stock Orders
The order type an investor chooses affects how a trade may be executed.
Market Order
A market order instructs the broker to buy or sell as soon as possible at the best available price.
Advantages:
- Usually executes quickly
- Simple to use
Risks:
- Final execution price is not guaranteed
- Price may change in a fast-moving or illiquid market
Limit Order
A limit order sets the maximum price a buyer is willing to pay or the minimum price a seller is willing to accept.
Advantages:
- Provides more control over price
- Helps avoid paying more than a specified amount
Risks:
- The order may not execute
- Only part of the order may be filled
Stop Order
A stop order becomes active when a stock reaches a specified trigger price.
Investors may use stop orders to manage entries or exits, but execution can occur at a different price during volatile conditions.
What Determines a Stock’s Price?
A stock price reflects the price at which buyers and sellers are currently willing to trade.
Prices change as new information affects expectations about a company’s future value.
Important factors include:
- Revenue growth
- Profitability
- Earnings reports
- Company guidance
- New products
- Competitive position
- Industry conditions
- Interest rates
- Inflation
- Economic growth
- Investor sentiment
- Market liquidity
The market does not price a company only on its current results. Investors also consider what they expect the company to earn in the future.
Why Can a Stock Rise After Bad News?
Stock prices often react to expectations rather than headlines alone.
A company can report weak results and still see its stock rise if investors expected even worse performance.
Similarly, a company can report strong growth and see its stock fall if:
- Results were below market expectations
- Future guidance disappointed investors
- Valuation was already very high
- Traders had already anticipated the good news
This is why stock price reactions do not always appear intuitive.
Supply and Demand in the Stock Market
Stock prices are influenced by supply and demand.
When more investors want to buy a stock than sell it at the current price, buyers may need to offer higher prices.
When more investors want to sell than buy, sellers may need to accept lower prices.
However, stock market supply and demand are driven by deeper factors, including:
- Financial performance
- Valuation
- News
- Portfolio flows
- Index changes
- Analyst expectations
- Macroeconomic conditions
When Is the Stock Market Open?
U.S. stock exchanges typically operate during regular weekday trading hours, excluding market holidays.
Stocks may also trade during:
- Pre-market sessions
- Regular market hours
- After-hours sessions
Extended-hours trading can have:
- Lower liquidity
- Wider bid-ask spreads
- Greater price volatility
- Fewer available buyers and sellers
Beginners should understand that prices outside regular market hours may behave differently.
What Are Stock Market Indexes?
A stock market index tracks the performance of a selected group of stocks.
Indexes are used to measure market trends and compare investment performance.
Common examples include:
- S&P 500
- Dow Jones Industrial Average
- Nasdaq Composite
- Russell 2000
An index is not the entire market. Each index follows its own selection and weighting methodology.
For example, the S&P 500 tracks large U.S. companies, while the Russell 2000 focuses on smaller companies.
How Do Investors Participate in the Stock Market?
Investors can participate in several ways.
Individual Stocks
Investors can buy shares of specific companies.
This approach provides direct exposure to each company but requires more research and creates company-specific risk.
Exchange-Traded Funds
An ETF can hold a basket of stocks or other assets.
ETFs may help investors diversify across:
- Broad markets
- Industries
- Investment themes
- Geographic regions
- Company sizes
Mutual Funds
Mutual funds pool money from multiple investors and invest according to a defined strategy.
Unlike ETFs, traditional mutual funds generally trade once per day at their calculated net asset value.
Retirement Accounts
Investors may access stocks and funds through retirement accounts, depending on the country and account type.
What Is Stock Market Liquidity?
Liquidity describes how easily an asset can be bought or sold without causing a significant price change.
Highly liquid stocks usually have:
- Many buyers and sellers
- High trading volume
- Narrow bid-ask spreads
- Faster execution
Less liquid stocks may have:
- Lower trading volume
- Wider spreads
- Greater price movement from large orders
- More execution uncertainty
Liquidity can change during periods of market stress or outside regular trading hours.
What Are Clearing and Settlement?
After a trade is executed, it still needs to be finalized.
Clearing confirms the obligations of the buyer and seller.
Settlement completes the transfer of:
- Shares to the buyer
- Cash to the seller
This infrastructure helps ensure that trades are completed accurately and reduces counterparty risk.
Who Regulates the Stock Market?
Stock markets are overseen by government regulators, exchanges, and self-regulatory organizations.
In the United States, major participants include:
- Securities and Exchange Commission
- Financial Industry Regulatory Authority
- Stock exchanges
- Clearing organizations
Their responsibilities include:
- Enforcing disclosure rules
- Monitoring market activity
- Protecting investors
- Regulating brokers and exchanges
- Investigating fraud and manipulation
Regulation reduces certain risks but does not guarantee investment returns or prevent losses.
How Do Companies Benefit After Going Public?
After an IPO, a public listing can provide benefits beyond the initial capital raise.
Potential benefits include:
- Greater access to future financing
- Public visibility
- A market value for company shares
- Stock-based employee compensation
- The ability to use shares in acquisitions
Public companies also face additional obligations, including financial reporting, governance requirements, and shareholder scrutiny.
How Do Investors Make Money in the Stock Market?
Investors generally seek returns in two ways.
Capital Appreciation
An investor earns a capital gain when a stock is sold for more than its purchase price.
Example:
- Purchase price: $40 per share
- Sale price: $55 per share
- Gain: $15 per share, before fees and taxes
Dividends
Some companies distribute part of their profits to shareholders.
Dividend payments are not guaranteed and may be reduced or eliminated.
A stock’s total return can include both price changes and dividends.
What Risks Does the Stock Market Involve?
Stock investing carries several risks.
Market Risk
The overall market can decline because of economic, financial, geopolitical, or sentiment-related events.
Company Risk
A company can lose customers, face competition, report weak earnings, or experience management problems.
Valuation Risk
Even a strong company can be a poor investment if its stock price already assumes unrealistic future growth.
Liquidity Risk
Some stocks may be difficult to trade at a desired price.
Volatility Risk
Stock prices can move sharply over short periods.
Permanent Loss Risk
A company can lose substantial value or fail entirely, causing shareholders to lose part or all of their investment.
How Do Long-Term Investors Use the Stock Market?
Long-term investors often focus less on daily price movement and more on:
- Business quality
- Revenue and earnings growth
- Financial strength
- Competitive advantages
- Valuation
- Diversification
- Investment time horizon
Many investors use recurring contributions and diversified funds to reduce reliance on short-term market timing.
Stock Market Example
Imagine that Company A has 100 million shares outstanding.
The stock currently trades at $20 per share.
Its market capitalization is:
100 million shares × $20 = $2 billion
If investors become more optimistic about the company’s future earnings, demand for the stock may increase.
If the share price rises to $25, the market capitalization becomes:
100 million shares × $25 = $2.5 billion
The company did not necessarily receive an additional $500 million. The higher market capitalization reflects the new market price investors assign to its outstanding shares.
Stock Market vs Stock Exchange
These terms are related but not identical.
| Term | Meaning |
|---|---|
| Stock market | The full system for issuing, buying, and selling stocks |
| Stock exchange | A specific regulated marketplace where securities trade |
| Brokerage | A firm or platform that allows investors to submit trades |
| Stock index | A benchmark that tracks a selected group of stocks |
Key Takeaways
- The stock market connects companies that need capital with investors seeking ownership opportunities.
- Most stock trading occurs between investors in the secondary market.
- Brokers route orders to exchanges and other trading venues.
- Stock prices change as buyers and sellers react to new information and future expectations.
- Market orders prioritize execution, while limit orders prioritize price control.
- Investors can participate through individual stocks, ETFs, mutual funds, and retirement accounts.
- The stock market can support long-term wealth building, but it also involves the risk of loss.
Common Questions
Is the stock market the same as the economy?
No. The stock market reflects investor expectations about publicly traded companies, while the economy includes employment, production, consumption, private businesses, government activity, and other factors. The stock market and economy influence each other, but they can move differently.
Who decides a stock’s price?
No single person decides the market price. Prices emerge from buy and sell orders submitted by investors and institutions across trading venues.
Does a company receive money every time its stock is bought?
Usually not. After shares begin trading publicly, most transactions occur between investors in the secondary market. The company generally receives money when it issues new shares, not whenever existing shares change hands.
Can I buy stocks directly from a stock exchange?
Most individual investors use a brokerage firm rather than accessing an exchange directly.
Why do stock prices change every second?
Prices change as orders enter and leave the market and as investors respond to news, financial results, economic data, and changes in expectations.
Can the stock market go to zero?
The entire stock market is unlikely to go to zero because it represents ownership in many companies. However, an individual company’s stock can lose nearly all or all of its value.
Is the stock market only for professional investors?
No. Individual investors can participate through brokerage accounts, ETFs, mutual funds, and retirement plans. However, they should understand the risks and avoid investing money they may need in the near term.