This is the investing section of the formula verification report, which explains what each kind of case tests, how the counts are produced and what they do not prove; how to read the report walks through a single row. Rows run from the largest suite to the smallest; each row's address ends in the calculator's slug, so one calculator's evidence can be linked and cited on its own. The test file behind every row, and the per-kind numbers, are in the machine-readable report.
Every investing calculator, with its case mix
| Calculator | Cases | Case mix |
|---|---|---|
| Bitcoin Return Calculator | 3,840 | 44 independent · 14 golden · 9 boundary · 3,750 property · 23 structural |
| Crypto Profit Calculator | 3,840 | 44 independent · 14 golden · 9 boundary · 3,750 property · 23 structural |
| Portfolio Value Calculator | 3,840 | 44 independent · 14 golden · 9 boundary · 3,750 property · 23 structural |
| Weighted Average Expense Ratio Calculator | 3,840 | 44 independent · 14 golden · 9 boundary · 3,750 property · 23 structural |
| Dividend Reinvestment Calculator | 85 | 24 golden · 23 boundary · 16 property · 22 structural |
| CAGR Calculator | 76 | 5 independent · 13 golden · 14 boundary · 18 property · 26 structural |
| Rule of 72 Calculator | 76 | 3 independent · 15 golden · 5 boundary · 26 property · 27 structural |
| Bond Yield Calculator | 70 | 13 independent · 16 golden · 12 boundary · 17 property · 12 structural |
| Dividend Yield Calculator | 70 | 13 independent · 16 golden · 12 boundary · 17 property · 12 structural |
| Annualized Return Calculator | 56 | 1 independent · 14 golden · 5 boundary · 6 property · 30 structural |
| Expected Return Calculator | 56 | 1 independent · 14 golden · 5 boundary · 6 property · 30 structural |
| Holding Period Return Calculator | 56 | 1 independent · 14 golden · 5 boundary · 6 property · 30 structural |
| Maximum Drawdown Calculator | 56 | 1 independent · 14 golden · 5 boundary · 6 property · 30 structural |
| XIRR Calculator | 56 | 1 independent · 14 golden · 5 boundary · 6 property · 30 structural |
| Cap Rate Calculator | 55 | 9 independent · 15 golden · 15 boundary · 4 property · 12 structural |
| NPV Calculator | 55 | 9 independent · 15 golden · 15 boundary · 4 property · 12 structural |
| Rental Property Calculator | 55 | 9 independent · 15 golden · 15 boundary · 4 property · 12 structural |
| Gross Rent Multiplier Calculator | 54 | 2 independent · 12 golden · 6 boundary · 4 property · 30 structural |
| Net Operating Income Calculator | 54 | 2 independent · 12 golden · 6 boundary · 4 property · 30 structural |
| Rental Yield Calculator | 54 | 2 independent · 12 golden · 6 boundary · 4 property · 30 structural |
| Vacancy Rate Calculator | 54 | 2 independent · 12 golden · 6 boundary · 4 property · 30 structural |
| Sharpe Ratio Calculator | 51 | 3 independent · 8 golden · 7 boundary · 3 property · 30 structural |
| Sortino Ratio Calculator | 51 | 3 independent · 8 golden · 7 boundary · 3 property · 30 structural |
| Retirement Withdrawal Calculator | 48 | 6 independent · 13 golden · 17 boundary · 8 property · 4 structural |
| Regular Investment Calculator | 40 | 4 independent · 14 golden · 13 boundary · 7 property · 2 structural |
| Portfolio Return Calculator | 39 | 9 golden · 6 boundary · 6 property · 18 structural |
| Investment Calculator | 31 | 10 independent · 3 golden · 10 property · 8 structural |
| Real Estate Investment Calculator | 25 | 7 independent · 7 golden · 11 boundary |
| ROI Calculator | 14 | 8 golden · 1 boundary · 2 property · 3 structural |
What each suite checks
Counts say how much was checked; these say what. Each case below is quoted from its test file exactly as the runner recorded it, in the order the cases run, independent cross-checks first. Where a suite has more cases than fit, the count in brackets says how many of that kind exist in total. The 8 largest suites in this category are shown; the other 7 are in the machine-readable report.
Crypto and portfolio engines (round-trip profit, invested return, DCA averaging, weighted expense ratio, portfolio value)
3,840 passing cases behind Crypto Profit Calculator, Bitcoin Return Calculator, Weighted Average Expense Ratio Calculator and Portfolio Value Calculator: 44 independent cross-check, 14 golden, 9 boundary, 3,750 property and 23 structural.
- Independent cross-check — Crypto profit: 1 at 10000->15000 cost recomputed
- Independent cross-check — Crypto profit: 1 at 10000->15000 proceeds recomputed
- Independent cross-check — Crypto profit: 1 at 10000->15000 profit recomputed
- Independent cross-check — Crypto profit: 2.5 at 300->250 cost recomputed
- Independent cross-check — Crypto profit: 2.5 at 300->250 proceeds recomputed
- Independent cross-check — Crypto profit: 2.5 at 300->250 profit recomputed
6 of 44 independent cross-check cases shown. The test file is scripts/validate-crypto-portfolio-defs-engine.cjs.
DRIP engine validation
85 passing cases behind Dividend Reinvestment Calculator: 24 golden, 23 boundary, 16 property and 22 structural.
- Golden — t1 starting shares = 200
- Golden — t1 final value matches legacy model (~61,666)
- Golden — t1 final close to page example 61,666
- Golden — t1 total dividends
- Golden — t1 no-DRIP wealth
- Golden — t2 target annual = 6000
6 of 24 golden cases shown. The test file is scripts/validate-drip-engine.cjs.
CAGR engine
76 passing cases behind CAGR Calculator: 5 independent cross-check, 13 golden, 14 boundary, 18 property and 26 structural.
- Independent cross-check — Census: 308,745,538 (2010) to 331,449,281 (2020) is a 7.35% increase, reported as 7.4%
- Independent cross-check — … which rounds to the Census Bureau’s published 7.4%
- Independent cross-check — … the increase is 22,703,743 people
- Independent cross-check — … a CAGR of 0.7121% a year over the ten years
- Independent cross-check — OpenStax: revenue from $30M to $90M in 10 years grows 11.6123% a year (3^(1/10) − 1)
- Golden — $2.4M to $3.9M over 4 years is 12.905% (fourth root of 1.625, minus 1)
5 of 5 independent cross-check cases shown; 1 of 13 golden cases shown. The test file is scripts/validate-cagr-engine.cjs.
Rule of 72 engine
76 passing cases behind Rule of 72 Calculator: 3 independent cross-check, 15 golden, 5 boundary, 26 property and 27 structural.
- Independent cross-check — OpenStax: incomes growing 6% a year double in 72 ÷ 6 = 12 years by the rule
- Independent cross-check — … and in 11.896 years exactly
- Independent cross-check — 100 × ln 2 is the 69.3 of the continuous rule
- Golden — 72 ÷ 8 = 9 years
- Golden — exact doubling at 8% is ln 2 ÷ ln 1.08 = 9.0065 years
- Golden — continuous doubling at 8% is 69.31 ÷ 8 = 8.6643 years
3 of 3 independent cross-check cases shown; 3 of 15 golden cases shown. The test file is scripts/validate-rule-of-72-engine.cjs.
Yield engines (APY, bond yield, dividend yield)
70 passing cases behind Bond Yield Calculator and Dividend Yield Calculator: 13 independent cross-check, 16 golden, 12 boundary, 17 property and 12 structural.
- Independent cross-check — APY: n=1 (annual) returns the APR exactly
- Independent cross-check — APY: n=4 (quarterly) → 5.094534%
- Independent cross-check — APY: n=365 (daily) → 5.126750%
- Independent cross-check — APY: 12% APR monthly → 12.682503%
- Independent cross-check — APY→APR: 5.116190% APY compounded monthly is a 5% APR
- Independent cross-check — APY→APR: … and 10,000 still earns 511.62 in the year
6 of 13 independent cross-check cases shown. The test file is scripts/validate-yield-defs-engine.cjs.
Return measure engines (HPR, annualised, XIRR, drawdown, expected)
56 passing cases behind Holding Period Return Calculator, Annualized Return Calculator, XIRR Calculator, Maximum Drawdown Calculator and Expected Return Calculator: 1 independent cross-check, 14 golden, 5 boundary, 6 property and 30 structural.
- Independent cross-check — XIRR: the solved rate discounts every flow back to zero
- Golden — HPR: (120 − 100 + 5) / 100 = 25%
- Golden — HPR: the capital gain alone is 20%
- Golden — HPR: the income yield is 5%
- Golden — Annualised: 1.6 to the power of one-fifth, less one, is 9.86%
- Golden — Annualised: total return is 60%
1 of 1 independent cross-check cases shown; 5 of 14 golden cases shown. The test file is scripts/validate-return-measure-defs-engine.cjs.
Property & project return engines (cap rate, rental, NPV)
55 passing cases behind Cap Rate Calculator, Rental Property Calculator and NPV Calculator: 9 independent cross-check, 15 golden, 15 boundary, 4 property and 12 structural.
- Independent cross-check — Cap rate: NOI 37,000 at a 6% cap implies 616,667
- Independent cross-check — Cap rate: the same NOI at an 8% cap implies 462,500
- Independent cross-check — Cap rate: re-pricing at the 6% implied value returns a 6% cap
- Independent cross-check — Cap rate: re-pricing at the 8% implied value returns an 8% cap
- Independent cross-check — Cap rate: a higher benchmark cap implies a lower value
- Independent cross-check — Rental: cap rate is unchanged by any financing choice
6 of 9 independent cross-check cases shown. The test file is scripts/validate-property-return-defs-engine.cjs.
Rental metric engines (NOI, GRM, vacancy, cash-on-cash, yield)
54 passing cases behind Net Operating Income Calculator, Gross Rent Multiplier Calculator, Vacancy Rate Calculator and Rental Yield Calculator: 2 independent cross-check, 12 golden, 6 boundary, 4 property and 30 structural.
- Independent cross-check — Cash-on-cash divides by cash invested, including closing costs and rehab
- Independent cross-check — It is demonstrably not the purchase price in the denominator
- Golden — NOI: 31,200 less 5% vacancy is 29,640 of effective gross income
- Golden — NOI: expenses total 9,800
- Golden — NOI: 29,640 less 9,800 is 19,840
- Golden — NOI: against 350,000 that is a 5.67% cap rate
2 of 2 independent cross-check cases shown; 4 of 12 golden cases shown. The test file is scripts/validate-rental-metrics-defs-engine.cjs.
