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.
Three-digit codes are in picofarads: the first two digits, then the number of zeros. 104 = 10 × 10⁴ pF = 100 nF. A letter at the end is the tolerance (J ±5%, K ±10%, M ±20%).
Three digits: two digits + number of zeros (103 = 10 kΩ). Four digits: three digits + zeros (1002 = 10 kΩ, ±1%). R marks the decimal point (4R7 = 4.7 Ω). EIA-96: two digits for an E96 value and a letter for the multiplier (01C = 10 kΩ). 0 or 000 is a jumper.
Fill in any two; the other two are calculated. Leave a box empty to let it be computed.
Resistors add in series and combine as 1/(1/R₁ + 1/R₂ + …) in parallel. Capacitors do the opposite.
Vout = Vin · R2 / (R1 + R2). Valid while the load draws much less current than the divider itself.
R = (Vsupply − Vf) / I. The nearest standard value above is suggested so the LED never gets more than you asked for. Check the datasheet for Vf.
τ = R · C. After one τ the capacitor reaches 63% of the supply, after 5τ about 99%. As a low-pass filter the cutoff is fc = 1 / (2π R C).
Astable: f = 1.44 / ((R1 + 2·R2) · C). High time 0.693·(R1 + R2)·C, low time 0.693·R2·C — the duty cycle is always above 50% in this basic circuit.
Vout = 1.25 · (1 + R2 / R1) + Iadj · R2, with Iadj ≈ 50 µA. Keep R1 around 240 Ω so the regulator always draws its minimum load. Input must be 3 V or more above the output; use heat sinking for (Vin − Vout) · I.
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.