Xerobit

Ohms Law Calculator: Find Voltage, Current, Resistance and Power

Enter any two known electrical values to calculate the remaining two using Ohms law. This ohms law calculator solves for voltage (V), current (I), resistance (R) and power (P) instantly. It runs entirely in your browser, so no data is uploaded anywhere.

Result

  • Resistance (R)
    6 Ω
  • Power (P)
    24 W

How to use the ohms law calculator

  1. Enter any two known values: voltage (V), current (I), resistance (R) or power (P).
  2. Leave the two fields you want to calculate blank.
  3. The results update automatically as you type.
  4. Use the calculated values to size components or verify a circuit.

How the ohm law formulas work

Ohms law defines the relationship between voltage, current and resistance in an electrical circuit. The core formula is:

V = I × R

Power is derived by combining Ohms law with Joules law (P = V × I). By substituting variables, you get three equivalent power formulas:

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

For example, if a circuit has 12 volts and draws 2 amps, the resistance is R = V / I = 12 / 2 = 6 Ω. The power consumed is P = V × I = 12 × 2 = 24 W. This voltage current resistance calculator handles all six possible input pairs automatically.

Common value reference table

This table shows typical scenarios solved with the ohm law equations. Each row assumes exactly two inputs are known.

Voltage (V)Current (I)Resistance (R)Power (P)Typical use
5 V0.02 A250 Ω0.1 WStandard LED
12 V1 A12 Ω12 WAutomotive accessory
120 V0.5 A240 Ω60 WIncandescent bulb
230 V8.7 A26.4 Ω2,000 WElectric kettle
9 V0.015 A600 Ω0.135 WTransistor radio

Practical uses for this power calculator watts tool

Engineers, hobbyists and electricians use these calculations daily. Here are common situations where this ohms law calculator saves time:

  • Sizing resistors for LEDs: Subtract the LED forward voltage from the supply voltage, then divide by the desired current to find the required resistance.
  • Checking wire gauge capacity: Calculate the current draw of a load to ensure the wire can handle it without overheating.
  • Battery life estimation: Knowing the current draw lets you divide the battery capacity (in amp-hours) by the current to estimate runtime.
  • Fuse selection: Determine the maximum expected current to choose a fuse that protects the circuit without nuisance blowing.

Common mistakes and edge cases

A frequent error is mixing units. Always convert milliamps to amps (divide by 1,000) and kilohms to ohms (multiply by 1,000) before entering values into the voltage current resistance calculator. Entering 20 mA as 20 instead of 0.02 will give results off by a factor of 1,000.

Another issue is providing contradictory inputs. If you enter V = 10, I = 2 and R = 3, those values violate Ohms law because 10 / 2 = 5, not 3. This tool requires exactly two known values to avoid ambiguity.

Zero resistance represents a short circuit. Mathematically, dividing voltage by zero resistance yields infinite current, which is physically impossible but indicates a fault condition. This calculator rejects zero for current and resistance when they are used as divisors.

Background on Georg Ohm

Georg Simon Ohm published his law in 1827 after experimenting with voltaic cells and wires of different lengths. He discovered that the current through a conductor is directly proportional to the voltage across it and inversely proportional to its resistance. The unit of resistance, the ohm (Ω), was named in his honor.

Ohms law applies to ohmic materials where resistance stays constant regardless of voltage. Components like diodes, transistors and incandescent filaments are non-ohmic: their resistance changes with voltage or temperature. For those devices, the law gives an instantaneous snapshot rather than a fixed relationship.

Worked examples

Each result below was produced by the same code the tool runs, so you can check your own numbers against them.

ExampleInputResult
LED resistor sizingVoltage (V): 5; Current (I): 0.02Resistance (R): 250 Ω; Power (P): 0.1 W
Household applianceVoltage (V): 120; Power (P): 1500Current (I): 12.5 A; Resistance (R): 9.6 Ω
Car battery loadCurrent (I): 10; Resistance (R): 1.2Voltage (V): 12 V; Power (P): 120 W
Known power and resistanceResistance (R): 4; Power (P): 100Voltage (V): 20 V; Current (I): 5 A

FAQ

What is Ohms law?

Ohms law states that voltage equals current multiplied by resistance (V = I x R). It is the foundational equation for analyzing DC electrical circuits.

How do I calculate watts from volts and amps?

Multiply voltage by current: P = V x I. For example, 120 volts at 2 amps produces 240 watts.

Can I use this ohms law calculator for AC circuits?

This tool works for DC circuits and purely resistive AC circuits. For AC circuits with capacitors or inductors, impedance replaces resistance and phase angles must be considered.

Why do I need to enter exactly two values?

The system has four variables linked by two independent equations. Two knowns uniquely determine the other two. One value leaves infinite solutions, while three may contradict each other.

What happens if I enter milliamps instead of amps?

Your results will be wrong by a factor of 1,000. Always convert to base units first: divide milliamps by 1,000 to get amps, and multiply kilohms by 1,000 to get ohms.

Is my circuit data sent to a server?

No. All calculations happen locally in your browser. Nothing is transmitted over the network.