Skip to main content
Visual Finances

The Complete Guide to Retirement Planning

How to build a retirement plan from scratch: how much to save, which accounts to use, how to invest, and how to figure out when you can retire.

By Reviewed May 21, 2025 15 min read
Educational content only — not financial, tax, or legal advice.

Retirement planning is not a single decision — it is a sequence of decisions spread over decades. The people who retire comfortably are not usually the ones who made a brilliant bet or timed the market perfectly. They are the ones who started early, contributed consistently, kept fees low, and did not panic during downturns. This guide gives you the framework to make those decisions well, in the right order.

How Much Do You Need to Retire?

The first number you need is your retirement target — the portfolio size that can fund your lifestyle indefinitely without running out of money. The most widely used framework comes from the Trinity Study (1998) and subsequent analyses, and it produces two related concepts: the 4% rule and the 25x rule.

The 4% Rule

The 4% rule states that you can withdraw 4% of your portfolio in the first year of retirement, adjust that amount for inflation each subsequent year, and have a very high probability of not running out of money over a 30-year retirement. This is based on historical analysis of US stock and bond market returns, including periods that include the Great Depression, stagflation of the 1970s, and the dot-com and 2008 crashes.

At 4%, a 30-year retirement succeeds (money doesn’t run out) approximately 95% of the time when the portfolio is 60% stocks / 40% bonds. At 3.5%, the historical success rate approaches 100%. At 5%, the success rate drops to around 80%.

The 25x Rule

The 25x rule is the 4% rule expressed as a portfolio target:

Retirement number = Annual expenses × 25

If you need $60,000/year in retirement (after Social Security and any pension income), your target is $60,000 × 25 = $1,500,000.

This is the number that your investments, compounding over time, need to reach before you can retire with a high degree of confidence.

Setting Your Own Retirement Number

The 25x target requires two inputs: your expected annual expenses in retirement, and how much income you will receive from Social Security or other sources.

Step 1: Estimate retirement spending. Most people spend 70–80% of their pre-retirement income in retirement (lower housing costs, no commuting, no more retirement contributions, but higher healthcare). A rough starting point is to plan for 75% of current expenses.

Step 2: Subtract Social Security and other guaranteed income. If Social Security is projected to pay $24,000/year, your portfolio only needs to cover the remaining gap. On $60,000 total needed with $24,000 from Social Security, you need $36,000/year from the portfolio → $36,000 × 25 = $900,000.

Step 3: Apply the 25x rule to the portfolio-dependent gap.

Real example: Household earning $150,000/year, expecting to spend $90,000/year in retirement, with combined Social Security of $36,000/year.

  • Gap to fill from portfolio: $90,000 − $36,000 = $54,000
  • Required portfolio: $54,000 × 25 = $1,350,000

The retirement calculator and FI number calculator can run this for your specific numbers.

Retirement Account Types: A Complete Comparison

The US tax code offers several retirement savings vehicles, each with different tax treatment, contribution limits, and rules. Here is how the major account types compare:

FeatureTraditional 401(k)Roth 401(k)Traditional IRARoth IRA
Who offers itEmployerEmployerYou open itYou open it
2024 contribution limit$23,000$23,000$7,000$7,000
2025 contribution limit$23,500$23,500$7,000$7,000
Catch-up (50+)+$7,500+$7,500+$1,000+$1,000
Contributions taxedNo (pre-tax)Yes (after-tax)Possibly (income dependent)Yes (after-tax)
GrowthTax-deferredTax-freeTax-deferredTax-free
WithdrawalsTaxed as incomeTax-freeTaxed as incomeTax-free
Income limit to contributeNoneNoneDeduction phases outContribution phases out
Required minimum distributionsYes, at 73Yes, at 73 (if still in plan)Yes, at 73No
Employer matchYesYes (match goes to traditional)NoNo

Key Distinctions

Traditional vs. Roth: The fundamental choice is when you pay taxes — now (Roth) or later (Traditional). Roth wins when your current tax rate is lower than your expected retirement tax rate. Traditional wins when the reverse is true.

