6 min read
On this page

The Math Behind FIRE

Financial Independence, Retire Early. It sounds like a fantasy, but the math behind it is brutally simple. You need to accumulate enough invested assets that the returns cover your living expenses. Forever. The most widely used benchmark: save 25 times your annual expenses. That is it. The rest is execution.

Engineers tend to love FIRE because it is a math problem. No ambiguity, no politics, no subjective performance reviews. Just numbers. Save aggressively, invest consistently, and the math works. The hard part is not understanding the formula. The hard part is living it for 10-20 years.

The 4% Rule

In 1998, three professors at Trinity University studied historical stock market returns going back to 1926. They asked: if a retiree withdrew a fixed percentage of their portfolio each year (adjusted for inflation), what withdrawal rate would have survived every 30-year period in history?

The answer: 4%.

This means if you have 1,000,000invested,youcanwithdraw1,000,000 invested, you can withdraw 40,000 per year (adjusted for inflation) and historically, your portfolio would have lasted at least 30 years in every scenario tested, including the Great Depression and the stagflation of the 1970s.

The 4% Rule in practice:
  Portfolio:           $1,000,000
  Year 1 withdrawal:  $40,000 (4%)
  Year 2 withdrawal:  $40,000 + inflation adjustment
  Year 3 withdrawal:  continues adjusting for inflation

The inverse of 4% is 25. That gives us the core FIRE formula.

The 25x Rule

If you can withdraw 4% safely, you need a portfolio worth 25 times your annual expenses.

Annual expenses    x 25    = FI number
-----------------------------------------
$30,000            x 25    = $750,000
$40,000            x 25    = $1,000,000
$50,000            x 25    = $1,250,000
$60,000            x 25    = $1,500,000
$80,000            x 25    = $2,000,000
$100,000           x 25    = $2,500,000
$120,000           x 25    = $3,000,000
$150,000           x 25    = $3,750,000

Notice the emphasis on expenses, not income. You do not need 25x your salary. You need 25x what you actually spend. This is why cutting expenses has a double effect in FIRE math: it lowers the amount you need AND increases the amount you can save.

Engineer earning $200,000/year:

  Scenario A: Spends $100,000/year
    FI number: $2,500,000
    Savings rate: 50% (after tax)
    
  Scenario B: Spends $60,000/year
    FI number: $1,500,000
    Savings rate: 70% (after tax)
    
Scenario B reaches FI $1,000,000 sooner AND gets there faster
because the savings rate is higher.

The Three Variables

FIRE math has exactly three variables. That is what makes it elegant and what makes it hard. There are no shortcuts.

Variable 1: Income

The more you earn, the more you can save (assuming you do not inflate your lifestyle proportionally). Engineers have a structural advantage here. A senior engineer earning $300,000 in total compensation has enormous savings potential if they keep expenses reasonable.

Total comp:        $300,000
After tax:         ~$210,000
Living expenses:   $80,000
Annual savings:    $130,000
Savings rate:      62%

Income growth accelerates your timeline. Every raise or promotion, if directed to savings rather than spending, shortens the path to FI.

Variable 2: Expenses

