Skip to main content
CitedFigures.

CitedFigures · How we work

Open-source math

The formula behind every CitedFigures calculator is published as typed, tested code. You can read it, run it, and check it against the result on the page.

Last reviewed: June 2026

Most calculator sites are a black box: you type numbers in, a number comes out, and you have to trust it. We do the opposite. The math is the product, so the math is in the open.

The calculator math repository

github.com/bedrocka-ventures/bedrocka-tools-calc →

Every formula across the family lives here as a pure, typed function with unit tests. The src/ directory is the source of truth that the live calculators import.

What you can do with it

  • Read the formula.See exactly how a result is computed — the order of operations, the rounding, the assumptions — not a marketing description of it.
  • Check the assumptions. Where a calculation depends on a rate or threshold, the code makes that an explicit input, so you can see what value was used.
  • Reproduce the result. Run the function against the worked example on the calculator page and confirm you get the same number.
  • Find a bug. If you spot an error in the math, the tests, or an assumption, we want to hear it.

Why we do this

Transparency is the whole pitch. “Open-source math” is one of the three pillars every CitedFigures site is held to, alongside primary-source citations and named-author accountability. A formula you can’t inspect is a formula you have to take on faith — and faith isn’t a feature.

See how it fits the rest of the standard on the methodology page.