Electronics calculator

Resistor and capacitor codes, Ohm’s law, series and parallel, voltage dividers, LED resistors, RC time constants, the 555, the LM317 and switching converters. Drag a slider, press − / +, or type a value with engineering notation (4k7, 100n, 2.2u); every circuit redraws as you go.

Bands
or type a value

★ Save to a library (join free)Saves the calculator that is open with its values: our server renders it as a PNG, the circuit drawing as an SVG and the results as a CSV, kept in your library and shareable with a link.

Everything is computed in your browser; nothing you type is sent or stored. Standard values follow the E12 / E24 series; colour codes follow IEC 60062. Converter numbers are first-order continuous-conduction design equations (choose parts with margin: current ×1.3, voltage ×1.5). Always check a part’s datasheet before you build.

Inside this calculator

Resistor colour code

Pick 4, 5 or 6 band colours to read a resistor, or type a value (4k7, 220, 1M) to get the bands, tolerance range and nearest E24 value.

Capacitor code

Three-digit codes such as 104 and R-notation such as 4R7, with the tolerance letter; or type a value and get the code.

SMD resistor code

3-digit, 4-digit and EIA-96 markings (01C), R as the decimal point, and 0 for a jumper — in both directions.

Ohm’s law

Enter any two of voltage, current, resistance and power; the other two are calculated and shown on the circuit.

Series and parallel

Combine any number of resistors or capacitors; both totals are drawn.

Voltage divider

Vin, R1 and R2 give Vout, the divider current and the power in each resistor.

LED series resistor

Supply voltage, LED forward voltage and current give the resistor, rounded up to the next E24 value, with its colour bands and power rating.

RC time constant

R and C give τ, the −3 dB cutoff frequency and the 63% / 99% charging times.

555 timer

Astable frequency, period and duty cycle from R1, R2 and C; monostable pulse length from R and C; the wiring diagram and output waveform.

LM317 regulator

R1 and R2 give the output voltage; or enter the voltage you want and get the nearest E24 resistor.

Switching power converters

Buck, boost, inverting buck-boost and isolated flyback: duty cycle, inductor, peak current, output capacitor, switch and diode voltage stress, with the topology schematic.

Values accept engineering notation (4k7, 100n, 2.2u, 12m); sliders and − / + buttons cover the usual ranges, and every drawing updates as you type. Nothing is sent or stored. More tools: Tools for students.