This Ohms law calculator finds voltage, current, resistance and power from any two of them, shows the formula and the working, and suggests a real resistor: the nearest E24 and E96 value and the power rating to buy. Type values with units, such as 20mA, 4k7 or 3V3, and the results update as you type.

Type any two values; the other two are calculated. Units and shortcuts work: 20mA, 4k7, 3V3, 0.5W.


Working

–

Picking a real resistor

–

How to use the Ohms law calculator

Fill in any two boxes; the two outlined in blue are calculated. The last two boxes you typed in are always treated as the inputs, so you can switch from “voltage and resistance” to “power and current” just by typing in different boxes.

  1. Type the known values. Plain numbers are volts, amps, ohms and watts. Prefixes work too: m (milli), µ or u (micro), k (kilo) and M (mega).
  2. Use shorthand if you like. 4k7 means 4.7 kΩ, 3V3 means 3.3 V and 2R2 means 2.2 Ω, the way values are printed on schematics.
  3. Read the working. The steps show which formula was used and every number in it.
  4. Pick a real part. The last section rounds the resistance to standard values and picks a power rating with the safety margin you choose.

The default example is a 9 V battery across a 100 Ω resistor: 90 mA flows and the resistor turns 0.81 W into heat, so a common 1/4 W resistor would overheat.

Ohm’s law formulas (the formula wheel)

Ohm’s law says the current through a conductor is proportional to the voltage across it: V = I × R. Combined with the power formula P = V × I, it gives three ways to find each quantity.

V = I × R  ·  I = V ÷ R  ·  R = V ÷ I  ·  P = V × I

To findFrom V and IFrom V and RFrom I and RFrom P and another
Voltage VgivengivenI × RP ÷ I or √(P × R)
Current IgivenV ÷ RgivenP ÷ V or √(P ÷ R)
Resistance RV ÷ IgivengivenV² ÷ P or P ÷ I²
Power PV × IV² ÷ RI² × Rgiven

Worked examples: 5 Ω with 3 A flowing needs 3 × 5 = 15 V. A 100 W lamp on 120 V draws 100 ÷ 120 = 0.833 A, so its hot resistance is 120² ÷ 100 = 144 Ω.

Choosing a resistor value and power rating

Calculated resistances rarely match a part you can buy, and a resistor must also handle the heat it produces. The calculator does both checks for you.

For mains loads it is usually easier to start from the label: the watts to amps calculator converts a wattage at 120 V or 230 V into current, and long cable runs are covered by the voltage drop calculator.

Where Ohm’s law does and does not apply

Ohm’s law works directly for resistors, heating elements, wires and DC circuits. Some parts do not follow it, so treat those results as rough guides only.

ComponentDoes V = I × R work?Why
Resistor, heater, wireYesResistance stays nearly constant
Incandescent lampOnly when hotFilament resistance rises sharply as it heats up
LED or diodeNoCurrent rises steeply above the forward voltage; use a series resistor to set it
MotorOnly at stallA spinning motor generates back-voltage
AC with coils or capacitorsUse impedanceReactance adds to resistance and shifts the phase

Limits

The calculator solves the four basic equations exactly; it does not model tolerances, temperature or AC phase.

Frequently Asked Questions

What is Ohm’s law?

Ohm’s law states that the current through a conductor is proportional to the voltage across it: V = I × R, where V is volts, I is amps and R is ohms.

How do I calculate current from voltage and resistance?

Divide voltage by resistance: I = V ÷ R. A 9 V battery across 100 Ω gives 9 ÷ 100 = 0.09 A, or 90 mA.

How do I calculate power with Ohm’s law?

Use P = V × I, or P = V² ÷ R when you know voltage and resistance, or P = I² × R when you know current and resistance. 9 V across 100 Ω dissipates 0.81 W.

What resistance does a 100 W bulb have at 120 V?

About 144 Ω when hot: R = V² ÷ P = 120² ÷ 100 = 144 Ω, and it draws 0.833 A. Cold, a filament has much lower resistance.

What wattage resistor do I need?

Calculate the power with P = I² × R and choose a standard rating above it, with headroom. The calculator picks the next rating after the margin you set.

Sources and further reading