← All paths Long-term investing 0% done
Lesson 1 of 8

What makes a company worth more

12 minute read, 2 interactives

Trading is about what the crowd will pay next week. Investing is about what a business is actually worth over years. Those are different questions, and the second one has a surprisingly simple core: a company is worth the money it will make for its owners, from now until forever, discounted for the fact that money later is worth less than money now.

Earnings: the number that matters most

Revenue is what a company sells. Earnings (profit, net income) is what's left after every cost. When you own a share, you own a slice of those earnings. Over long periods, stock prices follow earnings almost perfectly. In any single year they can wander far from it; over ten years, the wandering averages out.

The two things that make earnings grow:

  • Selling more (revenue growth): new customers, new products, higher prices.
  • Keeping more of each sale (margin expansion): efficiency, scale, pricing power.

The price-to-earnings ratio

Price divided by earnings per share. A stock at $100 that earns $5 per share has a P/E of 20: you're paying $20 for every $1 of annual profit. Flip it and you get the earnings yield: 5%. That's the return you'd get if earnings never grew and were all paid out to you.

  • Low P/E (under 15): the market expects slow growth, or has doubts. Cheap, or cheap for a reason.
  • Average P/E (15 to 25): typical for a healthy company growing at a normal pace.
  • High P/E (over 30): the market expects rapid growth. You're paying today for earnings that don't exist yet. If the growth arrives, fine. If it doesn't, the price falls hard.
What you're paying for
Set a company's earnings today and how fast you think they'll grow. See what different P/E ratios imply about the return you'd get over ten years.
Price today$100
EPS in 10 years
Price in 10 years (same P/E)
Annual return

The P/E can change on you

You can be right about earnings and still lose money if you paid a P/E of 40 and the market later decides the company deserves a P/E of 20. That's called multiple compression, and it's the single biggest risk in buying popular growth stocks. The reverse is the biggest source of outsized returns: buying a solid company at a P/E of 12 that the market later re-rates to 20.

Right about the business, wrong about the price
Earnings grow 10% a year for ten years in every case. Drag the P/E you paid and the P/E the market assigns at the end.
Earnings growth+159% (10%/yr)
Price change
Annual return

Quality: what separates companies worth owning

  • A moat. Something that stops competitors from taking the profits: a brand people pay extra for, a network everyone's already on, switching costs, scale nobody can match. Without a moat, high profits attract competitors who compete them away.
  • Consistent profitability. Years of earnings, not a story about future earnings.
  • Manageable debt. A company that owes a lot can be fine in good times and dead in a recession.
  • Management that treats shareholders like owners. Sensible pay, honest reporting, capital returned when there's nothing better to do with it.

Check yourself

A stock is $60 and earns $3 per share. What's the P/E, and what does it tell you?

$60 ÷ $3 = 20. A P/E around 20 is typical for a healthy business with ordinary growth expectations.

You buy at a P/E of 45. Earnings grow 12% a year for a decade, but the P/E falls to 18. What happened to your return?

Earnings up about 3x, P/E down 2.5x: the price barely moved. Paying too much for growth is how right ideas become bad investments.

Over long periods, stock prices most closely follow what?

Prices wander in the short run, but over ten-plus years they track the profits of the business. That's why investors focus on earnings.
Lesson 2 of 8

Index funds vs picking stocks

11 minute read, 2 interactives

Here's a fact that surprises most people who come from trading: over any twenty-year period, the large majority of professional fund managers fail to beat a simple index fund that just owns every big company. Not because they're bad, but because beating the average, after costs, is extraordinarily hard. That has a direct implication for you.

What an index fund is

A fund that owns every stock in an index (like the 500 largest US companies) in proportion to their size. No manager picking, no research, tiny fees. You get the average return of the whole market, which historically has been roughly 7% to 10% a year over long periods, before inflation. Most are bought as ETFs, which trade like stocks.

Why the average is hard to beat

  • Returns are lopsided. Most stocks do poorly over their lifetime. A small handful do spectacularly and pull the whole average up. Miss those few and you underperform. The index holds them by default.
  • Costs compound. A fund charging 1% a year versus 0.03% doesn't sound like much. Over thirty years it's about a quarter of your final balance.
  • Behavior. Stock pickers trade more, chase winners, and sell in panics. The index never panics.
The lopsided market
Simulate 20 years for 100 companies with realistic outcomes: most flat or down, a few huge. Then compare owning all of them versus picking 5 at random. Run it a few times.
Own all 100 (index)
Your random 5
Stocks that beat the index

