Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Electronics calculator

Ohm's law, resistor colour codes, LED resistors, voltage dividers, series and parallel resistors, and PCB trace width, with standard values.

Fill in any two; the other two are worked out.

How to use

  1. Choose a calculator. Results update as you type.
  2. Type values with or without prefixes: 4.7k or 4k7 for 4,700; 2M2 for 2.2 million; 20m for 0.02; 470R for 470.
  3. Colour code: pick the band colours to read a resistor, or type a value to get its bands. The picture shows the bands.
  4. LED resistor: the next standard value up keeps the current at or below what you asked for.

Keyboard and touch

Tab / Shift+TabMove between boxes
Arrow keys in a listChange a band colour or option
PhoneLetters like k and M are typed on the normal keyboard

Tips

  • Read colour bands starting from the end with the bands bunched together; the gold or silver band (tolerance) goes on the right.
  • Typical LED forward voltages: red 1.8–2.2 V, yellow and green 2.0–2.2 V, blue and white 2.8–3.3 V. Check the LED's data sheet.
  • Pick resistors rated for at least twice the heat they make; the LED calculator does this for you.
  • A voltage divider is for signals, not for powering things: anything connected to the output changes its voltage.

About this tool

Formulas: V = I × R and P = V × I; LED resistor R = (supply − LEDs × forward voltage) ÷ current; divider output = input × R2 ÷ (R1 + R2); series R = R1 + R2 + …; parallel 1/R = 1/R1 + 1/R2 + …. Colour codes follow IEC 60062 and standard values follow the E12, E24 and E96 series of IEC 60063.

The PCB trace estimate uses the IPC-2221 relation I = k × ΔT0.44 × A0.725 (k = 0.048 outer, 0.024 inner; A in square mils; 1 oz copper = 1.378 mil thick). It is a rule of thumb for learning and early layout, not for safety sign-off. Nothing you type leaves your device.

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product