
Web Scripts & Software
DEV3 Ohm's Law & Resistor Colour Code Calculator — Source Code (React + Tailwind)
from $29
Live demoLoading…
Developer tool
Free, no sign-up. Runs in your browser; nothing is uploaded. Buy the source code: $29 Regular / $69 Extended
Leave two boxes empty. Pick the prefix next to each number (m = milli, k = kilo, M = mega).
Formulas used: I = V / R and P = V^2 / R. Choose a resistor rated at least 612.8 mW (twice the dissipation).
Formulas for ideal DC circuits, calculated in your browser. Standards: IEC 60062 (colour codes), IEC 60063 (E-series), ASTM B258 (AWG). Always keep a power margin.
Need Ohm's Law & Resistor Colour Code Calculator built into your own product? We build it as a full app, API and admin included. Built in about a week, from $99. Send your requirements or SOW; you get a fixed quote and a delivery date.
The ohm's law & resistor colour code calculator stays free to use online. If you want the code to run, edit and ship in your own project, get the full source from the DEV3 Marketplace. Instant download, 6 months of support.
Skip the build: ready-made apps with the code included. Buy once, own the source, and try each one live first.

Web Scripts & Software
from $29
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demoThis page gathers the formulas you reach for most often when building or repairing circuits. Every result updates as you type, shows the formula used and copes with unit prefixes from pico to giga.
Enter any two of voltage, current, resistance and power, choose the prefix (m for milli, k for kilo, and so on) and the other two are solved. For example 12 V across 470 ohms gives 25.5 mA and 306 mW. The formulas used are shown below the result.
Choose 4, 5 or 6 bands and pick each colour from the visual resistor, or type a value such as 4.7k and see the bands. You get the resistance, the tolerance range (minimum and maximum), and the temperature coefficient for 6 band parts. SMD codes (3 digit, 4 digit, R notation and EIA-96) work in both directions.
The E-series tab finds the nearest E6, E12, E24 or E96 value to any resistance, with the percentage error, so you know what to buy.
The AWG table lists diameter, cross-section area and copper resistance per kilometre, converts mm squared to the nearest AWG, and calculates the voltage drop of a cable run.
Always use a resistor with a power rating well above the calculated dissipation (at least double). Results are for DC and ideal parts; real components vary with temperature.
Voltage equals current times resistance, V = I x R. Power is P = V x I, which also gives P = I^2 R and P = V^2 / R. Enter any two of V, I, R and P and this calculator finds the other two.
The first two bands are digits, the third is the multiplier, and the fourth is the tolerance. Brown, black, red, gold is 1, 0, x100, 5%, which is 1 kilohm. On 5 and 6 band resistors there are three digit bands, and the 6th band is the temperature coefficient in ppm per kelvin.
R = (supply voltage - LED forward voltage) / LED current. For a 5 V supply, a red LED at 2 V and 20 mA you need 150 ohms. The tool picks the next standard E24 value at or above it, so the LED current never exceeds your limit, and shows the resistor power.
A 3-digit code such as 472 is 47 x 10^2 = 4.7 kilohm. A 4-digit code adds a third digit (4701 = 470 x 10^1). R is a decimal point (4R7 = 4.7 ohm). EIA-96 codes (01C) use two digits to index the E96 table and a letter as the multiplier.
They are preferred value series with 12, 24 or 96 values per decade (IEC 60063), matched to 10%, 5% and 1% tolerance. The tool finds the nearest standard value and how far off it is.
AWG diameter follows d = 0.127 mm x 92^((36 - n) / 39). The cross-section gives resistance from copper resistivity (about 1.72 x 10^-8 ohm metres at 20 degrees C). The wire tab lists resistance per kilometre and the voltage drop of a run.