Solve Ohm's Law

Calculate voltage, current, resistance, and power using Ohm's Law with an interactive circuit diagram.

The Ohm's Law Solver is an advanced calculator that uses V = IR to solve for any unknown variable when two are provided. It features auto-detection of the unknown variable, power calculations using all three formulas (P = VI, P = I²R, P = V²/R), unit prefix formatting for readability, a live SVG circuit diagram, and an Ohm's Law wheel showing all 12 fundamental formulas. Ideal for students, engineers, and hobbyists working with electrical circuits.

Calculating...
Your data stays in your browser
Tutorial

How to Use the Ohm's Law Solver

1
1

Enter two known values

Type numeric values into any two of the three fields: Voltage (V), Current (I), or Resistance (R). The tool auto-detects which variable to solve.

2
2

Review all results

The solver instantly shows all four values (V, I, R, P) with proper unit prefixes. Three separate power formulas are displayed for verification.

3
3

Use the circuit diagram

The SVG circuit diagram updates in real time, showing your voltage, current, and resistance values on a simple circuit schematic.

4
4

Copy and share

Hover over any result card to copy its value. The URL updates automatically with your inputs for easy sharing.

Guide

Complete Guide to Ohm's Law

What Is Ohm's Law?

Ohm's Law, discovered by German physicist Georg Simon Ohm in 1827, is the most fundamental relationship in electrical engineering. It states that the current through a conductor between two points is directly proportional to the voltage across the two points, expressed as V = IR. Here, V is voltage measured in volts (V), I is current in amperes (A), and R is resistance in ohms (Ω). This simple equation forms the basis of all circuit analysis and design.

The Power Relationship

Electric power (P), measured in watts (W), describes the rate of energy transfer in a circuit. Three equivalent formulas relate power to voltage, current, and resistance: P = V × I gives power from voltage and current; P = I² × R gives power from current and resistance; P = V² / R gives power from voltage and resistance. These formulas are essential for determining component ratings, heat dissipation, and energy consumption in any electrical system.

Practical Applications

Ohm's Law is used every day in circuit design, from choosing resistor values for LEDs to sizing wire gauges for building wiring. Electronics engineers use it to calculate current draw, voltage drops across components, and power dissipation. Electricians rely on it for load calculations and safety compliance. Even hobbyists building Arduino or Raspberry Pi projects use Ohm's Law to protect components from overcurrent damage.

Limitations and Real-World Considerations

Ohm's Law assumes a linear (ohmic) relationship between voltage and current, which holds for most metallic conductors at constant temperature. Non-ohmic devices like diodes, transistors, and thermistors do not follow this simple relationship. Temperature changes affect resistance in most materials. In AC circuits, impedance replaces resistance and includes the effects of capacitance and inductance. Despite these limitations, Ohm's Law remains the starting point for virtually all electrical analysis.

Examples

Worked Examples

Example: Finding Current Through a Resistor

Given: A 12V battery connected to a 4Ω resistor.

1

Step 1: Identify knowns: V = 12V, R = 4Ω, solve for I.

2

Step 2: Apply Ohm's Law: I = V / R = 12 / 4.

3

Step 3: I = 3A. Power: P = V × I = 12 × 3 = 36W.

Result: The current is 3 amperes and the resistor dissipates 36 watts of power.

Example: Calculating LED Resistor Value

Given: 5V supply, LED forward voltage 2V, desired current 20mA (0.02A).

1

Step 1: Voltage across resistor: V = 5 - 2 = 3V.

2

Step 2: Apply Ohm's Law: R = V / I = 3 / 0.02.

3

Step 3: R = 150Ω. Power: P = V × I = 3 × 0.02 = 0.06W (60mW).

Result: Use a 150Ω resistor rated for at least 0.06W (a standard 1/4W resistor works).

Example: Power Dissipation in a Heater

Given: A 240V heater element with 24Ω resistance.

1

Step 1: Find current: I = V / R = 240 / 24 = 10A.

2

