Ohm's Law Calculator

Pick the two values you know. The calculator solves the other two for a DC or ideal resistive circuit, shows the formula with your numbers, and suggests a common resistor wattage.

Runs in your browser · No data stored · No signup

Skip to Ohm's law calculator

Loading tool…

By Muhammad Abdullah Rauf · Founder, EverydayTools.proUpdated 2026-10-23

What is Ohm's law and how do you calculate it?

Enter two known quantities in the Ohm's law calculator and leave the other two blank. Choose units such as volts, milliamps, kilohms, or watts. The calculator normalizes the inputs, solves the equations, and shows voltage, current, resistance, and power with the formula used. The model assumes a purely resistive load and is not intended for AC power-factor calculations.

Ohm's law and power formulas

The engine supports all six unordered input pairs. It first converts selected prefixes to SI base units, uses V = IR and P = VI, and checks that all four results are finite and strictly positive.

Formula

V = I × R
I = V / R
R = V / I
P = V × I = I² × R = V² / R
I = √(P / R)
V = √(P × R)

Assumptions

  • DC steady-state or ideal purely resistive behavior.
  • Inputs represent positive voltage, current, resistance, and real power magnitudes.
  • No power factor, frequency dependence, reactance, or motor starting current.

Limitations

  • AC appliances may need apparent power, power factor and reactance — this tool does not calculate these.
  • The 2× wattage line only points at the next value in a 1/8 W to 100 W list. It is not a thermal, pulse, or safety rating.
  • Values of zero or negative quantities are not modeled; this solver accepts positive finite magnitudes.

How to use the Ohm's law calculator

  1. Choose the two values you know

    Select a pair such as voltage and resistance, voltage and current, or power and resistance.

  2. Enter the numbers and units

    Use V, mV, or kV; A, mA, or µA; Ω, kΩ, or MΩ; and W, mW, or kW.

  3. Read volts, amps, ohms, and watts

    The result card shows all four quantities, the formula with your numbers, and the Ohm's law triangle.

  4. Check the resistor wattage note

    When power is solved, the page suggests the next common rating at or above twice that power. That note is a rule of thumb, not a thermal design.

Ohm's law worked examples

12 volts across 6 ohms

Input

V = 12 V; R = 6 Ω

Output

I = 2 A; P = 24 W

Current = 12 ÷ 6 = 2 A. Power = 12 × 2 = 24 W.

5 volts and 20 milliamps

Input

V = 5 V; I = 20 mA

Output

R = 250 Ω; P = 0.1 W

20 mA is 0.020 A. Resistance = 5 ÷ 0.020 = 250 Ω. Power = 5 × 0.020 = 0.1 W.

120 volts and 60 watts

Input

V = 120 V; P = 60 W

Output

I = 0.5 A; R = 240 Ω

Current = 60 ÷ 120 = 0.5 A. Equivalent purely resistive load = 120 ÷ 0.5 = 240 Ω.

Two amps through 10 ohms

Input

I = 2 A; R = 10 Ω

Output

V = 20 V; P = 40 W

Voltage = 2 × 10 = 20 V; power = 2² × 10 = 40 W.

2 amps and 100 watts

Input

I = 2 A; P = 100 W

Output

V = 50 V; R = 25 Ω

Voltage = 100 ÷ 2 = 50 V; resistance = 50 ÷ 2 = 25 Ω.

20 ohms and 80 watts

Input

R = 20 Ω; P = 80 W

Output

I = 2 A; V = 40 V

Current = √(80 ÷ 20) = 2 A; voltage = 2 × 20 = 40 V.

Ohm's law formula reference

Each formula assumes an ideal resistor. V is volts, I is amperes, R is ohms, and P is watts.

FindUse these two known valuesFormula
Voltage (V)I and RV = I × R
Voltage (V)P and RV = √(P × R)
Current (I)V and RI = V ÷ R
Current (I)P and VI = P ÷ V
Resistance (R)V and IR = V ÷ I
Resistance (R)P and IR = P ÷ I²
Power (P)V and IP = V × I
Power (P)I and RP = I² × R

Advertisement

Frequently Asked Questions

How do you calculate amps from volts and ohms?

Divide volts by ohms: I = V/R. For 12 V and 6 Ω, current is 2 A. In this tool the calculation assumes a purely resistive load.

How do you calculate voltage from current and resistance?

Multiply current in amperes by resistance in ohms: V = I × R. At 2 A and 10 Ω, voltage is 20 V.

How do you calculate resistance from voltage and current?

Use R = V/I. For 5 V and 0.02 A (20 mA), R = 250 Ω.

How do you calculate watts from volts and amps?

For a DC or purely resistive load, P = V × I. A 12 V circuit drawing 2 A uses 24 W. For AC loads with a power factor, the real-power formula differs.

Can I calculate Ohm's law with any two values?

Yes. Enter any two positive values among voltage, current, resistance, and power. The other two are calculated from Ohm's law and the resistive power equations.

What is the Ohm's law triangle?

The triangle is a memory aid for V = I × R. Cover V to remember I × R; cover I to remember V/R; cover R to remember V/I.

How many amps is 60 watts at 120 volts?

For an ideal resistive load, I = P/V = 60/120 = 0.5 A. An AC motor or electronic supply can draw a different RMS current because of power factor.

Can I enter milliamps and kilohms?

Yes. The calculator supports mV, V, kV; µA, mA, A; mΩ, Ω, kΩ, MΩ; and mW, W, kW. Input values are converted to base units for the result.

Does the calculator work for AC circuits?

It models DC or ideal, purely resistive loads. General AC calculations require impedance, RMS values, and possibly power factor. Do not rely on this page to size AC motors or building wiring.

What does a zero or negative resistor value mean here?

This solver only supports positive magnitudes. A short circuit, negative differential resistance, signed current direction, or an active device requires a different circuit model.

How do I pick a resistor wattage from the power result?

A common bench rule is to choose a resistor rated at least twice the calculated power. For 24 W, twice the power is 48 W, so the next rating in this page's 1/8 W–100 W list is 50 W. Pulse loads, high ambient temperature, and enclosure limits need a separate thermal check.

Privacy, accuracy, and trust

Privacy

Entered electrical quantities are calculated locally in your browser and are not uploaded.

Educational DC/purely resistive calculations, not installation, AC motor, breaker, or conductor safety advice.

Advertisement

Reviewed on 2026-10-23.

Same workflow or intent — pick the next step without leaving the site.

Frequently opened tools from the same category.

People also use

Cross-category tools others open in the same session.

Explore categories

Browse full tool collections by topic.