Stack Math

Learn · Retirement

Stocks vs bonds: what is the difference?

By Stack Math team · Updated

8 min read6 sources

The short answer

A stock is a small piece of ownership in a company; you earn money if the company’s value grows or it pays dividends, but prices can swing a lot. A bond is a loan to a government or company that pays interest and returns your money at maturity, usually with smaller swings and lower expected returns. Most long-term investors hold both, with more stocks when the goal is far away and more bonds as it gets close.

Key points

Try it with your numbersRetirement calculatorFree, no sign-up

Almost every investment portfolio is built from two ingredients: stocks and bonds. Understanding the difference is most of what you need to choose a sensible mix.

Stocks vs bonds side by side

ItemStocksBonds
What you ownA share of a companyA loan to a government or company
How you earnPrice growth and dividendsInterest payments, then your money back at maturity
Typical swingsLargerSmaller (varies by bond type)
Long-term expected returnHigherLower
Main risksMarket drops, company failureRising interest rates, inflation, borrower default
Best forLong-term growthStability, income, nearer-term goals

How stocks make (and lose) money

When a company grows its profits, its shares tend to become more valuable, and many companies share profits as dividends. But prices react to everything from earnings to the economy, so stocks can fall sharply and stay down for a while. Owning many companies through a fund (diversification) protects you from any single company failing, not from the whole market dropping.

56%of US families owned stock directly or indirectly in 2025Fed SCF
$77,400median stock holdings among families that owned stock, 2025Fed SCF
5.09%5-year Treasury yield used in FDIC’s Oct 2026 rate tableFDIC

How bonds make (and lose) money

You lend money for a set time and receive interest. U.S. Treasury bonds are backed by the federal government; corporate bonds pay more but carry more risk that the company cannot pay. If interest rates rise, existing bonds paying lower rates become less valuable, so bond fund prices can fall. Holding a bond to maturity returns your principal if the borrower pays.

How to mix them

Mix by timeline (illustration, not advice)

Money needed within 1-3 years
Mostly savings, CDs or short-term Treasuries; little or no stock.
3-10 years away
A balance of stocks and bonds that you can stick with in a downturn.
10+ years away (like retirement in your 20s-40s)
Mostly stocks for growth, with some bonds for stability.
In or near retirement
More bonds and cash for spending needs, with stocks still for long-term growth.
  1. 1
    Pick a mix you can live with

    The best mix is one you will not abandon in a crash.

  2. 2
    Use diversified, low-cost funds

    A stock index fund and a bond index fund, or a target-date fund.

  3. 3
    Rebalance once a year

    Sell a bit of what grew, buy what lagged, to return to your mix.

  4. 4
    Shift gradually as goals near

    Or let a target-date fund do it automatically.

What research says

Stocks and bonds myths

Myth vs fact

Myth Bonds cannot lose money.

Fact Bond prices fall when interest rates rise, and some borrowers default.

Myth Stocks are just gambling.

Fact Single-stock bets can be. A diversified stock fund held for decades is owning a share of the economy.

Myth You should move to cash when markets fall.

Fact Selling after a drop locks in losses and risks missing the recovery.

Try different savings and return assumptions in the retirement calculator, and choose an account with Roth vs traditional IRA.

The bottom line

Stocks are your growth engine and bonds are your shock absorber. Match the mix to your timeline, keep both in low-cost diversified funds, and rebalance occasionally instead of reacting to headlines.

Common questions

Are bonds safer than stocks?

Usually less volatile, especially high-quality government bonds. But bonds can lose value when interest rates rise, and inflation can erode their returns.

Should young people own bonds?

Many young investors hold mostly stocks because they have decades to ride out swings. Some bonds can still help with stability; target-date funds include a small share.

What is a good stock and bond mix?

It depends on your timeline and comfort with swings. Longer timelines generally allow more stocks; shorter ones call for more bonds and cash.

Sources

  1. SEC Investor.gov: Mutual funds and ETFs (stocks, bonds, diversification) (checked November 11, 2026)
  2. FDIC National Rates and Rate Caps (Treasury yields used, Oct 19, 2026) (checked November 11, 2026)
  3. Federal Reserve: 2025 Survey of Consumer Finances press release (stock ownership 56%) (checked November 11, 2026)
  4. SEC Investor.gov: Target date fund (glossary) (checked November 11, 2026)
  5. Benartzi, S. and Thaler, R. (1995). Myopic Loss Aversion and the Equity Premium Puzzle. Quarterly Journal of Economics, 110(1), 73-92 (checked November 11, 2026)
  6. French, K. (2008). Presidential Address: The Cost of Active Investing. Journal of Finance, 63(4), 1537-1573 (checked November 11, 2026)

Keep reading

Also worth knowing

General education, not financial, tax or legal advice. Rates and rules change, so check the sources above before you act. Disclaimers