Skip to main content
TaxMath

Loan comparison calculator

Two or three loan offers side by side: the payment, total interest, fees, the full cost of borrowing and the annual percentage rate of each.

Loan A
Origination fees and points.
Loan B
Origination fees and points.
Loan C
Origination fees and points.
Costs the least to borrowLoan A
Loan A monthly payment
$592.62
Loan B monthly payment
$578.59
Loan A costs this much more than loan B
−$58.08
The loans side by side
ScenarioMonthly paymentTotal interestFeesCost of borrowingAPRPaid off in
Loan A$592.62$5,557.34$0$5,557.346.900%5 years
Loan B$578.59$4,715.42$900$5,615.427.173%5 years
  • Assumed. Each loan is paid as scheduled, with no extra principal. A negative gap means loan A costs less than loan B.
  • Assumed. The cost of borrowing is interest plus fees over each loan’s full term. Loans of different lengths can be cheaper per month and dearer in all; the APR puts fees and rate on one footing, not term.

How it works

Each loan is amortized month by month: the level payment that retires it over its term, each month’s interest on the balance rounded to the cent and the last payment clearing what is left.

The annual percentage rate is the Regulation Z Appendix J actuarial rate at which the payments repay the amount borrowed less the fees paid to get it. The rows keep their order and are not ranked.

Nothing you enter leaves your browser, and nothing is stored. The same calculator is available to AI agents as the tool calc_loan_comparison, in the page through WebMCP and at https://taxmath.org/mcp.

Sources

Put this calculator on your site

Paste this where the calculator should appear. Our script draws the calculator above the credit line, which is a plain link in your page. It is free, needs no signup and keeps nothing your readers type. Please keep the credit line. The embed page lists the options it takes.

<!-- TaxMath loan comparison calculator -->
<div class="taxmath-embed" data-taxmath-calc="loan-comparison" data-taxmath-title="Loan comparison calculator" style="max-width:680px;margin:1.5rem auto">
  <p style="font:400 13px/1.4 system-ui,sans-serif;color:#4b4b5a;margin:.5rem 0 0">
    <a href="https://taxmath.org/calculators/loan-comparison/?utm_source=embed&amp;utm_medium=referral&amp;utm_campaign=calculator-widget">Loan comparison calculator</a> by <a href="https://taxmath.org/?utm_source=embed&amp;utm_medium=referral&amp;utm_campaign=calculator-widget">TaxMath</a>
  </p>
</div>
<script src="https://taxmath.org/embed.js" async></script>
Your site strips scripts? Use the iframe version
<!-- TaxMath loan comparison calculator -->
<div class="taxmath-embed" style="max-width:680px;margin:1.5rem auto">
  <iframe src="https://taxmath.org/embed/v3/loan-comparison/"
          title="TaxMath — Loan comparison calculator"
          width="100%" height="640" loading="lazy"
          style="width:100%;border:1px solid #d8dae6;border-radius:4px"></iframe>
  <p style="font:400 13px/1.4 system-ui,sans-serif;color:#4b4b5a;margin:.5rem 0 0">
    <a href="https://taxmath.org/calculators/loan-comparison/?utm_source=embed&amp;utm_medium=referral&amp;utm_campaign=calculator-widget">Loan comparison calculator</a> by <a href="https://taxmath.org/?utm_source=embed&amp;utm_medium=referral&amp;utm_campaign=calculator-widget">TaxMath</a>
  </p>
</div>
<script src="https://taxmath.org/embed.js" async></script>

Go further