Calculator
Use 0% for credit cards and auto loans (interest not deductible). Use your marginal rate only for deductible interest (mortgage, qualified business debt).
Weighted APR = (balance₁ × rate₁ + balance₂ × rate₂ + …) ÷ total balance. Example: $10k at 24% + $20k at 6% = (2400 + 1200) ÷ 30000 = 12% blended.
Annual Interest Cost
$2,660
Debt Cost Analysis
Carrying $28,000 at 9.5% APR burns $2,660 a year — the after-tax cost of 7.22% beats any safe investment return, so repaying this debt is the best guaranteed 'investment' available to you. At minimum-payment pace it survives ~3.3 years and costs $4,636.84 in total interest.
*Estimates assume a fixed balance, constant blended APR, and minimum payments of the chosen percentage. Real rates, promotional APRs, and payment floors vary by lender. Educational only, not financial advice.
Most Americans know their monthly payment but not the price of their debt — and the difference matters enormously for investing. The Federal Reserve reports US household debt above $18 trillion, and every dollar servicing that debt is a dollar not compounding in a 401(k) or Roth IRA. Yet not all debt is created equal: a 6.75% mortgage with a mortgage interest deduction is a different animal from a 24% credit card with no deduction at all, and treating them the same leads to terrible prioritization. The concept that professional money managers use is the after-tax cost of debt. If interest is tax-deductible, the government effectively pays part of your interest bill, so a 6% deductible loan really costs about 4.5% after the tax shield. Compare that cost against what your money could earn invested — historically 7–10% in equities — and you get a rational rule for whether to repay or invest. This calculator turns a pile of debts into one honest annual price tag, so you can see exactly which debts are emergencies, which are annoyances, and which are arguably the cheapest money you will ever borrow.
First, the blended APR: when you hold several debts, the true portfolio rate is each balance multiplied by its rate, summed, and divided by total debt — a balance-weighted average, not a simple average. A $400,000 mortgage at 6.75% plus $10,000 of cards at 24% blends to about 7.2%, not 15.4%, because the mortgage dominates the weighting. The cost engine then runs three lines. Annual interest cost equals total balance times blended APR. The after-tax cost applies the interest deductibility shield: after-tax rate = APR × (1 − marginal tax rate), which is why the slider should sit at 0% for cards and autos (non-deductible) and at your bracket rate only for mortgage or qualified business interest. The real cost subtracts inflation (~2.5%), showing how much of your debt is evaporating in cheaper future dollars. Finally the tool runs a minimum-payment simulation — your chosen percentage of the balance each month — looping interest and principal until zero to produce the payoff horizon and lifetime interest. That number is the cost of passivity: what the debt costs if you never do anything different.
Repaying debt is an investment whose return is the after-tax rate you avoid. A 24% card with no deduction is a guaranteed 24% return — nothing in the market matches it, so kill it first. A 6.75% mortgage at a 24% marginal rate costs only about 5.1% after the shield — close to bond yields, and historically below stock returns. That is the entire pay-debt-vs-invest debate, compressed into one number.
Rank every debt by after-tax rate. Above roughly 7%: attack aggressively, because repayment beats markets. Between 4% and 7%: judgment zone — minimum payments plus investing is defensible. Below 4%: keep the cheap money and invest the difference. This ranking is why avalanche-method payoffs outperform gut feelings, and why prepaying a 3% pandemic-era mortgage while carrying a $5,000 card balance at 24% is mathematically backwards.
Inflation quietly pays fixed-rate borrowers. If your mortgage is 5% and inflation runs 3%, your real interest cost is about 2% — while your income grows in nominal dollars. In high-inflation episodes, long-duration fixed-rate debt becomes one of the best assets a household can hold. This is why refinancing a 3% fixed mortgage to save 0.5% is rarely worth the closing costs, and why paying it off early is a luxury decision, not a financial one.
List each debt's balance and APR, multiply and sum, divide by the total. Update it quarterly as balances change. The blended number reframes every question — 'should we take this loan?', 'should we refinance?', 'extra payment or invest?' — into a comparison between two rates instead of an emotional debate. Most people discover their true cost of debt differs from their gut estimate by several points.
Only mortgage interest (on acquisition debt up to $750,000, itemized) and qualified business or investment interest are deductible — and only if you itemize; most taxpayers now take the standard deduction, which zeroes out even mortgage interest's shield. If you do not itemize, run all debts at 0% deductibility. Overstating the tax shield makes expensive debt look cheaper than it is.
Take your blended rate, or better each debt's individual rate, and compare to what your money could realistically earn: about 4–5% in a high-yield savings account, 7–10% long run in equities. Any debt costing more than your target investment return is a guaranteed-return opportunity. Redirect one monthly payment from the cheapest debt's minimum to the most expensive — same total outlay, faster net-worth growth.
Priya was prepaying her 3.1% pandemic-era mortgage with $600 extra monthly, feeling virtuous. Then she ran her blended cost of debt and saw the after-tax, after-inflation real cost was under 1%. She redirected the $600 into her 401(k), where employer matching instantly turned it into a 50% return. 'I was earning 3% guaranteed to avoid earning 8% probably,' she said. The cheapest money she had ever borrowed was the last place she should have been sending surplus cash.
Marcus believed his debt cost him about 8% — but his blend included three cards at 24–27% that averaged up the mortgage. The weighted calculation showed his card segment alone cost $5,900 a year with zero deductibility. He paused investment contributions above the 401(k) match for eleven months, cleared both cards, and freed that $5,900 annually as a permanent raise for his Roth IRA. The blended number he imagined had been hiding the emergency in the average.
With a $350,000 mortgage at 7.2% and investable cash sitting in a money-market fund earning 5%, the Hendersons faced the classic decision. Their cost-of-debt math showed the after-tax cost at 5.5% once itemized deductions were applied, and the market's long-run expected return above 7%. They refinanced to 5.9%, kept the payments manageable, and invested the difference. The tool did not give them a moral answer — it gave them the rate, which is what the decision was made of.
Everything you need to know about this topic.

Financial Chaos Analyst
Ivy Sinclair-Wren is a Financial Chaos Analyst covering investing, AI, wealth psychology, and the emotional consequences of opening finance apps during market crashes. Based in Melbourne, she specializes in demystifying the US tax code and helping users navigate the intersection of spreadsheet logic and human irrationality.