How we calculate and check
Every number on BenchOhm comes from a formula written down before the code, a shared math file, automated tests and an outside comparison. Here is each step.
1. Formulas and sources
Resistor color code
Digit, multiplier, tolerance and temperature-coefficient colors follow IEC 60062:2016, the international marking standard. Value = significant digits × 10multiplier. Three and four band parts carry two digits, five and six band parts carry three. We cross-checked the color table against a published secondary copy of the standard and a large distributor's calculator. One known difference: some older charts list grey as ±0.05% tolerance, an EIA usage that predates the 2016 edition, which assigns grey ±0.01%. We follow the 2016 edition and say so on the page.
Standard values (E-series)
Preferred values follow IEC 60063:2015. E6, E12 and E24 use the published two-digit lists (eight E24 values differ from the rounding formula, so we use the list itself), and E48 and E96 use three digits. A nearest standard value is chosen by ratio, not by difference in ohms, because the series are spaced on a logarithmic scale.
Ohm's law and power
V = I × R and P = V × I, with the six rearrangements for any pair of known values. Resistor wattage is the smallest common rating at least twice the dissipated power. That 2× margin is a design rule of thumb, not a standard; datasheets give the exact derating with temperature.
Parallel resistance
1/Rt = Σ 1/Ri. The partner resistor for a target is R2 = R1 × Rt ÷ (R1 − Rt). Standard pairs are found by testing every pair of values from the chosen series across five decades around the target and keeping the smallest error.
Series resistance
Rt = Σ Ri, one current I = V ÷ Rt, each drop Vi = I × Ri and power Pi = I² × Ri; the drops must add back to the supply (Kirchhoff's voltage law), which the test suite checks on 300 random strings. Worst-case tolerance applies the same percentage to every part in the same direction. Standard series pairs test every two values from the chosen E-series below the target and keep the smallest error.
2. One math file, tested
The calculators in your browser and our test suite load the same JavaScript file, so a formula cannot differ between what was tested and what you use. The suite currently runs 104 checks. They include worked examples done by hand (for example 9 V across 470 Ω = 19.15 mA), round trips (every E24 value from 0.1 Ω to 9.1 MΩ is encoded to colors and decoded back), and properties that must always hold: a parallel total is below its smallest resistor, n equal resistors give R ÷ n, and every pair of Ohm's law inputs describes the same circuit. A failing test blocks publishing.
3. Outside comparison
Before a calculator is published, its results on at least three inputs are compared with at least two independent references: another established calculator, a distributor's tool, or a worked example from a reference text. Results must agree within rounding. If they do not, we find out who is wrong instead of adjusting our numbers to match.
4. What the calculators assume
- Resistors are ideal: no tolerance or temperature drift unless a page says otherwise.
- Ohm's law applies to resistive DC circuits; diodes, LEDs, lamps and AC loads with reactance need other methods, as each page explains.
- Rounding is for display only; calculations keep full precision.
5. Report an error
Email [email protected] with the page, what you entered, what you got and what you expected. A confirmed error is fixed, added to the test suite so it cannot return, and noted in the change log below.
Change log
- November 2026: first calculators (color code, Ohm's law, parallel resistors) and this page published.
- November 2026: series resistor calculator added (total, voltage drop and power per resistor, standard series pairs).