So should you ever pick stocks?

A sensible structure that most experienced investors land on: the core is index funds, and individual stocks are a small satellite. Something like 80% to 90% in broad index funds, and 10% to 20% in companies you understand deeply and are willing to hold for years. The core does the heavy lifting; the satellite keeps you engaged and lets you act on real conviction without betting the house.

If you pick stocks, do it like an owner: read the annual report, understand how the company makes money, know why it should earn more in five years, and buy at a price that leaves room to be wrong.

Fees over thirty years
$500 a month for 30 years at 8% a year. Drag the annual fee and watch what it quietly takes.
Final balance
Lost to fees vs 0.03%

Check yourself

Why does owning every stock in an index tend to beat picking a handful?

Most stocks underperform. A small number carry the average. Miss them and you lag; the index can't miss them.

A 1% annual fee versus 0.03% over 30 years costs roughly what share of your final balance?

Fees compound just like returns, in reverse. Small percentages over long periods become large amounts.

A reasonable structure for someone who wants to pick some stocks?

Core-and-satellite keeps most of your money in the thing that reliably works and lets conviction live in a size that can't hurt you.
Lesson 3 of 8

Compounding: the whole point

10 minute read, 2 interactives

Compounding is earning returns on your returns. It's slow at first, then absurd. Everyone has heard this. Almost nobody feels it until they see their own numbers, so this lesson is mostly calculator.

The math, once

$10,000 at 8% a year is $800 the first year. The second year it's 8% of $10,800, which is $864. By year 10 the annual gain is over $1,700. By year 30 it's more than $7,000 a year, on the same original $10,000. The money you added early does most of the work because it's had the most time. That's why the single most important variable is not the return. It's the start date.

Your numbers
Change anything. The chart splits what you put in from what compounding added.
You contributed
Growth
Final balance
Growth share

The cost of waiting

Two people invest $300 a month at 8%. One starts at 25 and stops at 35, then never adds another dollar. The other starts at 35 and contributes until 65. The first person, who invested for ten years, ends up with more money at 65 than the one who invested for thirty. Ten early years beat thirty late ones. Time is the ingredient you can't buy back.

Start now vs start later
Same monthly amount, same return. Drag how many years the second investor waits.
Starts now, $300/mo for 40 years
Starts later, same amount until year 40
Cost of waiting
The rule of 72

Divide 72 by your annual return and you get roughly how many years it takes to double. At 8%, money doubles about every 9 years. At 10%, about every 7. Thirty years at 8% is a bit more than three doublings: $1 becomes about $10.

Check yourself

Roughly how long does money take to double at 6% a year?

Rule of 72: 72 ÷ 6 = 12 years.

Investor A contributes for 10 years starting at 25 then stops. Investor B contributes the same monthly amount for 30 years starting at 35. At 65, who typically has more?

Money invested early has decades to double repeatedly. Start date beats contribution total.

What's the most important variable in compounding that you actually control?

Returns are mostly outside your control. Starting early and staying in are entirely inside it.
Lesson 4 of 8

Dollar-cost averaging and buying the dip

10 minute read, 2 interactives

Dollar-cost averaging means investing the same amount on a schedule, every two weeks or every month, no matter what the market is doing. It's boring by design, and it solves the problem that ruins most new investors: trying to pick the right moment.

Why it works

  • When prices are high, your fixed amount buys fewer shares. When prices are low, it buys more. Your average cost ends up below the average price.
  • It removes the decision. There is no "is now a good time?" There's only payday.
  • It keeps you buying during crashes, which is exactly when buying pays the most and feels the worst.

Lump sum vs averaging in

If you come into a chunk of money, the math says investing it all at once beats spreading it out about two-thirds of the time, simply because markets go up more often than down. But the one-third when it doesn't can be painful. Spreading a lump sum over six to twelve months gives up a little expected return for a lot of regret protection. Either is fine. Sitting in cash "waiting for a dip" is the one option that reliably loses, because the dip you're waiting for often comes from a price far above today's.

$12,000 to invest: all at once, or $1,000 a month?
Random market paths. Run it several times and watch which approach wins, and by how much, in different kinds of years.
Lump sum after 1 year
$1,000/mo after 1 year
Lump sum won0 of 0

Buying the dip, honestly

