All articles
Strategy8 min read

The Order of Operations for Every Dollar You Save

Steady Wealth · August 17, 2026

You have $500 a month to save. Should it go to your 401(k), a Roth IRA, your student loans, or a savings account? Most people answer this by vibe, which means most people leave money on the table.

There is a standard answer, and it has held up for decades because it follows the math. Each dollar you save has a best possible home, and the homes rank in a consistent order. Financial planners call it the order of operations. Work down the ladder, filling each rung before moving to the next.

The ladder at a glance

  1. Starter emergency fund ($1,000 to one month of expenses)
  2. 401(k) up to the full employer match
  3. High-interest debt (anything above roughly 7%)
  4. HSA, if you're eligible
  5. Roth or traditional IRA
  6. Max out the 401(k)
  7. Taxable brokerage account

The order isn't arbitrary. Each rung offers a lower guaranteed or expected return than the one above it. You're sorting your dollars by what they earn.

Step 1: A starter emergency fund

Before you invest anything, put a small cash buffer between yourself and life. You don't need the full three to six months of expenses yet, just enough to absorb a car repair or an urgent flight without reaching for a credit card: $1,000 at minimum, one month of expenses if you can manage it.

This comes first because a surprise expense with no cash buffer forces you to borrow at 22% or sell investments at a bad time. Either outcome costs more than the returns you'd miss by holding some cash for a few months. We cover how to size the full version in building your safety floor, but at this stage, small and fast beats complete and slow.

Step 2: The 401(k) match, always

Once the starter fund exists, contribute to your 401(k) up to the full employer match. Nothing else on this list comes close.

A dollar-for-dollar match is a 100% instant return. A 50% match is a 50% instant return. No debt payoff and no market investment offers a guaranteed return anywhere near that. If your employer matches 100% up to 4% of a $75,000 salary, that's $3,000 a year of compensation you only receive if you contribute. Skipping it is declining part of your pay.

This is why the match outranks even high-interest credit card debt. Paying off a 24% card is an excellent guaranteed return, but a full match is still better, and the match has a deadline: miss a year and it's gone forever, while the debt can be attacked next month. We ran the long-term numbers in the employer match post; a modest match compounds into six figures over a career.

If you have no employer match, or no 401(k) at all, skip this rung entirely and move down the ladder.

Step 3: High-interest debt

With the match captured, kill any debt charging more than roughly 7%.

Paying off debt is a guaranteed, tax-free return equal to the interest rate. Stocks have historically returned around 7% after inflation over long periods, but that return is neither guaranteed nor smooth. When a credit card charges 24%, paying it down is a guaranteed 24% return. No investment beats that reliably.

The 7% threshold is a rule of thumb, not a law. It marks the zone where a guaranteed payoff beats the expected return of the market. Above it, pay the debt. Well below it (a 3% car loan, a 4% mortgage), invest instead, because your expected market return exceeds the guaranteed savings. Debt between 5% and 7% is a judgment call, and we'll come back to it in the deviations section.

Credit cards, payday loans, and most personal loans live above the line. Attack them hard before adding another investment dollar.

Step 4: The HSA, if you're eligible

If you're enrolled in a high-deductible health plan, the health savings account is the single most tax-advantaged account in the US code, which is why it sits above the IRA on this ladder.

The HSA is the only account with three tax breaks stacked: contributions are deductible, growth is untaxed, and withdrawals for medical expenses are tax-free. Every other retirement account makes you pick two. A 401(k) taxes you on the way out. A Roth taxes you on the way in. The HSA skips both, and contributions made through payroll also avoid FICA taxes, a benefit not even the 401(k) offers.

For 2026 the limits are $4,400 for self-only coverage and $8,750 for family coverage. The move that makes the HSA a retirement account rather than a spending account: invest the balance and pay current medical bills out of pocket when you can afford to. We walk through the full strategy, including the receipt-saving trick, in the HSA stealth retirement account post.

Not on a high-deductible plan? Skip this rung. Choosing a worse health plan just to get HSA access is a decision about expected medical costs first and taxes second.

Step 5: Roth or traditional IRA

Next, fund an IRA. For 2026 the limit is $7,500. An IRA sits above the rest of your 401(k) contributions for one reason: control. You choose the brokerage, so you can hold nearly anything at rock-bottom cost, while most 401(k) menus are limited and some carry funds charging ten times what an index fund should.

The Roth versus traditional choice comes down to your tax bracket now versus your expected bracket in retirement:

  • Roth contributions are taxed now and withdrawn tax-free later. This wins when your current bracket is low: early career, residency, a gap year, a startup salary.
  • Traditional contributions are deducted now and taxed at withdrawal. This wins when your current bracket is high and you expect to spend less, and therefore be taxed less, in retirement.

