Ohm's Law Calculator (V, I, R, P)
This Ohm's Law calculator solves voltage (V), current (I), resistance (R) and power (P) in a DC or purely resistive circuit. Enter any two of the four, in the units you already have (mV, mA, kΩ, mW and so on), and it returns the other two using V = I × R and P = V × I. It also tells you which standard resistor power rating to buy, so it doubles as a power dissipation and resistor wattage calculator.
Fill in any two boxes; the other two are calculated. Typing in a third box replaces the oldest one.
Resistor power rating: a power resistor of at least 72 W (about twice the 36 W it dissipates)
V = I × R · P = V × I = I²R = V²/R. For DC and purely resistive AC loads (use RMS values for AC).
FreeNo sign-upPrivate — runs in your browser, nothing is uploaded
Quick answer
Ohm's Law states that voltage equals current times resistance: V = I x R. Voltage (V) is measured in volts, current (I) in amperes, and resistance (R) in ohms. Power is found with P = V x I, which can also be written as P = I squared x R or P = V squared / R, measured in watts.
Formula & method
V = I × R • P = V × I = I²R = V²/R
V = voltage (volts), I = current (amperes), R = resistance (ohms), P = power (watts). For DC circuits.
Examples
Example 1: Solving for current from voltage and resistance
- Input
- V = 12 V, R = 4 ohms
- Result
- I = 3 A, P = 36 W
- Why
- Rearranging V = I x R gives I = V / R = 12 / 4 = 3 amperes. Power is P = V x I = 12 x 3 = 36 watts. This is a typical scenario for a 12-volt DC load such as a small heating element.
Example 2: Solving for resistance from voltage and current
- Input
- V = 9 V, I = 0.5 A
- Result
- R = 18 ohms, P = 4.5 W
- Why
- Rearranging V = I x R gives R = V / I = 9 / 0.5 = 18 ohms. Power is P = V x I = 9 x 0.5 = 4.5 watts. This is useful when sizing a series resistor for a 9-volt battery circuit.
Example 3: Solving for voltage from current and resistance
- Input
- I = 2 A, R = 5 ohms
- Result
- V = 10 V, P = 20 W
- Why
- Using V = I x R = 2 x 5 = 10 volts directly. Power can be found with P = I squared x R = (2 x 2) x 5 = 20 watts, which matches P = V x I = 10 x 2 = 20 watts.
Example 4: Solving from power and voltage (a 60 W, 12 V load)
- Input
- P = 60 W, V = 12 V
- Result
- I = 5 A, R = 2.4 ohms
- Why
- I = P / V = 60 / 12 = 5 amperes and R = V² / P = 144 / 60 = 2.4 ohms. A device's power rating and supply voltage are enough to find the current it draws and its effective resistance.
Example 5: Resistor power rating for an LED series resistor
- Input
- R = 330 ohms, I = 20 mA
- Result
- V = 6.6 V, P = 0.132 W → choose a 1/2 W resistor
- Why
- P = I² × R = 0.02² × 330 = 0.132 W. Doubling for margin gives 0.264 W, so the next standard rating is 1/2 W; a 1/4 W part would leave less than a 2× margin.
When to use this tool
- Sizing a current-limiting resistor for an LED or other component on a known supply voltage.
- Checking how much current a load will draw from a battery or DC power supply before connecting it.
- Estimating the power (in watts) a resistor or device will dissipate, to choose a part with an adequate power rating.
- Diagnosing a circuit by comparing measured voltage, current and resistance against the values Ohm's Law predicts.
- Learning or teaching the fundamental relationship between voltage, current, resistance and power in DC electronics.
Common mistakes
- Mixing up milliamps and amps. Pick the unit next to each box (µA, mA or A) instead of converting by hand; 250 mA is 0.25 A.
- Choosing a resistor rated exactly at the power it dissipates. A resistor at its full rating runs hot; pick about twice the calculated power (a 0.18 W load needs a 1/2 W part).
- Forgetting that resistance cannot be zero when dividing. I = V / R is undefined for R = 0, which would represent an idealised short circuit.
- Assuming Ohm's Law applies to every component. It holds for ohmic (linear) resistors at constant temperature, but not directly for non-ohmic devices like diodes, LEDs or filament lamps whose resistance changes.
- Treating these DC formulas as exact for reactive AC circuits. With capacitors or inductors, impedance replaces resistance and P = V × I gives only apparent power.
Frequently asked questions
What is Ohm's Law in simple terms?
Ohm's Law says that the current flowing through a conductor is directly proportional to the voltage across it and inversely proportional to its resistance. In equation form this is V = I x R, where V is voltage in volts, I is current in amperes and R is resistance in ohms. It was named after the German physicist Georg Simon Ohm.
How do I calculate power with Ohm's Law?
Electrical power in watts is the product of voltage and current: P = V x I. By substituting Ohm's Law, you can also write P = I squared x R or P = V squared / R. All three forms give the same answer; you simply choose the one that uses the values you already know.
What are the units for voltage, current, resistance and power?
Voltage is measured in volts (V), current in amperes or amps (A), resistance in ohms (the symbol is the Greek letter omega), and power in watts (W). The tool lets you pick µA, mA or A (and similar prefixes) next to each box; if you work the formulas by hand, convert to base units first (250 mA = 0.25 A).
What is the Ohm's Law triangle?
The V = I x R triangle is a memory aid with V at the top and I and R along the bottom. Cover the quantity you want to find: covering V leaves I x R, covering I leaves V over R, and covering R leaves V over I. It is a quick way to recall the three rearrangements of the formula.
Does Ohm's Law work for AC circuits?
This calculator uses the direct current (DC) form of Ohm's Law. In alternating current (AC) circuits, components such as capacitors and inductors add reactance, so the simple resistance R is replaced by impedance, and real power depends on the power factor. For purely resistive DC circuits, the formulas here apply directly.
Why does my real circuit not match the calculated value?
Several factors can cause differences: components have manufacturing tolerances, resistance changes with temperature, wires and connections add small resistances, and non-ohmic parts like diodes and lamps do not follow a constant resistance. The calculator assumes an ideal ohmic resistor at a fixed temperature.
What power rating should my resistor have?
Calculate the power it dissipates (P = I² × R or V² / R) and choose a standard rating of at least twice that value: 1/8, 1/4, 1/2, 1, 2 or 5 W. The calculator shows this choice under the results. A resistor run at its full rating gets hot and fails sooner.
Can I enter power and resistance instead of voltage?
Yes. Any two of the four quantities work. From power and resistance, V = √(P × R) and I = √(P / R); from power and current, V = P / I and R = P / I².
Sources & references
- Ohm's law - Wikipedia
- Ohm's law | Physics, Electric Current, Voltage - Britannica
- Calculating Electric Power - All About Circuits (Electronics Textbook)
External references open in a new tab. We are independent and not affiliated with these organizations.
- Free
- No sign-up
- Runs entirely in your browser — nothing is uploaded.
- Formula and method shown above
Provided “as is” for general information only — results may be inaccurate, so verify before you rely on them. No warranty; use at your own risk.
Built and reviewed by HIFreeTools against the formula shown above and any authoritative references cited on this page. See our methodology and editorial standards below.
Related tools
- LED Resistor CalculatorScience
- Voltage Divider CalculatorScience
- Parallel Resistance CalculatorScience
- Resistor Color Code CalculatorScience
- Battery Capacity (mAh) CalculatorScience
- RC Time Constant CalculatorScience
- Combined Gas Law CalculatorScience
- Electricity Cost CalculatorScience
- Ideal Gas Law CalculatorScience
- Power CalculatorScience
Embed this tool on your site
Free to embed, no sign-up. Paste this code where you want the tool to appear: