Audit, 1 December 2026 (version 2)
Where common tools disagree
We computed 1,200,000 generated loans with an exact reference (integer cents, Regulation Z Appendix J APR bracketed by exact integer comparison) and compared common methods against it. Below: what we measured, how, and what it does not show.
Short answer. On fixed-rate loans each APR tool lands within about 0.04 basis points of the convention it implements, and floating point is not the main problem. What moves the answer is the convention: 12 CFR 1026.17(c)(4) lets a creditor disregard a qualifying irregular first period, and the two permitted exact APRs differ by a median 2.25 bp. The tools differ most where a method is misapplied (an adjustable-rate loan run through a first-payment RATE) or where the election is not available.
What the numbers say
| Method (lane) | Loans | Total of payments differs | Finance charge understated > $100 | Third decimal of APR differs | Higher-priced differs | Worst APR gap (bp) |
|---|
"Outside tolerance" in the audit used 1/8 point for fixed-rate loans and 1/4 point for every ARM. This product now applies 1/8 point to every loan unless it is irregular by the definition in 12 CFR 1026.22(a)(3) (an ARM on a regular amortization schedule is regular), so audit counts of loans outside tolerance are cited as published and are not this product's current-rule counts. The audit also did not apply 1026.22(a)(4)-(5).
What each lane is
- Exact reference. Every payment and each month's interest in integer cents. Two exact APRs per loan: odd first period counted (Appendix J) and disregarded (1026.17(c)(4)), each bracketed by exact integer comparison. It reproduces the four Appendix J (c)(1) worked examples (9.69%, 11.82%, 10.34%, 8.97%), and 20 loans re-solved with 60-digit decimals fell inside the exact intervals under both conventions.
- Spreadsheet RATE method (numpy-financial 1.0.0, the npm package
financial0.2.4 and LibreOffice 24.2.7.2 gave identical answers): PMT, then RATE on the first payment, odd period disregarded. - IRR of cash flows (numpy-financial
irrstyle, odd period disregarded), on the first 20,000 loans of each set. - QuantLib 1.44 with exact payments, dated cash flows, 30/360 and monthly compounding. Remaining difference: it compounds the fractional first period, where Appendix J (b)(6) uses 1 + f i.
- float64 lanes: a float64 Appendix J solver on exact payments (0 disagreements) and float64 dollars with the same rounding rules.
- Python packages
mortgage1.0.5 andamortization3.0.1 on the first 100,000 loans: payment and total only, no APR.
Method and how to reproduce
- Loans. Generated, not real: set A is 1,000,000 loans that may use either treatment (10 to 30 year terms, 0 to 30 odd days, 140,335 ARMs); set B is 200,000 fixed-rate loans constructed so that none qualifies for the election (a stress set: it shows what happens when the election is unavailable, not how common that is). 40% of APORs were placed within 5 bp of the higher-priced line, so higher-priced counts measure sensitivity near the line, not prevalence. The loan file has a published SHA-256 (
dd471f5dd034...21e61c2) and the generator seeds are 20261201 (set A) and 20261202 (set B). - Machine. AWS c7g.8xlarge (Graviton3, 32 vCPU), Ubuntu 24.04, us-west-2; Python 3.12 with numpy 2.5.5; Node 18.19.1. Total cost about $2.10.
- Convention. Each lane is compared with the convention it implements, so a method is not blamed for a permitted election.
- Fact-check. Version 1 measured the spreadsheet lane against the wrong convention and its "outside tolerance" headline was wrong; version 2 corrects it with a rerun. Details are in the audit notes.
- Data. We publish up to 5,000 example rows per method and kind (the distinct loans across those example files number 31,428), each with its full inputs and both exact APRs. The files total about 29 MB, so they are not hosted on this site: write to business@riptidecompute.com for them, the loan generator and the exact tool. Each loan's inputs are enough to reproduce any difference on the free check.
What this does not show
- It does not show how often real loan files hit these cases; the loans are generated.
- A convention the Regulation permits is not an error. Several differences above are choices, not bugs.
- In the free check on this site, "How other tools compute this loan" reimplements these methods in Python and runs them on your loan. It does not run the real programs; the tests we ran compare those reimplementations with the audited programs' own output on 2,000 audited rows per method.
- Calculation aid; confirm against the regulation and your counsel. Not legal or compliance advice.