You have $300 extra a month. Do you send it to the mortgage, or invest it? The answer is maths plus temperament, and the maths is easier than it looks.

This page works the same example both ways, so you can see the trade-off in dollars. The loan is $400,000 at 6.5% over 30 years, with a principal-and-interest payment of $2,528.27 a month.

What extra payments actually do

Paying $300 extra a month on that loan saves $149,581.33 of interest and pays the loan off 91 months early, about 7.6 years. The total interest falls from $510,177.95 to $360,596.62.

That saving is a guaranteed return. Every extra dollar pays down a loan charging 6.5%, so it saves 6.5% of interest a year on that dollar.

There is a second benefit people forget. Once the loan is paid off 7.6 years early, the $2,528.27 monthly payment is free — and so is the $300 extra you were paying. Investing that $2,828.27 a month for the remaining 91 months at an assumed 7% grows to $338,290.98.

What investing the same money does

Investing $300 a month at an assumed 7% annual return grows to $365,991.30 after 30 years. The contributions total $108,000, so the growth is $257,991.30.

That figure is larger than the $149,581.33 of interest saved. But the 7% is an assumption, not a promise, and the money would also face tax on the way out.

Same $300 a month, two different resultsInterest saved (extra payments)$149,581Invested at 7% (30 years)$365,991Freed payment invested (91 mo)$338,291Investing looks larger, but 7% is an assumption, not a promise.Extra payments are a guaranteed 6.5% return, the rate avoided.

The comparison is not quite apples to apples. The investing figure runs for the full 30 years, while the extra payments stop once the loan is gone.

The honest way to compare them is to count the freed payment too. The extra-payment path saves $149,581.33 and then frees $2,828.27 a month for 91 months — the $2,528.27 payment plus the $300 extra — which grows to $338,290.98 if invested at 7%.

The decision framework

Ask three questions. First, what is your mortgage rate? A high rate makes extra payments more attractive, because the guaranteed saving is larger.

At 6.5%, extra payments are a guaranteed 6.5% return, which is hard to beat with certainty. At 3%, the guaranteed saving is far smaller, and investing looks better.

Second, do you have an emergency fund and high-rate debt handled? If not, those come first. Extra mortgage payments and investing both lose to a credit card charging 25%.

Third, how do you feel about debt? Some people sleep better with no mortgage, and that peace of mind is worth real money. Others are comfortable carrying a mortgage and investing the difference.

When paying early wins

Paying early wins when the rate is high, when you are close to retirement and want the payment gone, or when you value certainty over the chance of a higher return.

It also wins when the loan has private mortgage insurance. Extra payments build equity faster, and reaching 20% equity is what removes that insurance cost.

Use the extra payment calculator to see how much your own extra payment saves and how many months it cuts.

When investing wins

Investing wins when the rate is low, when you have decades until retirement, and when you are comfortable with market ups and downs. Time is what makes investing work, and a 30-year horizon is a lot of time.

It also wins when you have not used tax-advantaged accounts yet. A 401(k) match is free money, and it beats any mortgage decision on this page.

Use the compound interest calculator to see what your monthly amount grows to at different rates and time horizons.

The split answer

Most people should do both. Split the extra money, for example $150 to the mortgage and $150 to investing.

You get the guaranteed saving and the market growth, and neither choice has to be all or nothing. Revisit the split once a year, or whenever your rate or income changes.

Whichever you choose, automate it. A $300 transfer that happens on payday beats a $300 decision you have to make every month.