PUBLIC CALCULATION CHECKS / DEBT MODEL
Check the arithmetic.
Understand the scope.
Inspect hand-solvable cases, compare the running debt engine with a separate formula reference, and see how the break-even rate is checked.
THIS RUN
All 44 checks passed.
44 of 44 checks passed when this page was generated. The checks use the debt comparison engine currently installed on this site.
for each monetary comparison
01 / START WITH CHECKABLE RESULTS
Four examples with visible expected answers.
Each example runs all three strategies. Required payments and extra cash continue as one equal budget for the entire year, including after the debt is cleared. The expected values below are computed separately from the monthly engine.
| Example and inputs | Expected, each strategy | Debt first, actual | Invest first, actual | 50/50, actual | Status |
|---|---|---|---|---|---|
| Equal cash budget, zero ratesDebt $1,000 · 0.0% nominal debt rate · required $100 + extra $100/month · 0.00% effective annual investment return | $1,400.00 | $1,400.00 | $1,400.00 | $1,400.00 | Pass |
| Cap the last payment and invest the remainderDebt $50 · 0.0% nominal debt rate · required $100 + extra $100/month · 0.00% effective annual investment return | $2,350.00 | $2,350.00 | $2,350.00 | $2,350.00 | Pass |
| Subtract debt still outstandingDebt $1,000 · 0.0% nominal debt rate · required $10 + extra $10/month · 0.00% effective annual investment return | $-760.00 | $-760.00 | $-760.00 | $-760.00 | Pass |
| Month-end contributions with investment growthDebt $50 · 0.0% nominal debt rate · required $100 + extra $100/month · 12.68% effective annual investment return | $2,480.69 | $2,480.69 | $2,480.69 | $2,480.69 | Pass |
1. Equal budget at zero rates.
A $1,000 debt and a $200 monthly budget leave $1,400 after twelve months: 12 × $200 − $1,000. Debt first, invest first, and a split must reach the same ending position when neither balance accrues interest.
2. The final payment cannot exceed the debt.
A $50 debt consumes only $50 of the first $200 budget. The remaining $150 is invested, followed by eleven $200 contributions. With no interest, that leaves $2,350.
3. Unpaid debt must remain in the answer.
With $1,000 debt, no interest, and just $20 available each month, the ending position is −$760. The three strategies divide assets and debt differently, but all must show the same net amount.
4. New money starts growing next month.
With the same $50 starting debt and $200 budget, use a 12.68% effective annual return. The $150 left in month 1 grows for eleven months. Later $200 contributions receive fewer months of growth; the last receives none.
For the fourth check, let g = (1.1268)1/12 − 1. The separately derived expected value is:
The engine keeps unrounded values between months. Display formatting rounds the final figures; it does not apply lender-style rounding to every interest entry.
02 / COMPARE TWO WAYS OF CALCULATING
A separate formula reference checks the case studies.
The calculator advances the balances one month at a time. The reference instead uses loan-balance and annuity formulas with 50-digit decimal precision, plus a binary search for the payoff month. The reference's arithmetic does not call the monthly simulator.
For each combination of case, return, and strategy, the check compares investments, remaining debt, ending position, total debt interest, and the payoff month. The four monetary fields must agree within $0.01. Payoff months must match exactly.
| Input group | Combinations | Largest money difference, USD | Status |
|---|---|---|---|
| Expensive debt and an unfinished payoff | 9 | 0.000000 | Pass |
| A lower fixed rate and a longer horizon | 9 | 0.000000 | Pass |
| A close result and a cash-access question | 9 | 0.000000 | Pass |
| Negative-return arithmetic stress check | 3 | 0.000000 | Pass |
Differences in that column are rounded to six decimal places. A displayed 0.000000 can represent a smaller nonzero difference; it is not a claim that binary floating-point and decimal arithmetic are identical.
Read the reference formulas and cash-flow timing
Let B be the original debt, i the nominal annual debt rate divided by 12, and P the strategy's planned monthly debt payment. Before the payoff cap, the remaining loan after n payments is:
At i = 0, use Bn = B − nP. A binary search finds the first payoff month. The last payment is capped at the amount due, including that month's interest. The reference treats a residual smaller than 0.00000001 currency units as numerical zero, matching the engine's payoff convention.
For monthly investment growth g, equal month-end contributions C over n months have future value:
At g = 0, use FV = nC. The reference separates contributions before payoff, the actual amount left in the payoff month, and the entire budget invested afterward. It grows each block only for the months remaining. Total interest is reconstructed as debt payments + remaining debt − initial debt.
This is a separate implementation of the same stated model. It can catch disagreements between two arithmetic methods, but it cannot establish whether the shared model assumptions describe a particular real loan or investment.
03 / CHECK THE CROSSING POINT
Match the rate conventions before comparing percentages.
For the calculator's $12,000 debt, 8% nominal annual debt rate, $250 required payment, $300 extra, and ten-year horizon, the independently derived matching effective annual rate is:
- Derived effective annual rate
- 8.299951%
- Calculator's crossing
- 8.299951%
- Allowed rate difference
- 0.00001percentage points
One check confirms that all three ending positions agree within $0.01 when the monthly rates match. A second confirms that the calculator's search finds the derived rate within 0.00001 percentage points. Both checks passed
The search is restricted to 0%–50% effective annual return and may report no crossing. This example checks a known crossing inside that range. It does not assign a probability to earning that return.
READ THE BOUNDARIES TOO
The scope of these checks.
- Coverage: the debt-versus-investing engine and the cases listed here. These checks do not validate the site's mortgage, car, housing, or emergency-reserve models.
- Arithmetic conventions: fixed nominal debt interest added monthly; a fixed required payment; constant effective annual investment growth; month-end contributions; equal budgets; capped final debt payments.
- Excluded financial details: daily interest, changing minimum payments or rates, tax deductions, penalties, employer matching, restricted accounts, market volatility, and emergency withdrawals.
- Separate checks still matter: input validation, browser interactions, accessibility, and the interpretation of financial content need their own review. A green arithmetic result does not establish those outcomes.
See all 44 individual check results
- Equal cash budget, zero rates / Debt firstPass
- Equal cash budget, zero rates / Invest firstPass
- Equal cash budget, zero rates / 50/50 splitPass
- Cap the last payment and invest the remainder / Debt firstPass
- Cap the last payment and invest the remainder / Invest firstPass
- Cap the last payment and invest the remainder / 50/50 splitPass
- Subtract debt still outstanding / Debt firstPass
- Subtract debt still outstanding / Invest firstPass
- Subtract debt still outstanding / 50/50 splitPass
- Month-end contributions with investment growth / Debt firstPass
- Month-end contributions with investment growth / Invest firstPass
- Month-end contributions with investment growth / 50/50 splitPass
- Expensive debt and an unfinished payoff / 2% / Debt firstPass
- Expensive debt and an unfinished payoff / 2% / Invest firstPass
- Expensive debt and an unfinished payoff / 2% / 50/50 splitPass
- Expensive debt and an unfinished payoff / 6% / Debt firstPass
- Expensive debt and an unfinished payoff / 6% / Invest firstPass
- Expensive debt and an unfinished payoff / 6% / 50/50 splitPass
- Expensive debt and an unfinished payoff / 10% / Debt firstPass
- Expensive debt and an unfinished payoff / 10% / Invest firstPass
- Expensive debt and an unfinished payoff / 10% / 50/50 splitPass
- A lower fixed rate and a longer horizon / 0% / Debt firstPass
- A lower fixed rate and a longer horizon / 0% / Invest firstPass
- A lower fixed rate and a longer horizon / 0% / 50/50 splitPass
- A lower fixed rate and a longer horizon / 6% / Debt firstPass
- A lower fixed rate and a longer horizon / 6% / Invest firstPass
- A lower fixed rate and a longer horizon / 6% / 50/50 splitPass
- A lower fixed rate and a longer horizon / 10% / Debt firstPass
- A lower fixed rate and a longer horizon / 10% / Invest firstPass
- A lower fixed rate and a longer horizon / 10% / 50/50 splitPass
- A close result and a cash-access question / 2% / Debt firstPass
- A close result and a cash-access question / 2% / Invest firstPass
- A close result and a cash-access question / 2% / 50/50 splitPass
- A close result and a cash-access question / 6% / Debt firstPass
- A close result and a cash-access question / 6% / Invest firstPass
- A close result and a cash-access question / 6% / 50/50 splitPass
- A close result and a cash-access question / 10% / Debt firstPass
- A close result and a cash-access question / 10% / Invest firstPass
- A close result and a cash-access question / 10% / 50/50 splitPass
- Negative-return arithmetic stress check / -10% / Debt firstPass
- Negative-return arithmetic stress check / -10% / Invest firstPass
- Negative-return arithmetic stress check / -10% / 50/50 splitPass
- All strategies tie at the same monthly lending and borrowing ratePass
- Break-even search agrees with the independently derived ratePass
Report a discrepancy to clearmoneychoices@proton.me with the check name, inputs, and your expected calculation. The methodology page describes the assumptions in context.