SwapUnits
    Calculator

    Ohm's law calculator

    Ohm's law ties voltage, current and resistance together: V = I × R. With power (P = V × I) that makes four quantities, and any two give the other two. Type two values and the other two fill in; type into any field and the rest update.

    V
    A

    Calculated from voltage and current

    Calculated from voltage and current

    Prefixes work: 4.7k or 4k7 is 4,700, 500m is 0.5, 2.2M is 2,200,000.

    Resistance
    6 ΩR = V ÷ I
    Power
    24 WP = V × I

    All twelve formulas

    Voltage (V)

    • V = I × R
    • V = P ÷ I
    • V = √(P × R)

    Current (I)

    • I = V ÷ R
    • I = P ÷ V
    • I = √(P ÷ R)

    Resistance (R)

    • R = V ÷ I
    • R = V² ÷ P
    • R = P ÷ I²

    Power (P)

    • P = V × I
    • P = V² ÷ R
    • P = I² × R

    V is voltage in V, I is current in A, R is resistance in Ω, P is power in W.

    Worked examples

    • 12 V across 6 Ω: I = 12 V ÷ 6 Ω = 2 A, and P = 12 V × 2 A = 24 W.
    • An LED resistor: 5 V supply, LED forward voltage 2 V, 20 mA. The resistor takes 3 V, so R = 3 V ÷ 20 mA = 150 Ω and P = 3 V × 20 mA = 60 mW, well within a ¼ W resistor.

    Frequently asked questions

    What is Ohm's law?

    The current through a resistance is the voltage across it divided by the resistance: I = V ÷ R, or V = I × R. It is where the ohm comes from: one ohm is one volt per ampere.

    Why is power part of it?

    Power is volts times amps (P = V × I). Putting V = I × R into it gives P = I² × R and P = V² ÷ R, which is how the calculator gets any two quantities from the other two.

    Does it work for AC?

    For resistance loads such as heaters and incandescent lamps, yes, with RMS volts and amps. Motors, transformers and capacitors also have reactance, so their current depends on more than the resistance; see the watts to amps calculator for power with a power factor.

    How do I pick a resistor for an LED?

    Subtract the LED's forward voltage from the supply and divide by the current you want. For 5 V, a 2 V LED and 20 mA: 3 V ÷ 20 mA = 150 Ω, dissipating 60 mW. Round up to the next standard resistor value.

    Sources

    • SI Brochure (NIST SP 330), Table 4: SI units with special names

      National Institute of Standards and Technology (NIST). Gives the watt as a joule per second, the volt as a watt per ampere (V = W/A) and the ohm as a volt per ampere (Ω = V/A). Ohm's law (V = I × R) and P = V × I follow from these definitions. View source

    Voltage converterElectric Current converterResistance converterPower converter