Audit: Complete
Formula (LaTeX) + variables + units
This section shows the formulas used by the calculator engine, plus variable definitions and units.
Formula (extracted LaTeX)
\[{budget}) is below total minimums (\]
{budget}) is below total minimums (
Formula (extracted text)
For each debt \( i \) with balance \( B_i \), APR \( r_i \), and minimum \( m_i \): Monthly rate: \( r_{m,i} = \frac{r_i}{12} \). Monthly interest: \( I_i(t) = B_i(t)\cdot r_{m,i} \). Payment allocation (per month \( t \)): 1) Pay all minimums: \( P_{\text{mins}}(t) = \sum_i m_i \). 2) Extra budget: \( X(t) = \max\{0, \text{Budget} + \mathbf{1}_{t=1}\cdot \text{OneTimeExtra} - P_{\text{mins}}(t)\} \). 3) Apply \( X(t) \) to the current target debt (Snowball: smallest \( B \); Avalanche: highest \( r \); Custom: user order). Balance update: \( B_i(t+1) = \max\{0,\, B_i(t) + I_i(t) - P_i(t)\} \). When \( B_k(t) \to 0 \), its minimum \( m_k \) rolls over to the next target.
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