Deciding where to put extra money gets explained everywhere and calculated almost nowhere. Put your own rates in and see what each destination for that extra money returns, ranked, with the working shown for every line so you can check it rather than trust it.
The idea is simple: money has a best mathematical destination, and it is not always the one that feels most urgent. A dollar that captures an employer match returns more than a dollar that pays off a mortgage, and a dollar that clears a 24% credit card returns more than a dollar invested at an expected 7%.
What almost nobody does is put their own numbers into it. The framework gets explained; the arithmetic gets left as an exercise. This page does the arithmetic, using your rates, and shows the working for each line so you can check it rather than trust it.
Employer match. Treated as an immediate return equal to the match rate. A 50% match is a 50% return the moment the money lands, before any market movement. Nothing else on this list competes with that, which is why it sorts first whenever it is unused.
Paying off a debt. The return is the interest rate you stop paying. Clearing a 22% card removes 22% a year you were being charged. That is a cost avoided rather than a return received, and the distinction matters: nothing is earned, you simply stop losing it. What makes it strong is that the saving arrives whatever the market does. Debt interest is generally not tax deductible for personal borrowing, so no tax adjustment is applied.
Paying down a mortgage. Same idea: interest you stop being charged rather than money earned. And it is only fixed at the rate you have now, because a variable loan moves and a fixed period ends. Where mortgage interest is deductible the effective rate is lower, which is why the tax rate is an input rather than an assumption.
Investing. The expected return you entered, reduced for tax on the growth. This is the one row that is a return in the ordinary sense: money you might receive. It is an average across outcomes, some considerably worse, and the arithmetic here cannot capture that spread.
An emergency fund. Has no return in this sense at all, which is exactly why it sits outside the ranking. Its value is that it stops a surprise becoming a new high-interest debt, and that is not something a percentage describes.
The maths ranks by expected return. It does not know several things that reasonably change what a person does.
Avoiding a cost is not the same as earning a return. Stopping 6% of mortgage interest is money you keep whatever happens. An expected 7% is an average you might or might not get. Ranking them on one list makes them look like the same kind of number, and they are not.
Sequence matters near retirement. The same average return produces very different outcomes depending on when the bad years fall. A straight-line calculation cannot see that.
Momentum is real. Clearing a small debt first is mathematically worse and behaviourally better for a lot of people, which is the whole snowball-versus-avalanche argument. Our debt payoff planner runs both so you can see the actual cost of choosing the motivating option.
It ranks by return, not by deadline. A house deposit needed in two years does not care that clearing a card returns more, because the deposit has a date and the card does not. Where goals compete for the same money on different timescales, the multiple goals calculator shows what funding one costs the others.
And your situation is yours. This page states no view on what you should do with your money, because it does not know anything about you beyond the numbers you typed.
This is a model, not a prediction. It works out the mathematical return of each destination using the rates you entered, and ranks them. It cannot predict investment returns, interest rate movements or your own circumstances, and it does not account for risk, certainty or timing. It is not intended to be your only source of information when making a financial decision, and you may want to consider advice from a licensed financial adviser. Every assumption above is yours to change: the defaults are a 7% expected return, a 30% marginal rate and a 6% mortgage rate, chosen as round mid-range figures rather than a forecast, and they are not a view on what any of these will be.