True Cost of Debt Calculator
Full cost of a loan including interest, fees, and opportunity cost
Calculate true cost of a loan including interest, fees, and opportunity cost of monthly payments. Enter loan principal and interest rate for an instant result.
What this tool does
Enter loan principal, annual rate, term in months, origination/other fees, and an opportunity cost rate. The calculator returns true total cost (interest + fees + opportunity cost foregone), total interest, fees, and total paid to lender.
Enter Values
Formula Used
Spotted something off?
Calculations, display, or translation — let us know.
Disclaimer
Results are estimates for educational purposes only. They do not constitute financial advice. Consult a qualified professional before making financial decisions.
Why Interest Alone Understates the Real Cost
Most loan calculators show interest over the term. That is not the full cost. Every dollar paid in monthly loan payments is a dollar not available for investing or saving — money that would have grown at your opportunity cost rate had you not been servicing the loan. For a 30-year mortgage borrower making 1,500 monthly payments, the money invested at a 7% return over the same 30 years would have grown to approximately 1.8 million. That is the opportunity cost of the loan — what the borrower gave up to have the money earlier.
The Three Cost Layers
Interest — direct cost paid to the lender, straightforward and usually visible. Fees — origination, closing costs, annual fees, and any other lender charges. Often between 1-5% of loan amount, sometimes hidden in monthly payment if the lender capitalizes them into principal. Opportunity cost — the investment returns foregone by using the payment money to service the loan instead of investing it. This layer is usually invisible but can dwarf the other two over long terms.
How Opportunity Cost Is Calculated
The calculator treats the monthly payment as if it were invested each month at the opportunity cost rate for the loan's duration. A 1,500 monthly payment over 30 years at 7% annual return would accumulate to approximately 1.83 million. Total paid to the lender on that same loan might be 540,000. The difference — 1.29 million — is what was sacrificed by borrowing instead of investing. Opportunity cost is highest for long-term loans at low rates relative to investment returns.
When to Use This Calculation
Deciding whether to take a loan at all — low-rate financing often looks attractive, but opportunity cost reveals its real burden. Should you pay cash for a car or finance — factor opportunity cost of having the cash tied up vs. servicing debt. Should you pay down a 4% mortgage early or invest the extra — if investment return exceeds 4%, investing wins strictly on the math, though opportunity cost of tying up money in a house has its own consideration. These decisions become clearer when all three cost layers are visible.
Worked Example
200,000 mortgage, 6% APR, 360 months, 3,000 fees, 7% opportunity cost. Monthly payment: 1,199. Total interest: 231,677. Fees: 3,000. Opportunity cost: calculated by investing the 1,199 monthly for 360 months at 7% and subtracting total paid to lender. The opportunity cost term typically exceeds the interest term on 30-year mortgages because the opportunity rate (7%) exceeds the mortgage rate (6%). True total cost combines all three.
Opportunity Cost Is Not Always the Right Framing
It requires that you would actually invest the payment money if you did not borrow. Most people would not — they would spend more on something else. In that case, opportunity cost is theoretical rather than real. Also, you need the return assumption to hold. A 7% opportunity cost rate assumes 30 years of 7% returns; real outcomes vary. This tool shows the math; whether to weight it heavily in decisions depends on your behavioural realities and comfort with the return assumption.
True total cost of a $200,000 loan over 360 months months is approx $1.65M.
Inputs
This example uses typical values for illustration. Adjust the inputs above to match a specific situation and see how the result changes.
Sources & Methodology
Methodology
Monthly payment via standard amortisation. Total interest is payments minus principal. Opportunity cost treats monthly payment as if invested at opportunity rate for the loan duration. True cost sums interest, fees, and opportunity cost. Results are estimates for illustration purposes only.
Frequently Asked Questions
Is opportunity cost always realistic?
What opportunity rate should I use?
How does this change the decision to pay off a loan early?
Does this work for business loans?
Related Calculators
More Debt Calculators
Debt
Amortisation Schedule Calculator
Calculate year-by-year amortisation breakdown showing principal vs interest portions. Enter loan amount to see interest paid in first year vs principal.
Debt
Annual Cost of Credit Calculator
Calculate total annual interest cost across all your debt balances and rates. Enter credit card balance and credit card apr for an instant result.
Debt
APR vs Flat Rate Comparison Calculator
Convert flat rate loan quote to APR equivalent. See the true effective interest rate vs the quoted flat rate. Enter loan amount and see the result instantly.
Debt
Auto Loan Comparison Calculator
Compare two auto loan offers by monthly payment and total interest to find the cheaper option. Enter loan 1 amount and see the result instantly.
Debt
Auto Loan Lifetime Cost Calculator
Calculate total lifetime auto-loan cost across several cars and loan terms. Enter typical loan amount to see total principal + interest across the vehicles.
Debt
Auto Loan Payoff Calculator
Calculate auto loan payoff timeline with optional extra payments. See interest saved and total paid. Enter loan amount and interest rate for an instant result.
Explore Other Financial Tools
Lifestyle
Transit Pass Break-Even Calculator
Calculate if a monthly transit pass saves money at a given ride frequency. See break-even rides and annual savings. Free and runs in your browser.
Lifestyle
Egg Freezing Cost Calculator
Calculate total egg freezing costs including procedure, medication, storage, and potential future IVF. Enter procedure cost and see the result instantly.
Planning
Multi-Generational Wealth Calculator
Project wealth across three generations with compound growth. Shows the power of long-horizon compounding. Enter starting wealth and see the result instantly.