Electrical & Electronics

Ohm’s Law Simulator

One resistor, two knowns — current, power and the V–I line, with the resistor rating you need.

Standards: V = IR Format: browser simulator Cost: free, no sign-up Reviewed: November 2026
Ohm’s Law Simulator — live V = IR
The V–I line is straight only because the resistance is constant; a filament lamp or thermistor would curve.

Inputs

12 V
470 Ω

Presets

Current25.53 mA
Power dissipated0.306 W
Current in amps0.0255 A
Conductance0.00213 S
Voltage across R12.0 V
Energy in 1 hour0.0003 kWh
Resistor to use1/2 W
Power margin at 2× rating0.61 W needed

Every number below is substituted from the current input state — change a slider and the arithmetic changes with it.

Ohm’s law
→ I = V/R = 12/470 = 0.0255 A
Power
→ P = V²/R = 12²/470 = 0.306 W
Also
→ P = I²R = (0.0255)² × 470 = 0.306 W
Series / parallel
→ R_series = R₁ + R₂ · 1/R_parallel = 1/R₁ + 1/R₂

Small dissipation, but the resistor’s tolerance still matters: a 5% part on a 1% design changes the current by 5% everywhere downstream.

Practice problem

Ohm’s law is three equations wearing the same coat: V = IR, I = V/R, R = V/I. Which one you need depends on which two quantities you already have, and most circuit mistakes come from applying the wrong one.

This simulator fixes voltage and resistance, computes current and power, and plots the V–I line so the slope — the conductance — is visible rather than abstract.

Three quantities, one relationship

Voltage is the push, current is the flow, resistance is the restriction. Fix any two and the third is determined — which means a resistor is really a device that converts a voltage into a current, and vice versa.

Power is the product of the two: P = VI. Substituting Ohm’s law gives P = I²R and P = V²/R, which are the forms you use when only one of the two is known.

Choosing a resistor rating

A resistor dissipating 0.3 W in a 0.25 W body will run hot and drift. The usual practice is to derate by at least 50% at the expected ambient, so a 0.3 W duty calls for a 1 W part in a warm enclosure.

Power rating is quoted at a reference temperature, often 70 °C, and falls linearly to zero at the maximum body temperature. A part rated 1 W at 70 °C may be good for only 0.5 W at 100 °C.

Worked values

The last two rows dissipate the same power at very different voltages — a reminder that power is a product, and that high voltage at low current can be just as hot as low voltage at high current.

VoltageResistanceCurrentPower
5 V470 Ω10.6 mA53 mW
12 V1 kΩ12 mA144 mW
24 V100 Ω240 mA5.76 W
240 V10 kΩ24 mA5.76 W

Where Ohm’s law does not apply

It fails for anything non-ohmic: diodes, filaments, thermistors, and any component whose resistance changes with voltage or temperature. A diode is not a resistor with a small value; it has an exponential characteristic and needs a different model.

It also fails for reactive components in AC. A capacitor has impedance 1/(jωC) and a inductor jωL — the ratio of voltage to current is still defined, but it depends on frequency and the two are out of phase.

Frequently asked questions

Why does the current fall when I increase resistance?

Because the voltage is held constant. Current is voltage divided by resistance, so doubling the resistance halves the current — and quarters the power, since power goes with current squared.

How do I pick a resistor for an LED?

R = (V_supply − V_LED)/I_LED. For a 5 V supply, a 2 V red LED and 10 mA, that is 300 Ω — and the nearest standard value is 330 Ω, which gives slightly less current and a longer-lived LED.

Does the resistor value drift with temperature?

Yes. A typical metal film part is 50–200 ppm/°C, so a 25 K rise moves a 1 kΩ resistor by 1–5 Ω. That is negligible for most circuits but matters for precision references.

What happens if I exceed the power rating?

The body temperature rises beyond its rated limit, the value drifts, and eventually the film or the solder joint fails. In practice the failure is often a slow drift that ruins calibration before it becomes visible.

BR

Written and reviewed by Bloom Rocket editorial desk

Bloom Rocket is built and maintained by a small independent team. Every page states the equations it implements and the standards it references, so the working can be checked rather than taken on trust.

How these simulators are built and checked →

Keep going

More electrical simulators

All Electrical →