ComputeYard

The math, explained. Every formula shown, every result tested.

Methodology

Last updated 14 June 2026.

A calculator is only worth using if you can trust the number it gives you. This page explains how the ComputeYard calculators are built, how we check that they are correct, and exactly what each one assumes. Every tool also shows its formula and a worked example on its own page, so you can reproduce any result by hand. For what ComputeYard is and why it is free, see About.

How the calculators are built

The math lives in a single, pure calculation engine written in Python, kept completely separate from the website that displays it. The same engine powers the interactive calculator, the API, and the shareable preview images, so there is one source of truth for every formula and no chance of two parts of the site disagreeing.

Exact arithmetic, not floating point

Money and rates are computed in exact decimal arithmetic, not the binary floating point that quietly turns 0.1 + 0.2 into 0.30000000000000004. The engine carries 50 significant digits internally and rounds half away from zero only at the final step. Monetary amounts are kept exact all the way through the calculation; ratios and rates are rounded to 8 decimal places for a clean result. In practice this means the figures add up to the cent, with no floating-point drift.

How we verify the math

Every formula is pinned by a suite of golden-vector tests: specific inputs paired with hand-checked expected outputs. If a change ever moved a result by even a fraction of a cent, the tests fail and the change does not ship. The full suite runs automatically before anything reaches the live site, so regressions are caught before you ever see them.

What each calculator assumes

Good estimates depend on clear assumptions. Here is what the main families of calculators take as given:

What is excluded

Unless a tool is specifically a tax calculator, results exclude taxes, trading fees, commissions, slippage, and bid-ask spread. The calculators do not use live market data; every figure comes from the inputs you provide. Real outcomes will differ, often materially, once costs and real prices are included.

Where the formulas come from

The calculators use standard, well-established formulas from finance and investing: option payoff diagrams, the square-root-of-time scaling behind an implied move, compound interest and annuity math, the Kelly criterion, the Sharpe ratio, and published US tax brackets and thresholds. Tax rules are checked against current official figures and updated when those change. Each tool's page states the exact formula it uses.

Corrections

We would rather fix a mistake than defend one. If a result looks wrong, tell us through the contact form with the inputs you used. We reproduce the issue, fix the engine, add a test so it cannot come back, and ship the fix. Please include enough detail for us to recreate the number.

Not financial advice

Everything here is educational. The calculators give estimates to help you understand the math, not personal investment, tax, or financial advice. Verify independently and, where it matters, consult a qualified professional before acting. See our Disclaimer for the full terms.