This post is from GRS staff writer April Dykman.

My husband and I are in the early stages of building a house. As we modify our floor plans, the amount we’ll need to borrow to build is on our minds. It’s probably going to be the most expensive thing we’ll ever purchase, and we need to decide what we want to borrow and what loan term we’ll want.

The main differences between 15- and 30-year loans are straightforward. Fifteen-year loans have higher monthly payments, but you pay less interest, while 30-year terms have lower monthly payments, but you pay significantly more for the house in the long run. As with most areas of personal finance, however, this decision is about more than just the math. There are other important considerations, such as retirement savings, risk tolerance, and discipline.

First, let’s take a look at the hard figures.

Crunching the numbers
Let’s say that a 30-year-old borrower is buying a house for \$160,000, and her marginal tax rate is 25 percent. At the time this article was written, 30-year loans were at 5 percent and 15-year loans were at 4.5 percent.

Using Calculators4Mortgages’ amortization schedule calculator, we’ll compare the two mortgage terms by plugging in the mortgage amount and the 15- and 30-year interest rate.

• A 30-year term would give a monthly payment of \$859 (payment does not include taxes and insurance, which vary by locale). The borrower would pay \$149,211 in interest, and \$309,211 over the life of the loan.
• A 15-year term would give a monthly payment of \$1224. She’d pay \$60,318 in interest, and \$220,318 over the life of the loan.

The 30-year term lowers the monthly payment by \$365 and will save the borrower \$238 per year in taxes, but will cost \$88,893 more in interest over the life of the loan, and she will own her home when she is 60 years old. The benefits of the 15-year term are the substantial savings in interest and the fact that she will own her home by the time she’s 45. The drawback is that her monthly payment will be higher.

The wiggle-room option
But what about the option of taking a 30-year term and paying it off in 15 years? A 30-year term paid in 15 years would yield a monthly payment of \$1265. The borrower would pay \$67,749 in interest, and \$227,749 over the life of the loan. She’ll own her home at age 45, assuming she makes the extra payment each month. But if she fell on hard times, she wouldn’t be locked into the higher payment.

Here’s a comparison of each option:

It’s easy to see that the borrower will pay less for her home with the 15-year loan. But mortgages aren’t one-size-fits-all. There are other factors to consider when deciding what is right for you.

What can you afford?
In our example, the 30-year term works out to a monthly payment of \$365 less than the 15-year term. If you couldn’t comfortably make the payment on the 15-year term, the 30-year term is the better option. You can always make extra payments when possible.

What is the state of your emergency fund?
Once you sign the loan, you’ll be expected to make the same payment each month. If you take a 15-year term with a higher payment, you should have a substantial savings account in place to mitigate the risk from major unexpected expenses or job loss.

If you don’t have much of an emergency fund, you’re better off with a 30-year term, using the extra money to build your savings.

Will you be able to meet your retirement and other savings goals?
If you’re leaning toward a 15-year term, be sure that you can still max out your retirement accounts and meet your other savings goals. If you can’t, stick with the 30-year term.

If retirement is still decades away, you are in a position to invest more aggressively. You should be able to ride out the volatility of relatively aggressive investments.

If retirement is less than 15 years away, it might be a better to pay off the mortgage early for security and peace of mind.

How do you feel about debt? What is your tolerance for risk?
Many people are strongly averse to debt of any kind — and with good reason. Dave Ramsey is firmly in this camp, saying:

Don’t borrow money. Period. If I can’t get you to postpone the purchase that long, I strongly suggest you save a down payment of 20 percent or more, choose a 15-year (or less) fixed-rate mortgage, and limit your monthly payment to 25 percent or less of your monthly take-home pay.

Managing debt isn’t easy, and for many people, Ramsey’s hardcore anti-debt stance is the way to go.

But others are in a different place in the financial journey, and are comfortable carrying mortgage debt if the borrowed funds can earn a higher rate of return somewhere else. Risk-adjusted returns need to be factored, but essentially, if you opted for the 30-year term at 5 percent, it’s reasonable to think you can earn a higher return with a portfolio of index funds. Account for the tax deductions, and the 5 percent is even lower.

While it’s certainly possible to earn a higher return elsewhere, it comes down to your appetite for risk. You might get a better return by going with the 30-year term, but putting the money toward the mortgage is risk-free. Also, you have to decide if the extra money you might gain by investing elsewhere is more important to you that the peace of mind that comes with owning your home outright.

Personal discipline
If you can afford the payments on a 15-year loan, but you’re concerned about the possibility of job loss or other major financial hits, you might be hesitant to commit to the higher payments. Another option is to take a 30-year term and pay it off in 15 years. You’ll pay slightly more in interest than with the 15-year interest rate, but still significantly less than with the 30-year loan.

The drawback is that most people lack the discipline. According to the Federal Deposit Insurance Corporation (FDIC), 97.3 percent of people do not consistently pay extra on their mortgages. Many people lack the discipline to send in the extra money every month when it’s not mandated by the bank. What this statistic doesn’t mention is how many of the 97 percent would have fallen behind on their mortgages if they were locked into a 15-year mortgage.

If you are already saving regularly and have only tapped your emergency fund for major unexpected expenses, however, you might have the discipline to pay your mortgage off in 15 years. But consumers who spend any monthly savings are better off with the shorter term, if they can afford it.