$ FIRE Calculator

JJ Ben-Joseph headshot JJ Ben-Joseph

What this FIRE calculator does

The Financial Independence, Retire Early (FIRE) calculator estimates how many years it may take for you to build an investment portfolio large enough to support your desired annual spending in retirement. You enter your current savings, how much you plan to contribute each year, your assumed investment return, and your target spending level in retirement. You can also choose the withdrawal rate you are comfortable with, such as the commonly referenced 4% rule.

Using these inputs, the calculator projects your portfolio value year by year. It compounds your existing savings, adds your annual contribution, and checks whether your balance has reached the target portfolio size required to sustainably fund your desired retirement spending. If you reach that target, the tool reports the estimated number of years to financial independence. If you do not reach the target within the maximum projection period, it will indicate that FIRE is not reached under the chosen assumptions.

Key formulas used in the FIRE calculation

The calculator is built around a few core concepts: your target portfolio size, the compounding of your investments, and the effect of ongoing contributions. The main steps are:

  1. Compute the target portfolio required to support your desired retirement spending at your chosen withdrawal rate.
  2. Grow your current portfolio by the expected annual return.
  3. Add your annual contributions.
  4. Repeat the growth and contribution steps each year until you reach (or exceed) the target portfolio, or until a maximum number of years has passed.

The target portfolio is calculated from your desired annual spending in retirement and your withdrawal rate. In basic form:

Target portfolio = Desired annual spending ÷ (Withdrawal rate ÷ 100)

For example, if you want to spend $40,000 per year and you choose a 4% withdrawal rate, the target portfolio is $40,000 ÷ 0.04 = $1,000,000.

Year by year, the calculator applies compound growth and contributions. If we let:

then, in simplified closed-form terms, ignoring the stopping rule when you hit the target:

Pt = P0 × (1 + r)t + C × [((1 + r)t − 1) ÷ r]

The calculator instead iterates year by year, which is easier to implement in code and helps handle edge cases such as zero or very small returns. In algorithm form:

balance = current_savings
for each year t:
  balance = balance × (1 + r)
  balance = balance + annual_contribution
  if balance ≥ target_portfolio:
      stop and report t years to FIRE
  stop after a maximum number of years if FIRE is not reached

To express the target portfolio formula more formally, here is a MathML representation:

TargetPortfolio = AnnualSpending WithdrawalRate / 100

How to interpret your FIRE results

Once you click the calculate button, the tool returns two main outputs:

If the estimated years to FIRE is a relatively small number, it suggests that, under your assumptions, you are on a faster path to financial independence. If the number is very large, or the calculator indicates that FIRE is not reached within the projection horizon, it may be a sign that your current savings rate, expected returns, or spending goals need adjustment.

Consider the following when interpreting your results:

Worked example: estimating a FIRE timeline

To see how the calculator works in practice, imagine the following situation:

Step 1: Calculate the target portfolio. Using the withdrawal rate formula:

Target portfolio = 40,000 ÷ 0.04 = 1,000,000

So you are aiming for a $1,000,000 portfolio.

Step 2: Project year-by-year growth. In the first year:

At the end of year one, your projected balance is $22,500.

In the second year:

The calculator continues this process each year, checking whether your balance has reached $1,000,000. With these assumptions, you would typically reach the target portfolio in a few decades. The exact year may differ slightly from hand calculations due to rounding and the specific implementation, but the order of magnitude will be similar.

You can then experiment with different inputs. For example, raising your annual contribution from $12,000 to $18,000, or reducing your desired retirement spending from $40,000 to $35,000, will generally shorten the time to FIRE. Conversely, lowering your expected return or choosing a more conservative withdrawal rate will lengthen the estimated timeline.

Comparing different FIRE scenarios

One of the main benefits of this calculator is the ability to compare how changes in savings, returns, and withdrawal rates affect your path to financial independence. The table below summarizes some qualitative differences between more aggressive and more conservative assumptions.

Scenario Typical withdrawal rate Effect on target portfolio Effect on years to FIRE Risk considerations
Aggressive FIRE plan 4.5% – 5% Lower target portfolio for the same spending Usually fewer years to FIRE Higher risk of running out of money in poor markets or with long retirements
Moderate FIRE plan Around 4% Balance between portfolio size and flexibility Timeline depends strongly on savings rate and returns Based loosely on historical research, but still not guaranteed
Conservative FIRE plan 3% – 3.5% Higher target portfolio for the same spending Usually more years to FIRE Greater margin of safety against lower returns or higher expenses
Higher savings, lower return Any Target unchanged; savings grow rapidly despite modest returns Timeline often reasonable even with cautious market assumptions Relies more on your savings behavior than on market performance
Lower savings, higher return Any Target unchanged; growth depends heavily on markets Timeline can look short on paper, but is very sensitive to returns Higher risk if actual returns fall short of expectations

Use the calculator to create your own scenarios by adjusting one input at a time. For instance, hold your expected return constant and test different savings levels, or keep your spending target fixed and explore how different withdrawal rates change the target portfolio.

Assumptions and limitations of this FIRE calculator

Because FIRE planning involves the future, any projection is necessarily uncertain. This tool uses a simplified model that can be very helpful for education and planning, but it does not capture every real-world factor. Some important assumptions and limitations include:

Because of these limitations, the results should be interpreted as rough estimates rather than precise forecasts. The calculator is best used to explore how different saving, spending, and return assumptions influence your path to financial independence, not as a definitive retirement plan.

This tool is intended for general educational and informational purposes only and does not provide personalized financial, investment, tax, or legal advice. Your specific situation may differ significantly from the simplified scenarios modeled here. Consider consulting a qualified financial professional before making major decisions based on FIRE projections.

Using the results to refine your FIRE plan

After running several scenarios, you may notice patterns. For many people, the most powerful levers are savings rate and desired spending, rather than chasing higher investment returns. You might use the calculator to answer questions such as:

Experimenting with these variables can help you set realistic expectations, identify trade-offs, and design a path to financial independence that matches your risk tolerance and lifestyle preferences. By revisiting your plan regularly and updating your inputs as your situation changes, you can keep your FIRE journey aligned with your evolving goals.

Use this calculator to estimate how long it might take to reach Financial Independence and Retire Early (FIRE). Fill in your current savings, annual contributions, expected rate of return, and desired annual spending once retired. The results assume the popular four percent rule but you can adjust the withdrawal rate to your preference.

Enter your savings details to estimate your FIRE timeline.

Embed this calculator

Copy and paste the HTML below to add the FIRE Calculator - Financial Independence to your website.