Where Should Your Next Dollar Go? The Order of Operations for Extra Money

You have some money left over this month. Maybe it is a steady $300, maybe a one-time $5,000. The question is easy to ask and surprisingly hard to answer: where should it go first? Pay down the credit card? Add to the 401(k)? Start investing? Build up savings?

It is hard because every option pays a different return, and some of those returns are much larger, and much more certain, than others. Put the same dollar in the wrong place and you can leave hundreds or thousands of dollars behind without ever seeing the mistake. So the goal is not to pick one thing. It is to send each dollar to the place that pays the most, fill that up, then move to the next. That ranked list is the “order of operations.”

The priority order, and what each one pays

Roughly speaking, the order follows the return: the highest, most certain payoffs come first. These are the approximate after-tax returns, from the Bogleheads wiki.

After-tax return on each priority
Employer 401(k) match 50–100% High-interest debt (cards) 10–30% HSA 8–10% IRA / rest of 401(k) ~8% Medium-interest debt 6–9% Taxable investing 5–7% Low-interest debt (mortgage) 2–5%
The starter emergency fund sits above these; it is a cash buffer, not a return.
  1. A starter emergency fund. About one month of expenses to begin, grown toward 3 to 12 months later. This is the buffer that keeps a flat tire or a medical bill off the credit card.
  2. Your full employer 401(k) match. Return: 50 to 100 percent, immediately. If your employer matches your contributions, this is the highest, most certain return on the whole list. Not taking it is like letting your employer keep part of your salary.
  3. High-interest debt, such as credit cards. Return: about 10 to 30 percent, guaranteed. Paying off a 23 percent card is a guaranteed 23 percent, tax-free. No investment reliably beats that.
  4. A Health Savings Account, if you have a high-deductible health plan. Return: about 8 to 10 percent. The HSA is taxed less than anything else: the money goes in before tax, grows tax-free, and comes out tax-free for medical care. Contributed through your paycheck, it also avoids Social Security and Medicare tax.
  5. The rest of your tax-advantaged retirement accounts (IRA, then the remainder of the 401(k)). Return: about 8 percent. These have annual limits that are gone if you do not use them that year.
  6. Medium-interest debt, such as student and car loans. Return: about 6 to 9 percent.
  7. A 529 college plan, if it applies, once your own retirement is on track. Return: about 8 percent for education. You can borrow for college but not for retirement.
  8. A regular taxable brokerage account. Return: about 5 to 7 percent.
  9. Low-interest debt, such as a mortgage. Return: about 2 to 5 percent. This sits last on purpose: paying off cheap debt is fine, but it is a lower priority than almost everything above it.

The tax-advantaged priorities sit above a taxable account for one reason: the tax benefit, and it is already in the returns above, which are after-tax. Here is that benefit as the same $10,000 grows over 30 years.

The same $10,000 over 30 years: tax-advantaged 8% vs. taxable 6%
$101k advantaged $57k taxable NowYr 15Yr 30
The gap is the tax benefit, compounding. The taxable line is already after tax; the advantaged accounts avoid that yearly drag.

But an investment compounds for years. Doesn’t that change it?

It is the natural objection, and the answer is that the debt compounds too. A balance you do not pay does not sit still at 23 percent, it grows at 23 percent year after year, the same way an investment grows at its rate. So the honest comparison is not a one-time 23 percent against years of investment growth. It is 23 percent compounding against about 7 percent compounding, and the higher rate wins at every horizon.

Put $100 against each:

AfterLeft on a 23% cardInvested at 7%
1 year$123$107
2 years$151$114
3 years$186$123
$100, compounding: a 23% card vs. a 7% investment
$186 debt $123 invest NowYr 1Yr 2Yr 3
Both compound. The debt just compounds faster, and it is certain, while the 7 percent is only hoped for and is taxed in a regular brokerage account.

There is also no lost runway. High-interest balances are usually small and clear in about a year, and the moment the card is gone the same money flows into investments. Paying the card first does not cost you years of compounding; investing first just means those early years compound at a net loss, about 7 percent earned against 23 percent owed.

One example, worked

Take a representative example (illustrative, not a real person). Call the person Sam. Sam earns $70,000, keeps about $2,000 in savings, and has $500 a month left over. Sam’s employer matches 100 percent of the first 5 percent of pay, but Sam only contributes 3 percent. Sam also carries $4,000 on a credit card at 23 percent, and is enrolled in a high-deductible health plan with an HSA available.

Sam’s $500 this month, in order
$117 capture the match $383 clear the 23% card
Once the card is gone, the $383 moves to the HSA, then an IRA and the rest of the 401(k).

Now the common version of the same story. Sam opens a brokerage app and puts the $500 into an index fund, feeling productive. That skips the 100 percent match and pays the 23 percent card the slow way. Same $500, very different result, purely from order.

Sam’s first year: the match dwarfs the fund gain
Free match captured $1,400 Index-fund gain (~7%) $420
The $1,400 match is certain; the fund gain is only hoped for. Following the order also clears the 23 percent card, which investing first does not.

The three places people get it wrong

  1. Skipping or underfunding the match. It is the highest-return, most certain money on the list. If your budget covers only one priority, make it this one.
  2. Hoarding cash long past a sensible emergency fund. A starter fund of about a month, growing toward 3 to 12 months over time, is the guidance. Cash beyond that earns far less than the next priorities.
  3. Under-ranking the HSA. For people with a high-deductible plan, the HSA sits above ordinary retirement contributions because it is taxed the least of any account. It is easy to miss because it is labeled “health,” not “retirement.”

Put your own numbers to it

The What to fund first calculator walks your next dollar down these priorities and shows the return on each. From there:

How this is sourced

Each step's rule and priority trace to the primary sources below, quoted and verified word for word. The return figures are illustrative approximations that follow the widely used Bogleheads “Prioritizing investments” framework, which notes the list is “not cast in stone” and should be read flexibly. Personal circumstances can reasonably change the order: a pension, a very low or very high tax bracket, unstable income, or a student loan that may be forgiven can each move a priority up or down.

Sources

Grounded in authoritative primary sources:

This is educational, not personalized financial advice. For your specific situation, talk to a licensed professional.