M5Mine to FiveHours after five
An early stock ticker machine under a glass dome

Stock Market Basics: How Stocks Work

What a share of stock is, how prices are set, how stocks make or lose money, and the risks to understand before you buy your first share.

A stock is a small slice of ownership in a company. When you buy one share, you become a part owner of that business, with a claim on a tiny fraction of its future profits. That idea sounds simple, but most of the confusion about investing comes from not quite knowing what that ownership means, why prices move every second, and where the returns actually come from.

This guide walks through the mechanics: what a share represents, how the market sets a price, the two ways stockholders can earn money, and the risks that come with owning stocks. The goal is not to tell you which stock to buy. It is to give you a clear mental model so that the next time you read a headline about “the market,” you know what is actually happening underneath it.

Everything here is educational and focuses on the US market. Your situation, goals and tax picture are your own, so consider talking to a qualified financial professional before making large decisions.

What a share actually represents

A company that wants to raise money can sell ownership to the public. It divides that ownership into shares. If a company has 100 million shares outstanding and you own 1,000 of them, you own 0.001% of the company.

That ownership usually comes with a few rights:

  • A claim on profits. If the company pays dividends, you get your proportional share.
  • Voting rights. Common shareholders can typically vote on board members and certain major decisions, one vote per share.
  • A residual claim on assets. If the company is sold or liquidated, shareholders are paid after lenders and bondholders. This “last in line” position is a big reason stocks are riskier than bonds.

There are two broad types. Common stock is what most people own: it carries voting rights and the full upside and downside. Preferred stock usually pays a fixed dividend and gets paid before common shareholders, but typically has limited voting rights and less upside. Most beginners only ever deal with common stock.

How stocks get to the market

A company usually starts private, owned by founders, employees and private investors. When it holds an initial public offering (IPO), it sells shares to the public for the first time, and those shares begin trading on an exchange.

After that, almost all trading happens between investors. When you buy a share through a brokerage, you are usually buying it from another investor who is selling, not from the company. The company does not receive your money. This matters: a falling stock price does not directly drain the company’s bank account, and a rising price does not directly fill it.

Exchanges are the marketplaces where these trades are matched. Brokerages are the firms that give you an account and route your orders. In the US, the Securities and Exchange Commission (SEC) regulates the markets, and FINRA oversees brokerage firms. You can look up any broker’s registration and disciplinary history for free on FINRA BrokerCheck.

How a stock price is set

A stock price is simply the last price at which a buyer and a seller agreed to trade. At any moment there is:

  • A bid: the highest price any buyer is currently willing to pay.
  • An ask: the lowest price any seller is currently willing to accept.
  • The spread: the gap between the two.

If more people want to buy than sell at the current price, buyers raise their bids and the price rises. If more want to sell, sellers lower their asks and the price falls. That is all a price movement is.

Why do people want to buy or sell? In the long run, mostly because of expectations about the company’s future profits. In the short run, prices also react to news, interest rates, investor mood, and plenty of noise that has nothing to do with the business. This is why a solid company’s stock can drop 5% in a day without anything fundamental changing.

Price is not the same as value

A $500 stock is not “more expensive” than a $20 stock in any meaningful sense. What matters is the price relative to what you get. Two common measures:

  • Market capitalization = share price x shares outstanding. This is what the market says the whole company is worth.
  • Price-to-earnings (P/E) ratio = share price / earnings per share. It tells you how many dollars investors are paying for each dollar of annual profit.

Worked example: suppose Company A trades at $40 per share and earned $2 per share last year. Its P/E is 40 / 2 = 20. Company B trades at $300 and earned $25 per share, so its P/E is 300 / 25 = 12. Even though B’s share price is 7.5 times higher, investors are paying less per dollar of B’s earnings. A lower P/E is not automatically “better,” since it can reflect lower expected growth or higher risk, but it shows why share price alone tells you very little.

The two ways stocks make money

1. Price appreciation

If you buy a share at one price and sell it later at a higher price, the difference is a capital gain. If you sell for less, it is a capital loss. Gains only become real when you sell; until then they are “unrealized” and can disappear.

2. Dividends

Some companies pay part of their profits to shareholders as cash, usually quarterly. The dividend yield is the annual dividend divided by the share price.

Worked example: total return

Suppose you buy 50 shares at $80, for a total of 50 x $80 = $4,000. Over one year the company pays $2.40 per share in dividends, and at the end of the year the share price is $86.

  • Dividends received: 50 x $2.40 = $120
  • Price gain: 50 x ($86 - $80) = 50 x $6 = $300
  • Total return in dollars: $120 + $300 = $420
  • Total return in percent: $420 / $4,000 = 10.5%

Now flip it. If the price had fallen to $70 instead, the price loss would be 50 x ($70 - $80) = -$500. Adding the $120 in dividends gives -$380, or a -9.5% return. Dividends cushion a loss but do not prevent one.