IRA vs. 401(k): 401(k)s have much higher contribution limits ($23,500 vs. $7,000 in 2025) and offer employer matching. IRAs offer more investment flexibility (you choose the broker and can access the full market). Ideally, you use both.

Roth IRA income limits: In 2025, single filers earning above $165,000 and married filers earning above $246,000 cannot contribute directly to a Roth IRA. The backdoor Roth conversion is the legal workaround.

2024/2025 Contribution Limits

Account2024 Limit2025 LimitCatch-up (50+)
401(k) / 403(b) / 457$23,000$23,500+$7,500
Traditional IRA$7,000$7,000+$1,000
Roth IRA$7,000$7,000+$1,000
SEP-IRA25% of compensation, up to $69,00025% of compensation, up to $70,000N/A
SIMPLE IRA$16,000$16,500+$3,500
HSA (self-only)$4,150$4,300+$1,000
HSA (family)$8,300$8,550+$1,000

A 50-year-old in 2025 can contribute $31,000 to a 401(k) plus $8,000 to an IRA — $39,000 in tax-advantaged space annually.

The Order of Operations for Retirement Savings

When you have a dollar to put toward retirement, the order in which you direct it matters enormously. Here is the sequence that maximizes expected wealth:

1. Capture the Full Employer Match

If your employer matches 401(k) contributions up to 4% of salary, contribute at least 4%. This is a 50–100% instant return on the matched dollars — nothing else in personal finance comes close. Not capturing the full match is leaving guaranteed money on the table.

2. Max Out Your HSA (If Eligible)

If you have a High Deductible Health Plan (HDHP), a Health Savings Account (HSA) offers a triple tax advantage: tax-deductible contributions, tax-free growth, and tax-free withdrawals for qualified medical expenses. After age 65, HSA funds can be withdrawn for any purpose (taxed as income, like a traditional IRA). This makes the HSA effectively a stealth IRA with better tax treatment. Max it before other accounts.

2025 HSA limits: $4,300 (self-only), $8,550 (family).

3. Max Out the IRA (Roth or Traditional)

After the match and HSA, contribute up to the $7,000 IRA limit. Choose Roth if your current tax rate is likely lower than your retirement tax rate; Traditional if the reverse. For most people in their 20s and 30s, Roth is the better default.

4. Max Out the 401(k)

Return to the 401(k) and contribute up to the $23,500 limit. At this stage you have already captured the employer match; now you’re filling the tax-advantaged space beyond the match.

5. Taxable Brokerage Account

After maxing all tax-advantaged accounts, invest additional savings in a taxable brokerage account. No contribution limits, no restrictions on withdrawal timing, but no upfront tax benefit either. Tax-efficient investment choices (index funds, buy-and-hold) minimize drag.

Summary order:

  1. 401k to employer match
  2. HSA to max (if eligible)
  3. IRA to max ($7,000)
  4. 401k to max ($23,500)
  5. Taxable brokerage

How to Invest for Retirement by Age

The guiding principle is simple: the further you are from needing the money, the more risk you can afford, and the higher return you should expect. As you approach retirement, shift toward assets that preserve capital.

Asset Allocation by Decade

DecadeStock %Bond %Cash/Other %Rationale
20s90–100%0–10%0–5%Maximum time horizon; tolerate volatility
30s85–95%5–15%0–5%Long runway; minor bond allocation begins
40s75–85%15–25%0–5%Mid-career; balance growth and stability
50s60–75%25–40%0–5%Approaching retirement; reduce sequence risk
60s+40–60%35–50%5–10%Preserve capital; maintain some growth

These are guidelines, not mandates. Your specific allocation should reflect your risk tolerance (how you would react to a 40% portfolio drop), your other income sources (pension, Social Security, spouse’s income), and your flexibility (can you work a few extra years if the market is down at your target retirement date?).

A Simple Three-Fund Portfolio

For most investors, a three-fund portfolio at a low-cost brokerage covers everything:

  1. US total market index fund (e.g., VTI, FSKAX) — broad domestic exposure
  2. International index fund (e.g., VXUS, FTIHX) — developed and emerging markets
  3. US bond index fund (e.g., BND, FXNAX) — fixed income, stability

