Electronics Calculator

Comprehensive electronics calculations including Ohm's Law, voltage dividers, LED resistors, and passive components.

Calculator Input
Select calculator type and enter values. Leave fields empty for calculated values.
Results
Enter values and click Calculate to see results

About the Electronics Calculator

This electronics calculator bundles the everyday circuit calculations — Ohm's law, voltage dividers, LED series resistors, and power — into one tool. It is built for hobbyists and students who need a quick, reliable answer when designing or debugging a small circuit.

Ohm's law and power

Ohm's law, V = I × R, ties voltage, current, and resistance together: knowing any two gives the third. Power follows as P = V × I (and equivalently I²R or V²/R). These relationships underpin almost every basic circuit decision — sizing a resistor, checking a current draw, or confirming a component will not overheat. The calculator lets you enter what you know and returns the rest.

Voltage dividers use two resistors to produce a fraction of the input voltage, output = input × R2 ÷ (R1 + R2), handy for setting reference voltages and scaling signals. The calculator solves the divider for whichever quantity you need.

Driving an LED safely

An LED needs a series resistor to limit its current, or it will burn out. The resistor value is (supply voltage − LED forward voltage) ÷ desired current. Get this wrong and the LED runs too dim or dies; the calculator works it out from your supply, the LED's forward voltage, and the target current, and shows the power the resistor will dissipate so you can choose an adequate rating.

Worked example

Driving a red LED (2 V forward, 20 mA) from a 5 V supply.

  1. Voltage across the resistor = 5 − 2 = 3 V.
  2. Resistor = 3 V ÷ 0.02 A = 150 Ω.
  3. Power in the resistor = 3 V × 0.02 A = 0.06 W (a ¼ W resistor is fine).

Use a 150 Ω resistor (¼ W is plenty) to run the LED at 20 mA from 5 V.

Frequently asked questions

What is Ohm's law?

Ohm's law states V = I × R: voltage equals current times resistance. Knowing any two of the three lets you calculate the third, which is the basis of most circuit calculations.

How do I choose a resistor for an LED?

Subtract the LED's forward voltage from the supply voltage, then divide by the current you want: R = (Vsupply − Vled) ÷ I. Also check the resistor's power rating against P = V × I.

How does a voltage divider work?

Two resistors in series split the input voltage in proportion to their values: Vout = Vin × R2 ÷ (R1 + R2). It is useful for reference voltages and scaling signals, but only under light load.