"Buy the dip" sounds like a strategy. For a long-term investor with a regular plan it's already built in: your scheduled purchase during a downturn is the dip-buying. Adding extra when the market is down 20% or more is reasonable if you have spare cash and a long horizon. Trying to identify the exact bottom is not. Nobody does that consistently, and waiting for a bottom that's already passed costs more than buying a little early.

The cost of waiting for a better price
Twenty years of monthly investing. One person invests every month. The other waits in cash whenever the market is at a new high, hoping for a pullback. See who ends up ahead.
Invested every month
Waited at new highs

Check yourself

With a fixed monthly amount, what happens to the number of shares you buy when prices fall?

Fixed dollars divided by a lower price equals more shares. That's the mechanism behind dollar-cost averaging.

You receive $20,000. Which approach reliably underperforms?

Both lump sum and spreading it out are reasonable. Waiting for a dip usually means missing gains while the market rises past you.

The market is down 25%. You have a long horizon and spare cash. Sensible move?

A 25% discount for a long-term buyer is a gift. Bottoms are only visible in hindsight.
Lesson 5 of 8

Drawdowns and staying in

11 minute read, 2 interactives

The market has fallen 10% roughly every year or two, 20% or more roughly every five to six years, and over 40% a few times a generation. Every single time, it eventually went on to new highs. The people who lost money permanently were mostly the ones who sold during the fall. This lesson is about being prepared for the part that hurts.

What a real drawdown feels like

A 30% decline means a $100,000 portfolio shows $70,000. Every headline says it's getting worse. Someone you know sold "just to be safe." The thing that makes long-term investing work is doing nothing at exactly that moment, or buying. It's simple and it's brutally hard, which is why most people don't get the returns the index actually delivered.

Miss the best days
Twenty years of daily returns. The market's best days cluster right next to its worst, inside the panic. See what happens to someone who sold during the drops and missed just a few of the biggest up days.
Stayed invested
Missed the best days

Preparing before it happens

  1. Emergency fund first. Three to six months of expenses in cash, separate from investments. If you never have to sell stocks to pay rent, you never have to sell at the bottom.
  2. Know your horizon. Money you need within three to five years does not belong in stocks. Money you won't touch for ten years can ride out anything the market has done historically.
  3. Decide the rule now. Write it down: "When the market falls 20%, I will keep contributing and not sell." Reading your own calm handwriting during a crash is surprisingly powerful.
  4. Check less. Daily checking makes every normal wobble feel like an emergency. Monthly is plenty.
Ride the crash
A market path plays out with a serious crash in the middle. At each stage you choose. Then you see what the choice cost or earned over the following years.
Year0
Portfolio$100,000
From peak0%

Check yourself

Why does missing the market's ten best days hurt so much?

Huge up days happen right after huge down days. If you're out during the drop, you're out for the bounce, and the bounce is where a large share of long-term returns live.

What's the purpose of an emergency fund for an investor?

Forced selling during a crash is the one way to make a temporary loss permanent. Cash on the side prevents it.

Money you'll need in two years belongs where?

Stocks can be down for several years at a time. Short-horizon money can't afford to wait for the recovery.
Lesson 6 of 8

Building the portfolio

11 minute read, 2 interactives

A portfolio is just a set of decisions about how much goes where. For most people it can be three or four holdings that never need to change. Complexity is a cost, not a feature.

Asset allocation: the decision that matters most

How much in stocks versus bonds (and cash) explains most of the difference between portfolios. Stocks grow more and fall harder. Bonds grow less and cushion the falls. The right mix depends on how long until you need the money and how much of a drop you can watch without selling.

  • Long horizon, strong stomach: 90% to 100% stocks.
  • Long horizon, hates volatility: 70% to 80% stocks, the rest bonds.
  • Within ten years of needing the money: shift gradually toward more bonds and cash each year.

Within stocks: a broad US index fund, plus an international index fund for diversification, is a complete portfolio. Adding a small-cap or a specific sector fund is optional seasoning.

Allocation trade-off
Drag the stock share and see the historical-style trade: long-run growth against the size of the worst year you'd have had to sit through.
Expected annual return
Worst year, roughly
$10k after 30 years

Rebalancing

Over time, the thing that grew most becomes a bigger share of the portfolio. After a strong stock run, your 80/20 might be 88/12. Rebalancing means selling a bit of what grew and buying what lagged to get back to the target. Once a year is enough. It forces you to sell high and buy low without predicting anything, and it keeps your risk where you decided it should be.