Allocate stocks between US and international roughly 60/40 (or whatever ratio you prefer), then hold the rest in bonds per your age-based target. Rebalance once a year.

Social Security: When to Claim

Social Security is a guaranteed, inflation-adjusted income stream — one of the most valuable things in a retirement plan, and one of the most frequently mishandled.

Benefit at Different Claiming Ages

Benefits can be claimed as early as age 62 and as late as 70. The benefit amount grows by roughly 6–8% per year you delay beyond your Full Retirement Age (FRA). FRA is 67 for anyone born in 1960 or later.

Claiming AgeApproximate Benefit (as % of FRA benefit)
6270%
6480%
67 (FRA)100%
68108%
70124%

Claiming at 62 instead of 70 means accepting a benefit that is roughly 43% smaller, permanently (adjusted for inflation). If you have average or above-average life expectancy, delaying to 70 is almost always the mathematically correct decision — the break-even point (where lifetime benefits from delaying exceed lifetime benefits from early claiming) is typically around age 80–83.

Social Security and Your Retirement Portfolio

Delaying Social Security creates a “retirement income bridge” problem — you need to fund the years between early retirement and age 70 without Social Security. Strategies include:

  • Withdraw from tax-deferred accounts (traditional 401k/IRA) in early retirement, when your income — and therefore tax rate — is lowest
  • Use Roth conversion ladder to move pre-tax money to Roth tax-efficiently during low-income years
  • Hold enough in a taxable or Roth account to bridge the Social Security delay period

The 4% Safe Withdrawal Rate in Practice

The 4% rule is a starting point, not a rigid law. Several factors should push you to adjust it:

Use a lower rate (3–3.5%) if:

  • Your retirement may last 40+ years (early retirement)
  • You have no flexibility to cut spending in a downturn
  • You want a very high margin of safety

A higher rate (4.5–5%) may be acceptable if:

  • Retirement is likely 25 years or less
  • You have significant guaranteed income (Social Security, pension) reducing portfolio dependence
  • You can cut discretionary spending during bad market years
  • You have flexibility to work part-time if needed

Dynamic Withdrawal Strategies

Rather than a fixed dollar amount adjusted for inflation, a dynamic strategy adjusts withdrawals based on portfolio performance:

  • Guardrails method: Set upper and lower withdrawal bounds (e.g., 5.5% max, 3.5% min). If portfolio grows enough, increase spending; if it drops, reduce spending.
  • Floor-and-upside: Cover fixed expenses with guaranteed income (Social Security + bonds), use equities for variable discretionary spending.
  • Percent of portfolio: Withdraw a fixed percentage each year rather than a fixed dollar amount. More volatile income but portfolio never depleted.

Roth Conversion Strategy in Early Retirement

Early retirement — before age 59½ and before Social Security begins — creates a window of potentially low taxable income. This window is the optimal time for Roth conversions: moving money from a traditional 401(k) or IRA to a Roth IRA.

Why it works:

  • Your income is low (no wages, no Social Security yet)
  • You pay tax on conversions at lower marginal rates than your working years
  • Converted amounts can be withdrawn tax-free in 5 years (the Roth conversion 5-year rule)
  • You reduce future required minimum distributions

Example: You retire at 58 with $1.2M in a traditional 401(k) and $200,000 in a Roth IRA. You need $50,000/year to live. Convert $50,000–$80,000/year from traditional to Roth each year until Social Security begins at 70. You fill up the 12% and 22% brackets at low cost, reducing the eventual RMD tax hit, and build up the tax-free Roth balance.

The Roth conversion ladder calculator can help model the optimal conversion amounts for your situation.

Common Retirement Planning Mistakes and How to Avoid Them

Mistake 1: Starting Late

The numbers make the cost of delay visceral. A 22-year-old contributing $500/month at 7% has $2.9M at 65. A 35-year-old contributing the same amount has only $1.1M. No catch-up strategy fully replaces starting early. Start with whatever you can today — even $50/month in your 20s is worth more than $500/month starting at 40.

Mistake 2: Not Capturing the Full Employer Match

