Debt Payoff Comparison

Enter Balance of debt A, APR of debt A, Balance of debt B and APR of debt B to get Total interest, highest-rate first — or leave any field blank to solve for it.

The result is —

Inputs

Results

Total interest, highest-rate first ($) —

Fill in enough known values and the rest are solved automatically.

Quick answer: With Balance of debt A = 5,000 $, APR of debt A = 22 % and Balance of debt B = 9,000 $, Total interest, highest-rate first is 3,239 $.

How to use this calculator

  1. Enter Balance of debt A ($)。
  2. Enter APR of debt A (%)。
  3. Enter Balance of debt B ($)。
  4. Enter APR of debt B (%)。

Leave any field blank and the calculator solves for it from the remaining values — every quantity is reversible.

The calculator then returns: Total interest, highest-rate first。

What is it

Debt Payoff Comparison — Enter Balance of debt A, APR of debt A, Balance of debt B and APR of debt B to get Total interest, highest-rate first — or leave any field blank to solve for it. Loan and interest calculators model the relationship between principal, rate, term and payment, so you can judge the true cost of borrowing. The core question it answers is: Total interest, highest-rate first. With Balance of debt A = 5,000 $, APR of debt A = 22 % and Balance of debt B = 9,000 $, Total interest, highest-rate first is 3,239 $.

Formula

VariableInputsUnit
debtABalance of debt A$
rateAAPR of debt A%
debtBBalance of debt B$
rateBAPR of debt B%
totalInterestTotal interest, highest-rate first$
Total interest, highest-rate first(function () { var hi, hr, lo, lr; if (rateA >= rateB) { hi = debtA; hr = rateA; lo = debtB; lr = rateB; } else { hi = debtB; hr = rateB; lo = debtA; lr = rateA; } var pay = 400, interest = 0, m = 0; while ((hi > 0 || lo > 0) && m < 1200) { var i1 = hi * hr / 100 / 12, i2 = lo * lr / 100 / 12; interest += i1 + i2; hi = Math.max(0, hi + i1 - pay); if (hi === 0) lo = Math.max(0, lo + i2 - pay); m++; } return interest; })()

The relationship is solved in every direction, so any one unknown field can be derived.

Worked example

Using the default inputs:

Formula used: (function () { var hi, hr, lo, lr; if (rateA >= rateB) { hi = debtA; hr = rateA; lo = debtB; lr = rateB; } else { hi = debtB; hr = rateB; lo = debtA; lr = rateA; } var pay = 400, interest = 0, m = 0; while ((hi > 0 || lo > 0) && m < 1200) { var i1 = hi * hr / 100 / 12, i2 = lo * lr / 100 / 12; interest += i1 + i2; hi = Math.max(0, hi + i1 - pay); if (hi === 0) lo = Math.max(0, lo + i2 - pay); m++; } return interest; })()

Answer:

Example 1 (default inputs):Suppose Balance of debt A = 5,000 $, APR of debt A = 22 %, Balance of debt B = 9,000 $, APR of debt B = 12 %; then giving Total interest, highest-rate first = 3,239 $.

Example 2 (one input changed):If you change Balance of debt A to 7,500,giving Total interest, highest-rate first = 5,092 $.

Additional information

Assumptions and limitations

Back to category:Loan & Interest

FAQ

How accurate is this calculator?

The number is the exact solution of the standard formula for your inputs, with no error beyond rounding. How well it matches reality depends on the model's assumptions. Real loan contracts often add origination fees, insurance, prepayment penalties and variable-rate clauses. These calculators implement the standard amortisation formula and exclude such add-on costs.

Can I calculate it backwards?

Yes. This is a multi-directional calculator: fill in every field except one, and the blank one — whether Total interest, highest-rate first — is solved automatically.

When should I not use it?

using it as the sole basis for a decision, or for official filings, contract pricing and legal documents — those need a full model with your actual clauses and local rules.

What is Debt Payoff Comparison?

With Balance of debt A = 5,000 $, APR of debt A = 22 % and Balance of debt B = 9,000 $, Total interest, highest-rate first is 3,239 $.

How do I use the Debt Payoff Comparison?

Enter values for Balance of debt A, APR of debt A, Balance of debt B, APR of debt B; the tool instantly computes Total interest, highest-rate first.

When should I use the Debt Payoff Comparison?

Enter Balance of debt A, APR of debt A, Balance of debt B and APR of debt B to get Total interest, highest-rate first — or leave any field blank to solve for it. Use it whenever you need a quick estimate for planning or comparing options. Results are for reference only.