MoneyMath

fire ~3 min read

The FIRE formula (and the 25x rule)

The FIRE formula is annual expenses ÷ safe withdrawal rate — at 4%, that's 25× expenses. The equation explained, the Coast, Lean, and Barista variants, the time-to-FIRE formula, and a worked example.

Quick answer

The FIRE formula is one line:

FIRE Number = Annual Expenses ÷ Safe Withdrawal Rate

At the standard 4% withdrawal rate, that’s the same as 25 × annual expenses. Spend $40,000 a year → $1,000,000. Spend $80,000 → $2,000,000.

The entire FIRE framework rests on one equation and a couple of variants. This page is the formula reference: the core equation, the per-variant versions (Coast, Lean, Barista), and the time-to-FIRE formula — each with the numbers worked through.

The FIRE formula

FIRE Number = Annual Expenses ÷ Safe Withdrawal Rate

The safe withdrawal rate (SWR) is the share of the portfolio you withdraw in year one and then adjust for inflation. Dividing by the most-cited 4% rate is identical to multiplying by 25, which is why you’ll see the formula written as the 25× rule:

FIRE Number = Annual Expenses × 25     (at a 4% SWR)

The withdrawal rate is the lever. Lower it for a longer, safer retirement:

Safe withdrawal rateMultiple of expenses
5%20×
4%25×
3.5%28.6×
3%33.3×

Where the 4% comes from is its own topic — see what the 4% rule actually says.

The FIRE equation for each variant

The four common flavors of FIRE use the same core equation with one twist each.

Standard FIRE — full expenses, full retirement:

Standard FIRE = Annual Expenses ÷ SWR

Lean FIRE — the same equation on a smaller budget ($25k–40k/yr):

Lean FIRE = Lean Annual Expenses ÷ SWR

Coast FIRE — what you need invested today so growth alone reaches your full number by retirement age:

Coast FIRE = FIRE Number ÷ (1 + r)^n

where r is your real (after-inflation) return and n is years to retirement.

Barista FIRE — part-time income covers part of expenses, so the portfolio only funds the gap:

Barista FIRE = (Annual Expenses − Part-time Income) ÷ SWR

A worked example

Spend $50,000 a year:

Standard FIRE = $50,000 ÷ 0.04 = $1,250,000

Add $20,000/yr of part-time income and the Barista version drops sharply:

Barista FIRE = ($50,000 − $20,000) ÷ 0.04 = $750,000

A 30-year-old who wants to retire at 65 on that $1.25M, assuming a 5% real return over 35 years:

Coast FIRE = $1,250,000 ÷ (1.05)^35 ≈ $226,500

Reach about $226k invested by 30 and, even without another contribution, growth alone is expected to carry you to $1.25M by 65.

The time-to-FIRE formula

The equation above gives the target. This one tells you when you’ll hit it, given a starting balance and monthly contributions:

Months = log((Target + C/r) ÷ (Start + C/r)) ÷ log(1 + r)

C is your monthly contribution and r is your monthly real return. It’s the future-value-of-an-annuity formula solved for time. You don’t have to compute it by hand — the Standard FIRE Calculator does it live as you change the inputs.

What the formula leaves out

The equation is deliberately simple, which means it ignores some real-world frictions: sequence-of-returns risk, taxes on pre-tax accounts, healthcare, and lifestyle creep. None of them change the formula — they change how much margin you keep on top of it. The full FIRE number guide walks through each one.


Go deeper:

Run your own numbers in the Standard FIRE Calculator — it computes every formula on this page in your browser.


Educational content, not financial advice. The 4% rule is based on US historical data and 30-year horizons.

Frequently asked questions

What is the FIRE formula? +
FIRE Number = Annual Expenses ÷ Safe Withdrawal Rate. At a 4% withdrawal rate this is the same as 25 × annual expenses. Spend $40,000 a year and your FIRE number is $1,000,000.
What is the 25x rule? +
The 25× rule is the FIRE formula at a 4% withdrawal rate: 1 ÷ 0.04 = 25, so your portfolio needs to be 25 times your annual expenses. It's the 4% rule expressed as a multiple.
What is the Coast FIRE equation? +
Coast FIRE Number = FIRE Number ÷ (1 + r)^n, where r is your real return and n is the years until retirement. It's the amount you'd need invested today for compound growth alone to reach your full FIRE number by retirement age.
What is the formula for years to FIRE? +
Months to FIRE = log((Target + C/r) ÷ (Start + C/r)) ÷ log(1 + r), where C is your monthly contribution and r is your monthly real return. It's the future-value-of-an-annuity formula solved for time.

One short note a week.

A new calculator, a back-of-the-envelope tear-down of a money decision, or a reading list. No fluff.

Free, weekly, unsubscribe anytime.