A useful shorthand: in the 12% federal bracket or below, Roth is close to a no-brainer. In the 32% bracket or above, traditional usually wins. In between, either is defensible, and Roth gets a slight edge for flexibility, since contributions (though not earnings) can be withdrawn anytime without penalty. Note that direct Roth contributions phase out above an annual income limit; high earners should look up the current threshold and the backdoor Roth process before contributing.

Step 6: Max out the 401(k)

Back to the 401(k), this time filling it to the annual employee limit, which is $24,500 for 2026.

Why does this rung rank below the IRA but above a taxable account? The tax deferral still matters. Every pre-tax dollar contributed avoids your marginal rate today and compounds untaxed for decades. The trade-off is the fund menu: if your plan's cheapest S&P 500 fund charges 0.8% a year, that drag is real, but it still rarely erases the value of the deduction plus decades of tax-deferred compounding. Many plans also offer a Roth 401(k) option, and the same bracket logic from step 5 applies.

If you're saving enough to reach this rung, you're putting away well over $30,000 a year across accounts. Most households never need to think past step 5.

Step 7: Taxable brokerage

Everything after the tax-advantaged accounts are full goes into a regular brokerage account. It has no contribution limit, no withdrawal age, and no penalties, and with index funds and long-term capital gains treatment it's reasonably tax-efficient on its own.

The taxable account is last only because it lacks the tax breaks above it, but for anyone targeting retirement before 59½, it's the bridge account that funds the gap years. Reaching this rung consistently is the mechanical definition of being on track.

Why the order is what it is

Two principles generate the whole ladder.

Guaranteed returns beat expected returns. The match (an instant 50 to 100%) and high-interest debt payoff (a guaranteed 20%+) outrank every market investment because the market's 7% is an average across good and bad decades, while those returns are certain.

Tax treatments stack, and some stack higher. The HSA gets three tax advantages, the 401(k) and IRA get two, and the taxable account gets one at best. When the underlying investment is identical, the account wrapper determines how much of the return you keep, so you fill the best wrappers first.

Where reasonable people deviate

The ladder is a default, and defaults have exceptions.

Moderate-rate debt. A 6% student loan sits in the gray zone. The spreadsheet says invest; the guaranteed 6% says pay it off. Either answer is fine. What matters more than the choice is that people who hate carrying debt often save more aggressively once it's gone, and behavior beats optimization over a 30-year horizon.

Saving for a house. A down payment you'll need within five years doesn't belong in the market at all. It's reasonable to pause steps 5 through 7, keep capturing the match, and pile cash into a high-yield savings account or Treasury bills until you've bought. What you shouldn't pause is step 2. The match is too valuable to give up for any savings goal.

Business owners. If you own a business, reinvesting in it can beat every rung below the match, because a dollar of reinvested profit can return far more than 7%. The honest check is whether the business is actually producing those returns or whether "reinvesting" has become a reason to never diversify. A solo 401(k) or SEP-IRA also replaces steps 2 and 6 with much higher combined limits.

No match, bad plan. With no match and a 401(k) full of expensive funds, it's reasonable to fund the IRA before touching the 401(k) at all.

The ladder also only works if you can see it. Once your dollars are spread across a 401(k), an HSA, an IRA, a brokerage account, and a debt balance, no single login shows you the whole picture. A monthly net worth check-in with a tracker like Steady Wealth makes it obvious which rung you're on and whether each one is actually filling.

Frequently asked questions

Should I fund my 401(k) or Roth IRA first?

Fund the 401(k) up to the full employer match first, because the match is an instant 50 to 100% return no IRA can offer. After the match is captured, the IRA usually comes next for its investment flexibility and lower costs. Only after maxing the IRA do you return to the 401(k) for contributions beyond the match.

Should I pay off debt before investing?

Depends on the rate. Debt above roughly 7% should be paid off before investing beyond the employer match, since the payoff is a guaranteed return the market can't reliably beat. Debt well below 5%, like most mortgages, can be paid on schedule while you invest. The zone between is a personal call.

Is the HSA really better than a Roth IRA?

For eligible expenses, yes. The HSA is the only account where contributions, growth, and withdrawals can all escape tax, and payroll contributions dodge FICA too. Its catch is that tax-free withdrawals require qualified medical expenses before age 65. Since nearly everyone accumulates substantial medical costs over a lifetime, the HSA earns its rung above the IRA for people on qualifying health plans.

What if I can't fill every step?

Almost nobody fills all seven. Work down in order and stop where the money runs out. A household that builds the starter fund, captures the match, and clears its credit cards has done the highest-value work on the entire list, even if it never contributes a dollar past step 3. Move down a rung when income grows.

Ready to see your full financial picture?

Try Pro free for 30 days. No bank login required. No credit card.

Create your free dashboard

Keep reading