Audit: Complete
Formula (LaTeX) + variables + units
This section shows the formulas used by the calculator engine, plus variable definitions and units.
Formula (extracted text)
For a given debt \(i\) with monthly rate \(r_i = \frac{\text{APR}_i}{12}\) and balance \(B_{i,t}\): Monthly interest: \(I_{i,t} = B_{i,t}\, r_i\) Principal reduction: \(P_{i,t} = \max(0,\ \text{payment}_{i,t} - I_{i,t})\) Next balance: \(B_{i,t+1} = \max(0,\ B_{i,t} + I_{i,t} - \text{payment}_{i,t})\) Strategy order each month: Avalanche: sort debts by \( \text{APR}_i \) descending. Snowball: sort by \( B_{i,t} \) ascending.
Variables and units
  • P = principal (loan amount) (currency)
  • r = periodic interest rate (annual rate ÷ payments per year) (1)
  • n = total number of payments (years × payments per year) (count)
  • M = periodic payment for principal + interest (currency)
Sources (authoritative):
Changelog
Version: 0.1.0-draft
Last code update: 2026-01-19
0.1.0-draft · 2026-01-19
  • Initial audit spec draft generated from HTML extraction (review required).
  • Verify formulas match the calculator engine and convert any text-only formulas to LaTeX.
  • Confirm sources are authoritative and relevant to the calculator methodology.
Verified by Ugo Candido on 2026-01-19
Profile · LinkedIn