Step 2: Power via P = VI: P = 240 × 10 = 2400W.

3

Step 3: Verify via P = V²/R: P = 57600 / 24 = 2400W.

Result: The heater draws 10A and dissipates 2400W (2.4kW) of power.

Use Cases

Use Cases

LED Current Limiting

Determine the correct resistor value to limit current through an LED. For a 5V supply with a 2V LED needing 20mA, enter V=3 and I=0.02 to find R=150Ω.

Power Supply Design

Calculate the current draw of a device given its resistance and supply voltage. Essential for sizing power supplies and selecting fuses.

Heat Dissipation Analysis

Use the power calculations to determine how much heat a resistor will dissipate. All three power formulas help verify the result.

Educational Homework

Solve physics and electronics homework problems by entering known values and instantly seeing the step-by-step relationship between all variables.

Formula

Formulas Used

Ohm's Law

V=I×RV = I \times R
VariableMeaning
Vvoltage (V)
Icurrent (A)
Rresistance (Ω)

Electric Power (from V and I)

P=V×IP = V \times I
VariableMeaning
Ppower (W)
Vvoltage (V)
Icurrent (A)

Electric Power (from I and R)

P=I2×RP = I^2 \times R
VariableMeaning
Ppower (W)
Icurrent (A)
Rresistance (Ω)

Electric Power (from V and R)

P=V2/RP = V^2 / R
VariableMeaning
Ppower (W)
Vvoltage (V)
Rresistance (Ω)

Frequently Asked Questions

?What is Ohm's Law?

Ohm's Law is a fundamental principle in electrical engineering stating that voltage (V) equals current (I) multiplied by resistance (R): V = I × R. It describes the linear relationship between these three quantities in a conductor.

?How does auto-detection work?

The solver checks which two fields have valid numeric values and automatically solves for the missing third variable. If you fill V and I, it solves for R. If you fill V and R, it solves for I. If you fill I and R, it solves for V.

?How is power calculated?

Power is calculated using three equivalent formulas: P = V × I (voltage times current), P = I² × R (current squared times resistance), and P = V² / R (voltage squared divided by resistance). All three produce the same result and are shown for verification.

?What are unit prefixes?

The solver automatically formats values with SI prefixes for readability. For example, 0.005A displays as 5mA, and 1000Ω displays as 1kΩ. Supported prefixes include μ (micro), m (milli), k (kilo), M (mega), and G (giga).

?Can I share my calculations?

Yes. The URL updates automatically with your input values as query parameters. Copy the URL to share your exact calculation with anyone.

?Is this tool free and private?

Yes. The solver is completely free, requires no registration, and runs entirely in your browser. No data is sent to any server; all calculations happen locally on your device.

?Does it work for AC circuits?

This solver uses the basic DC form of Ohm's Law (V = IR). For AC circuits with impedance, you would need to account for capacitance and inductance, which require complex impedance calculations beyond this tool's scope.

?What happens if I enter zero or negative values?

Division by zero (e.g., I=0 when solving for R) is handled gracefully and no result is shown. Negative values are mathematically valid and may represent reverse polarity in circuit analysis.

Related Tools

Help us improve

How do you like this tool?

Every tool on Kitmul is built from real user requests. Your rating and suggestions help us fix bugs, add missing features and build the tools you actually need.

Rate this tool

Tap a star to tell us how useful this tool was for you.

Suggest an improvement or report a bug

Missing a feature? Found a bug? Have an idea? Tell us and we'll look into it.

Recommended Reading

Recommended Books on Electrical Engineering & Circuit Analysis

As an Amazon Associate we earn from qualifying purchases.

Boost Your Capabilities

Essential Electronics Tools & Kits

As an Amazon Associate we earn from qualifying purchases.

Newsletter

Get Free Productivity Tips & New Tools First

Join makers and developers who care about privacy. Every issue: new tool drops, productivity hacks, and insider updates — no spam, ever.

Priority access to new tools
Unsubscribe anytime, no questions asked