Taxes apply to both dividends and realized gains in a regular taxable account, and the rules differ depending on how long you held the shares and the type of dividend. The IRS explains the current treatment on irs.gov; check there rather than relying on numbers from memory.

What moves the market as a whole

“The market” usually refers to an index, a basket of stocks tracked as one number. The S&P 500, for example, follows roughly 500 large US companies. When people say “the market fell 2% today,” they usually mean an index like that.

Broad forces that tend to move most stocks together include:

  • Interest rates. Higher rates make safer investments like bonds and savings more attractive and raise borrowing costs for companies, which often weighs on stock prices.
  • Economic growth and recessions. Corporate profits tend to rise in expansions and fall in downturns.
  • Inflation. It affects costs, consumer spending and interest rates all at once.
  • Sentiment. Fear and enthusiasm can push prices well past what fundamentals justify, in both directions.

Historically, the broad US stock market has produced positive returns over long periods, with the long-run average often cited somewhere around 10% a year before inflation. That is history, not a promise. It also includes years like 2008, when the S&P 500 fell by more than a third, and long stretches where stocks went sideways. Any single year can be sharply negative.

Individual stocks vs funds

You can own stocks two ways: buy shares of individual companies, or buy a fund that holds many companies at once.

Individual stocks Index funds / ETFs
What you own Shares of one company per purchase A slice of hundreds or thousands of companies
Diversification Only as much as you build yourself Built in
Research needed High: you need to understand each business Low: you are buying the whole market or a segment
Risk of one company failing Can wipe out that position entirely Small effect on the total
Costs Usually no commission at major brokers, but time-intensive Small annual expense ratio

Many long-term investors use broad index funds as the core of a portfolio and treat individual stocks, if they own any, as a smaller satellite. The trade-offs are covered in more depth in index funds vs individual stocks.

Risks to understand before you buy

  • Company risk. A single business can lose its market, be outcompeted, commit fraud or go bankrupt. Shareholders of a bankrupt company often receive nothing.
  • Market risk. Even well-run companies fall when the whole market falls. Diversification reduces company risk but not market risk.
  • Volatility. Prices can swing 20% or more in a year. If you might need the money within a few years, that swing can force you to sell at a bad time.
  • Concentration. Holding most of your money in one stock, or in your own employer’s stock, ties your savings and your paycheck to the same outcome.
  • Behavioral risk. For many people, the biggest risk is their own reaction: buying after big gains, selling in a panic after drops.

Common mistakes

  1. Judging a stock by its share price. A “cheap” $3 stock can be far riskier and more overvalued than a $300 one.
  2. Trading on headlines. By the time news reaches you, the price has usually already moved.
  3. Investing money you need soon. Money for an emergency fund or a near-term purchase belongs somewhere stable. See how to build an emergency fund first.
  4. Chasing tips and hot stocks. Unsolicited tips, especially on social media, are a classic setup for pump-and-dump schemes. Investor.gov has a clear explainer on common investment frauds.
  5. Ignoring fees and taxes. Frequent trading in a taxable account can turn gains into short-term taxable income and eat into returns.
  6. Not diversifying. Owning three or four stocks in the same industry is not a diversified portfolio.

Who stock investing is not right for (yet)

Stocks are a long-term tool. They may not be the right next step if you are carrying high-interest credit card debt, have no emergency savings, or will need the money within roughly the next three to five years. In those cases, paying down debt or building cash first often makes more sense. The guide on paying off debt covers how to prioritize.

Key takeaways

  • A share is a fractional ownership stake in a company, with a claim on profits that sits behind lenders and bondholders.
  • Prices are set by buyers and sellers in real time, driven by expectations about future profits plus a lot of short-term noise.
  • Stocks earn money through price appreciation and dividends; total return combines both and can be negative.
  • Share price alone says little about value; market cap and P/E give better context.
  • Long-run historical returns have been positive, but they are not guaranteed, and single years can bring large losses.
  • Diversification, a long time horizon and calm behavior matter more than picking the “right” stock.

Next steps

  1. Check that you have an emergency fund and no high-interest debt before investing money in stocks.
  2. Read how to start investing with $100 to see how a first small investment can work.
  3. Compare individual stocks and funds in index funds vs individual stocks and decide which fits your time and interest.
  4. Look up any brokerage you are considering on FINRA BrokerCheck before opening an account.

This article is for general education only and is not financial, investment, tax or legal advice. All investing involves risk, including the possible loss of the money you invest. Consider speaking with a qualified professional about your own situation. See our editorial policy and disclaimer. Spotted an error? Email hello@minetofive.com.

James SmithWriter, Investing and Financial Freedom

James covers long-term investing, retirement accounts and the math behind financial independence. He writes for beginners who want to understand the why, not just the what.