This is the variable you have the most control over, and it has the most impact. Reducing expenses by $10,000/year does two things:

  1. Increases your annual savings by $10,000
  2. Reduces your FI number by 250,000(250,000 (10,000 x 25)
Cutting $10,000/year in expenses:
  Extra savings per year:     $10,000
  Reduction in FI target:    $250,000
  Combined acceleration:      Significant

The biggest expense categories for most engineers:

Housing:          30-40% of expenses (biggest lever)
Transportation:   10-15%
Food:              10-15%
Healthcare:        5-10%
Everything else:  20-30%

Housing is the single biggest lever. An engineer who moves from San Francisco (3,500/monthrent)toAustin(3,500/month rent) to Austin (1,800/month rent) saves 20,400/year.ThatreducestheirFInumberby20,400/year. That reduces their FI number by 510,000 and adds $20,400/year to savings.

Variable 3: Investment Returns

The historical average annual return of the US stock market (S&P 500) is approximately 10% nominal, or about 7% after inflation. FIRE math typically uses the real (inflation-adjusted) return.

At 7% real returns:
  $50,000/year invested = $1,000,000 in ~13 years
  $50,000/year invested = $2,000,000 in ~19 years
  $50,000/year invested = $3,000,000 in ~24 years

You cannot control market returns. You can control whether you stay invested through downturns (most people fail here) and whether you keep costs low (index funds at 0.03-0.10% expense ratios, not actively managed funds at 1%+).

The Savings Rate Is Everything

Your savings rate -- the percentage of your after-tax income that you save and invest -- determines your timeline to FI more than any other factor.

Savings Rate    Approximate Years to FI
(assumes 5% real returns, starting from $0)
-----------------------------------------------
10%             ~51 years
20%             ~37 years
30%             ~28 years
40%             ~22 years
50%             ~17 years
60%             ~12.5 years
70%             ~8.5 years
80%             ~5.5 years

The relationship is not linear. Going from a 10% to 20% savings rate cuts 14 years off your timeline. Going from 70% to 80% cuts only 3 years. The biggest gains come from moving from a low savings rate to a moderate one.

For engineers earning $150,000-300,000, a 50-70% savings rate is achievable without extreme deprivation. It requires intentional choices about housing, cars, and lifestyle inflation, but it does not require eating rice and beans in a studio apartment.

Running the Numbers: A Worked Example

Meet a 28-year-old software engineer:

Total compensation:    $220,000
After-tax income:      $154,000
Annual expenses:       $62,000
Annual savings:        $92,000
Savings rate:          60%
Current investments:   $80,000

FI number (25x expenses): $1,550,000
Gap:                      $1,470,000

At a 7% real return with 92,000/yearcontributionsstartingfrom92,000/year contributions starting from 80,000:

Year 1:   $80,000 x 1.07 + $92,000 = $177,600
Year 5:   ~$620,000
Year 10:  ~$1,420,000
Year 11:  ~$1,610,000  ← crosses FI number

Age at FI: 39

Eleven years. Not 40. Not "someday." Eleven years of disciplined saving and investing, and this engineer never needs to work for money again.

Criticisms & Limitations of the 4% Rule

The 4% rule is useful but imperfect. Know its limitations:

It Was Based on US Market History

The US stock market had exceptional returns over the past century. Other countries' markets have not always performed as well. Global diversification helps, but the 4% rule may be optimistic for some scenarios.

It Assumes a 30-Year Retirement

The original study looked at 30-year periods. If you retire at 35, you need your money to last 50-60 years. Some FIRE advocates use a 3.5% or even 3% withdrawal rate for extra safety.

More conservative FI numbers:
  3.5% rule:  Annual expenses x 28.6
  3.0% rule:  Annual expenses x 33.3

At $60,000/year expenses:
  4% rule:   $1,500,000
  3.5% rule: $1,716,000
  3% rule:   $2,000,000

It Ignores Flexibility

The 4% rule assumes fixed withdrawals regardless of market conditions. In practice, most FIRE'd people adjust spending during downturns. This flexibility dramatically improves portfolio survival rates.

It Does Not Account for Social Security

If you worked and paid into Social Security for 10+ years, you will receive benefits starting between age 62-67. This acts as a safety net that the 4% rule does not factor in.

Sequence of Returns Risk

The biggest threat to early retirees. If the market crashes in your first few years of retirement, withdrawals from a depleted portfolio can cause it to run out decades early. Mitigations: keep 2-3 years of expenses in cash or bonds, be willing to reduce spending after a downturn, or work part-time during the first few years of FI.

Beyond the Math: Why Engineers Get Stuck

The math is simple. The psychology is not. Common failure modes:

Problem:  Lifestyle inflation
Symptom:  Each raise leads to a nicer apartment, a nicer car
Fix:      Automate savings increases with every raise

Problem:  Burnout before reaching FI
Symptom:  Saving 70% but miserable at work
Fix:      FIRE is about options, not deprivation. Adjust the pace.

Problem:  Moving the goalposts
Symptom:  "I need $2M... actually $3M... actually $4M"
Fix:      Pick a number based on real expenses, not fear.

Problem:  Ignoring the present
Symptom:  Optimizing so hard for the future that today is joyless
Fix:      Build a plan that funds a good life now AND later.

Common Pitfalls

  • Focusing on income and ignoring expenses. A 500,000earnerwhospends500,000 earner who spends 400,000 is further from FI than a 150,000earnerwhospends150,000 earner who spends 50,000.
  • Using nominal returns instead of real returns in projections. Always use inflation-adjusted returns (roughly 7% for equities). Using 10% nominal makes your timeline look shorter than it actually is.
  • Not accounting for taxes on withdrawals. If your money is in pre-tax accounts (traditional 401k, traditional IRA), your withdrawals are taxed as income. Plan accordingly.
  • Treating the 4% rule as a guarantee. It is a guideline based on historical data, not a law of physics. Build in margins of safety.
  • Saving aggressively but investing in cash or low-yield accounts. Savings accounts will not get you to FI. You need market returns. Invest in diversified index funds.
  • Not starting because the number feels impossible. 2Msoundslikealotwhenyouhave2M sounds like a lot when you have 10,000. But compound growth is powerful. The first $100,000 is the hardest. It accelerates from there.

Key Takeaways

  • The core FIRE formula: save 25 times your annual expenses, then withdraw 4% per year
  • Expenses matter more than income -- reducing expenses lowers your FI number AND increases your savings rate
  • Your savings rate determines your timeline: 50% savings rate takes about 17 years, 70% takes about 8.5 years
  • Use real (inflation-adjusted) returns of roughly 7% for projections, not nominal 10%
  • The 4% rule has limitations for very early retirees -- consider 3.5% for extra safety
  • Engineers have structural advantages: high income, analytical mindset, ability to optimize
  • The math is the easy part -- the psychology of sustained discipline is what separates people who reach FI from those who just talk about it