Rebalance or drift
Thirty simulated years, target 70/30. One portfolio rebalances every year; the other never touches it. Compare the ending balance and how far the drifting one wandered from its target.
Rebalanced yearly
Never rebalanced
Drifted portfolio's stock share at end

What to ignore

Daily prices. Predictions about next year. Anything sold as a "system." Products with fees above about 0.2% a year. Your brother-in-law's stock tip. The whole point of the plan is that none of this can change it.

Check yourself

Which decision explains most of the difference between long-term portfolio outcomes?

Asset allocation sets both the growth rate and the size of the drawdowns you'll face. Everything else is detail.

After a big stock rally your 70/30 portfolio is 82/18. What does rebalancing do?

Rebalancing is disciplined selling high and buying low. It keeps the portfolio at the risk you chose.

How many holdings does a complete long-term portfolio need?

A US index fund, an international index fund, and optionally a bond fund own thousands of companies. That's diversification done.
Lesson 7 of 8

Accounts, taxes, and order of operations

10 minute read, 1 interactive

Where you hold investments changes how much you keep. The details vary by country and change over time, so this lesson covers the shape of it. Confirm the current rules for your situation before acting; this is general education, not tax advice.

The three kinds of accounts

  • Tax-advantaged retirement accounts. In the US these include workplace plans (401(k)-style) and IRAs, in traditional and Roth forms. Traditional: you contribute before tax and pay tax when you withdraw. Roth: you contribute after tax and withdrawals are tax-free. Both let investments grow without annual tax on gains or dividends. The trade-off is that money is meant to stay until retirement age; early withdrawals usually cost a penalty.
  • Regular brokerage account. No contribution limits, withdraw any time. But dividends are taxed every year and profits are taxed when you sell. Holding longer than a year usually gets a lower rate than short-term trading.
  • Employer match. Many workplace plans add money when you contribute. A 50% match on the first 6% of your salary is an instant 50% return. Nothing else in investing comes close.
Tax drag over thirty years
$500 a month at 8%. One account grows untaxed; the other pays a rough annual tax on gains as it goes. Drag the effective tax rate on annual gains.
Tax-advantaged
Taxed yearly
Difference
This is a simplified model; real taxation depends on holding periods, income, and account rules. The direction of the gap is what matters.

A common order of operations

A widely used sequence for where each new dollar goes. Adapt it to your own situation and rules:

  1. Emergency fund: three to six months of expenses in cash.
  2. Workplace plan up to the full employer match. Free money first.
  3. High-interest debt (credit cards). Paying off 22% debt is a guaranteed 22% return.
  4. Tax-advantaged accounts (IRA, then more of the workplace plan) up to their limits.
  5. Regular brokerage account for anything beyond that.

Trading in a retirement account

Some people use a retirement account for active trading because gains aren't taxed yearly. The tax part is true. The rest is a trap: retirement money is the money you can least afford to lose, and most active traders lose. Keep the trading account and the retirement account separate, with separate rules, and never let a bad trading month reach into the long-term money.

Check yourself

Your employer matches 50% of contributions up to 6% of salary. What's the return on that first 6%?

Every $100 you put in becomes $150 instantly. No investment beats that; capture the full match before anything else.

What's the main advantage of a retirement account over a regular brokerage account?

Same investments, same returns; you just keep more of them because tax isn't taken along the way.

Where does paying off a 22% credit card fit?

No investment reliably returns 22%. Eliminating that interest is the best guaranteed return available.
Lesson 8 of 8

Final challenge: thirty years

Take as long as you want

Thirty simulated years, one year at a time. You start at 25 with $5,000, contribute monthly, and face the things real investors face: bull runs, crashes, a hot tip, a fee-heavy product, a temptation to sell, a windfall. Every choice compounds. Graded on decisions, not on how lucky the market path was.

Graded on

Staying invested through drawdowns. Keeping fees low. Not chasing tips. Capturing the match. Rebalancing. Keeping the horizon in mind as retirement approaches.

Thirty years, one decision at a time
The chart grows as the years pass. When a decision appears, choose. Your balance updates with the consequence.
Age25
Balance$5,000
Contributed$5,000
Allocation90/10

After this path

Open the accounts, set up the automatic monthly contribution, pick two or three broad index funds, and then, this is the hard part, leave it alone. Check quarterly. Rebalance yearly. If you also trade, keep it in a separate account with the rules from the other paths, sized so it can't touch this. The trading account is for the game. This account is for your life.