Contributing 3% to get a 4% match means leaving free money behind. Always contribute enough to get the full match before anything else.

Mistake 3: Cashing Out When Changing Jobs

When leaving an employer, a surprising number of people cash out their 401(k) rather than rolling it to an IRA or new 401(k). This triggers income tax plus a 10% early withdrawal penalty. A $30,000 balance cashed out at 30 with a 22% tax rate and 10% penalty loses $9,600 to the IRS — and loses all future compounding. Roll it over.

Mistake 4: Being Too Conservative Too Early

A 30-year-old with 100% bonds is protecting against a loss that is unlikely in the short term while guaranteeing a loss in the long term (failing to grow enough to retire). Bonds belong in a portfolio primarily as you approach retirement. In your 20s and 30s, high equity allocation is appropriate.

Mistake 5: Ignoring Fees

A 1% annual advisory fee on a $500,000 portfolio costs $5,000/year. Over 20 years at 7% growth, it costs approximately $260,000 in foregone compounding. Use low-cost index funds (expense ratios below 0.10%) and, if you use an advisor, prefer fee-only fiduciaries charging a flat fee rather than a percentage of assets.

Mistake 6: No Plan for Healthcare Before Medicare

Medicare eligibility begins at 65. If you retire before 65, you need healthcare coverage. Options include: COBRA (expensive), ACA marketplace plans (subsidized if income is in the right range), or a spouse’s employer plan. Budget for this explicitly — premiums for a 60-year-old individual on the ACA marketplace can be $600–$1,000/month before subsidies.

Mistake 7: Underestimating Longevity

The average 65-year-old American today can expect to live to approximately 85. Planning for only 20 years of retirement (to age 85) means a 50% chance of running out of money. Plan for 30 years (to age 95) to be conservative. Use the 4% rule, which is calibrated for 30-year retirements.

FAQ

How much should I be saving for retirement?

A common target is 15% of gross income, including any employer match. This rate, started in your mid-20s, is historically sufficient to fund retirement by the mid-60s. If you start later, you need to save more. If you want to retire earlier, you need to save more. The retirement calculator can compute the required savings rate for your specific target date and lifestyle.

Should I prioritize paying off debt or saving for retirement?

It depends on the interest rate. High-interest debt (credit cards at 20%+) should be paid off before investing beyond the employer match, because the guaranteed return of eliminating 20% debt beats any investment. Student loans and mortgages below 6–7% are borderline — you may want to do both simultaneously. Low-rate debt (below 4%) generally should not prevent you from investing for retirement, because the expected investment return exceeds the debt’s interest cost.

Can I retire early on $1 million?

It depends entirely on your spending needs and your age at retirement. $1 million at a 4% withdrawal rate supports $40,000/year in spending. If you need $60,000/year, $1 million is not enough. If you need $35,000/year and have Social Security covering another $18,000/year, $1 million may be more than enough. The key variable is not the portfolio size alone, but the ratio of spending to portfolio (the withdrawal rate), and how many years the portfolio needs to last.

What happens to my retirement savings if I die before I retire?

Retirement accounts with designated beneficiaries pass directly to those beneficiaries, outside of probate, regardless of what your will says. Spouse beneficiaries can roll the account into their own IRA and defer withdrawals. Non-spouse beneficiaries (such as children) generally must empty the account within 10 years (under the SECURE Act). Keep beneficiary designations current — they override your will.

When should I start taking Social Security?

For most people who are healthy and can afford to wait, delaying Social Security to age 70 is the mathematically correct decision. The 8% per year growth in benefit between FRA (67) and age 70 is a guaranteed, inflation-adjusted return that no investment can match risk-free. The break-even age is typically 80–83 — if you expect to live past that, delay. Only claim early if you have significant health issues, you need the income to avoid withdrawing from an otherwise intact portfolio at a bad time, or you have a specific situation (such as a large traditional 401k that you want to drawdown before Social Security begins).


This article is educational, not financial advice. Consult a licensed financial professional before making retirement decisions.

This article is educational, not financial, tax, or legal advice. Talk to a licensed professional before acting on anything you read here.