PublicSoftTools
Tools16 min read·PublicSoftTools Team·May 2026

Ohm's Law Calculator — Voltage, Current, Resistance, and Power

Ohm's law (V = IR) is the foundational relationship in electrical circuit analysis. Combined with the power equations, it lets you calculate any electrical quantity from any two known quantities. The free Ohm's law calculator on PublicSoftTools computes all four values — voltage, current, resistance, and power — with step-by-step working for educational and practical use.

The Four Electrical Variables

SymbolQuantityUnitDefinition
VVoltageVolts (V)Electrical potential difference — the "pressure" driving current through a circuit
ICurrentAmperes (A)Rate of flow of electric charge — how many electrons pass a point per second
RResistanceOhms (Ω)Opposition to current flow in a conductor — converts electrical energy to heat
PPowerWatts (W)Rate of energy conversion — how much energy the circuit uses per second

Ohm's Law Formulas

FindPrimary formulaAlternative 1Alternative 2
Voltage (V)V = I × RV = P / IV = √(P × R)
Current (I)I = V / RI = P / VI = √(P / R)
Resistance (R)R = V / IR = V² / PR = P / I²
Power (P)P = V × IP = I² × RP = V² / R

How to Use the Ohm's Law Calculator

  1. Open the Ohm's law calculator.
  2. Enter any two of the four values (V, I, R, or P). Leave the other two fields blank.
  3. Click Calculate. The tool selects the appropriate formula combination and computes both missing values.
  4. The result shows the formula used, the substituted values, and the numerical answer with appropriate units.

Worked Examples

ScenarioGivenSolutionPractical note
LED lightingV = 12V, R = 470ΩI = 12/470 ≈ 0.026A (26 mA); P = 12 × 0.026 ≈ 0.31WCheck LED datasheet: max forward current is typically 20–30 mA
Household applianceP = 1200W, V = 230V (UK)I = 1200/230 ≈ 5.2AUsed to select correct fuse rating (6A fuse appropriate)
Battery packV = 9V, I = 0.5AR = 9/0.5 = 18Ω; P = 9 × 0.5 = 4.5WTotal power draw from battery in the circuit

Understanding the Ohm's Law Triangle

The classic Ohm's law triangle is a memory aid for the three primary relationships. Place V at the top of the triangle, I and R at the bottom corners. To find any variable, cover it and read the remaining formula:

The power triangle is analogous with P at the top, V and I at the bottom: P = VI (cover P), V = P/I (cover V), I = P/V (cover I). These triangles are visual shortcuts, but understanding the physics behind each formula produces more reliable calculation than mechanical formula selection.

Series vs. Parallel Circuits

Series circuits

In a series circuit, components are connected end-to-end in a single path. Key properties:

Apply Ohm's law to the total circuit (using R_total and V_total) to find total current, then apply it again to individual components to find individual voltages.

Parallel circuits

In a parallel circuit, components are connected across the same two nodes. Key properties:

For two resistors in parallel: R_total = (R₁ × R₂) / (R₁ + R₂). This is often called the "product over sum" formula.

Practical Applications

Selecting resistors for LEDs

LEDs require a current-limiting resistor to prevent burning out. To choose the correct resistor:

  1. Find the LED's forward voltage (V_f) from the datasheet — typically 1.8–3.3V depending on colour.
  2. Find the LED's recommended forward current (I_f) — typically 10–20 mA.
  3. Apply Ohm's law: R = (V_supply − V_f) / I_f
  4. Example: 5V supply, red LED (V_f = 2V, I_f = 20 mA): R = (5−2) / 0.02 = 150Ω. Use the nearest standard resistor value (150Ω or 180Ω).

Fuse selection

Fuses protect circuits by breaking the circuit when current exceeds a safe level. To select the correct fuse: calculate normal operating current using I = P/V (for a 230V appliance drawing 500W: I = 500/230 ≈ 2.2A). Choose a fuse rated slightly above normal current (3A fuse) — not 10 times above, which would not protect the circuit.

Cable sizing

Long cable runs add resistance, causing voltage drop. The resistance of a copper cable is R = ρL/A, where ρ is the resistivity (1.68 × 10⁻⁸ Ω·m for copper), L is the length (m), and A is the cross-sectional area (m²). For significant cable runs, calculate the voltage drop V = I × R_cable and ensure it stays within acceptable limits (typically <3% of supply voltage for UK/IET regulations).

Battery life estimation

If you know a battery's capacity in mAh and the circuit's current draw in mA, battery life = capacity / current. But current draw often requires Ohm's law first: if you know voltage (battery voltage) and resistance (circuit load), then I = V/R. Battery life = capacity / I.

Limitations of Ohm's Law

Ohm's law applies to linear (ohmic) components — resistors at constant temperature. Many real-world components are non-linear and do not follow V = IR with constant R:

For DC circuits with resistors, Ohm's law is exact. For AC circuits, use impedance (Z) instead of resistance (R), and the relationship becomes V = IZ where Z is a complex number. The calculator handles DC resistive circuits only.

Safety Note for Practical Applications

Always verify calculations before working on live circuits. Mains voltage (230V in Europe, 120V in North America) is lethal — even seemingly small currents above 100 mA through the body can be fatal. For any mains-connected work, consult a qualified electrician. The Ohm's law calculator is provided for educational and low-voltage hobby electronics use.

Common Questions

What is the difference between AC and DC for Ohm's law?

For pure resistors, Ohm's law works the same in both AC and DC circuits using peak or RMS values consistently. For AC circuits with capacitors or inductors, resistance must be replaced with impedance (Z), which includes a reactive component. Use the calculator for DC resistive circuits or AC circuits where only resistors are involved.

Why does more resistance mean less current?

From I = V/R: with constant voltage, increasing R decreases I proportionally. Resistance opposes the flow of charge — the more opposition, the fewer electrons can flow per second. Think of voltage as water pressure in a pipe and resistance as the pipe's narrowness: higher pressure (voltage) drives more flow; narrower pipe (resistance) restricts it.

Can resistance be negative?

In passive components (resistors), resistance is always positive. However, some active circuit configurations (like tunnel diodes in their negative-resistance region, or active feedback circuits) can exhibit apparent negative resistance — where increasing voltage decreases current. These are advanced concepts outside the scope of simple Ohm's law; the calculator assumes positive resistance.

What is the relationship between watts and joules?

Power (watts) is the rate of energy (joules) conversion: 1 watt = 1 joule per second. A 100W light bulb converts 100 joules of electrical energy to light and heat every second. To find total energy consumed, multiply power by time: E = P × t. One kilowatt-hour (kWh, as used in electricity bills) = 1,000 W × 3,600 s = 3,600,000 J = 3.6 MJ.

Calculate Voltage, Current, Resistance, and Power

Enter any two electrical values to instantly find the other two — with step-by-step working.

Open Ohm's Law Calculator