The formula
Ohm's law: V = I × R
Power: P = V × I = I² × R = V² ÷ R
Rearranged: I = V ÷ R, R = V ÷ I, I = P ÷ V, R = V² ÷ P, V = √(P × R)
Energy (kWh) = P (W) × hours ÷ 1,000; conductance G = 1 ÷ R
Worked example
- A 220 Ω resistor across a 12 V supply:
- Current I = 12 ÷ 220 = 0.0545 A = 54.5 mA.
- Power P = 12² ÷ 220 = 0.655 W, so a standard ¼ W resistor would overheat; use at least a 1 W part.
- Over one hour it uses 654.5 mWh (0.00065 kWh).
Ohm's law explained
Ohm's law describes how voltage, current and resistance relate in an electrical circuit: the current through a conductor equals the voltage across it divided by its resistance, I = V ÷ R. Voltage, in volts, is the electrical pressure pushing charge around the circuit; current, in amps, is the rate at which charge flows; and resistance, in ohms, is how strongly the component opposes that flow. Doubling the voltage across a fixed resistor doubles the current, while doubling the resistance at a fixed voltage halves it. Georg Ohm published the relationship in 1827.
Power and the wheel of formulas
Electrical power, in watts, is the rate at which energy is converted to heat, light or motion: P = V × I. Combining this with Ohm's law gives two more forms, P = I²R and P = V²/R, and together they make up the familiar "Ohm's law wheel" of twelve formulas. Because you only need two of the four quantities to find the rest, the calculator accepts any pair. Enter values greater than zero for the two you know and leave the others at zero.
Choosing resistors and checking power ratings
Ohm's law is most often used to choose resistor values and check that components won't overheat. To limit an LED's current to 20 mA from a 5 V supply when the LED drops 2 V, the resistor sees 3 V, so R = 3 ÷ 0.02 = 150 Ω and dissipates 0.06 W. Always check the power: a resistor rated for ¼ W dissipating more than that will run hot and may fail. A common rule of thumb is to choose a power rating at least twice the calculated dissipation for reliability.
SI prefixes
Electronics uses a wide range of values, so results are shown with SI prefixes: milliamps (mA, thousandths of an amp), microamps (µA, millionths), kilohms (kΩ, thousands of ohms) and megohms (MΩ, millions). A 4.7 kΩ resistor is 4,700 Ω, and 250 mA is 0.25 A. Enter values in base units (volts, amps, ohms, watts) and the calculator converts the results into the most readable prefix.
Where Ohm's law applies, and where it doesn't
Ohm's law applies exactly to ohmic conductors such as metal wires and resistors at constant temperature. Many components aren't ohmic: diodes, LEDs and transistors have current–voltage curves that aren't straight lines, and a filament bulb's resistance rises sharply as it heats up. In AC circuits with capacitors and inductors, resistance is replaced by impedance, which also depends on frequency, though the same V = IZ relationship holds. For household wiring, use our wire size calculator and voltage drop calculator.
Series and parallel resistors
Resistors in series add directly: 100 Ω + 220 Ω = 320 Ω, and the same current flows through each. In parallel, the reciprocals add: 1/R = 1/100 + 1/220, giving 68.75 Ω, and each resistor sees the same voltage. The total resistance of a parallel group is always less than its smallest resistor. Work out the combined resistance first, then apply Ohm's law to the whole circuit.
Energy use and running costs
Power multiplied by time gives energy. A 60 W device running for 5 hours uses 300 Wh, or 0.3 kWh, and at 15 cents per kWh that costs 4.5 cents. Electricity bills charge per kWh, so knowing the wattage of an appliance lets you estimate its running cost. Our electricity cost calculator does this for any appliance, and the PC PSU wattage calculator adds up the power draw of computer components.