Ohm's Law Calculator - Calculate Voltage, Current, Resistance & Power

Ohm's Law Calculator

Enter any 2 values to calculate the other 2 values. Leave the unknown fields empty.

V
A
Ω
W

Ohm's Law Relationships

VIR

Voltage

V = I × R

V = P / I

V = √(P × R)

Current

I = V / R

I = P / V

I = √(P / R)

Resistance

R = V / I

R = V² / P

R = P / I²

Power

P = V × I

P = V² / R

P = I² × R

Understanding Ohm's Law

Quick Summary: Ohm's Law is the fundamental relationship between voltage (V), current (I), resistance (R), and power (P) in electrical circuits. Use this calculator to find any parameter when you know two others. Perfect for electronics design, circuit analysis, and electrical engineering.

What is Ohm's Law?

Ohm's Law, discovered by German physicist Georg Ohm in 1827, is one of the most fundamental principles in electrical engineering and physics. It describes the mathematical relationship between voltage, current, and resistance in an electrical circuit. The law states that the current flowing through a conductor between two points is directly proportional to the voltage across the two points and inversely proportional to the resistance between them.

The basic formula is V = I × R, where V is voltage in volts (V), I is current in amperes (A), and R is resistance in ohms (Ω). This simple yet powerful equation allows engineers and technicians to design circuits, troubleshoot problems, and ensure electrical safety. Understanding Ohm's Law is essential for anyone working with electronics, from hobbyists building their first LED circuit to professional engineers designing complex power systems.

The Complete Ohm's Law Formula Set

While V = I × R is the foundational formula, Ohm's Law extends to 12 formulas that relate voltage, current, resistance, and power. By algebraic manipulation and incorporating power calculations (P = V × I), you can derive all parameters from any two known values:

Voltage (V) Formulas

  • V = I × R (from current and resistance)
  • V = P / I (from power and current)
  • V = √(P × R) (from power and resistance)

Current (I) Formulas

  • I = V / R (from voltage and resistance)
  • I = P / V (from power and voltage)
  • I = √(P / R) (from power and resistance)

Resistance (R) Formulas

  • R = V / I (from voltage and current)
  • R = V² / P (from voltage and power)
  • R = P / I² (from power and current)

Power (P) Formulas

  • P = V × I (from voltage and current)
  • P = V² / R (from voltage and resistance)
  • P = I² × R (from current and resistance)

Practical Applications

1. LED Current Limiting Resistors

One of the most common applications of Ohm's Law is calculating current-limiting resistors for LEDs. LEDs require a specific forward current (typically 10-20mA) and have a forward voltage drop (typically 1.8-3.3V depending on color). To calculate the required resistor:

Example: Connect a red LED (Vf = 2V, If = 20mA) to a 5V power supply:
Step 1: Calculate voltage across resistor: VR = 5V - 2V = 3V
Step 2: Calculate resistance: R = VR / I = 3V / 0.02A = 150Ω
Step 3: Calculate power: P = I² × R = (0.02A)² × 150Ω = 0.06W
Result: Use a 150Ω or 180Ω (next standard value) 1/4W resistor.

2. Power Calculation for Heaters

Electric heaters convert electrical energy to heat, and their power rating determines how much heat they produce. Understanding power calculations helps select appropriate heaters and circuit breakers:

Example: A 1500W space heater on 120V circuit:
Step 1: Calculate current: I = P / V = 1500W / 120V = 12.5A
Step 2: Calculate resistance: R = V / I = 120V / 12.5A = 9.6Ω
Safety Note: This heater requires a 15A circuit breaker minimum (20A recommended) and 14 AWG or thicker wire. Never connect to a circuit with other high-power devices.

3. Voltage Divider Circuits

Voltage dividers use two resistors in series to create a lower voltage from a higher voltage source. They're commonly used in sensor circuits, reference voltages, and signal conditioning:

Example: Create 3.3V from 5V for a microcontroller:
Step 1: Choose R1 = 1kΩ, calculate R2 for Vout = 3.3V
Step 2: Vout = Vin × (R2 / (R1 + R2))
Step 3: 3.3V = 5V × (R2 / (1kΩ + R2)) → R2 ≈ 1.94kΩ (use 2kΩ)
Step 4: Calculate current: I = 5V / (1kΩ + 2kΩ) = 1.67mA
Step 5: Power in each resistor: PR1 = I² × R1 = 0.0028W, PR2 = I² × R2 = 0.0056W
Result: Use 1kΩ and 2kΩ 1/8W resistors. Actual output: 3.33V.

4. Motor Current Draw Analysis

DC motors have internal resistance and draw current proportional to their mechanical load. Understanding motor power helps size power supplies and protection circuits:

Example: 12V DC motor rated at 2A (24W):
Step 1: Internal resistance: R = V / I = 12V / 2A = 6Ω
Step 2: At 50% load (1A): Vdrop = I × R = 1A × 6Ω = 6V
Step 3: Power at 50% load: P = V × I = 12V × 1A = 12W
Design Note: Power supply must provide 12V with at least 2.5A capacity (25% headroom). Use 3A fuse for overcurrent protection.

Power Dissipation and Component Safety

Power dissipation is critical for component reliability and safety. When current flows through resistance, electrical energy converts to heat at a rate of P = I² × R. Exceeding a component's power rating causes overheating, degradation, and failure. Always apply safety factors and consider operating conditions:

Common Resistor Power Ratings

  • 1/8 Watt (0.125W): Small surface-mount and miniature through-hole resistors. Suitable for signal processing, logic circuits, and low-current applications. Physical size: 2-3mm length. Maximum safe power: 0.06W continuous (50% derating).
  • 1/4 Watt (0.25W): Most common size for hobby electronics and general circuits. Suitable for LED drivers (up to 50mA), pullup/pulldown resistors, and voltage dividers. Physical size: 6mm length. Maximum safe power: 0.125W continuous.
  • 1/2 Watt (0.5W): Medium-power applications including power supplies, motor circuits, and audio amplifiers. Physical size: 9mm length. Gets noticeably warm at rated power. Maximum safe power: 0.25W continuous.
  • 1 Watt: High-power circuits, heaters, and power resistors. Requires adequate spacing and airflow. Physical size: 12mm length. Can reach 100-150°C at rated power. Maximum safe power: 0.5W continuous.
  • 2 Watt and above: Specialized power resistors with ceramic or wirewound construction. Used in power electronics, load banks, and braking resistors. Often require heatsinking or forced cooling. Follow datasheet derating curves for temperature.

Power Derating Guidelines

The 50% Rule: Never operate resistors above 50% of their rated power for continuous use (24/7 operation). For intermittent use, 70% is acceptable. This rule ensures long component life and prevents thermal runaway.

Temperature Derating: Most resistors are rated at 25°C (77°F) ambient temperature. For every 10°C increase above this, derate power by 10-20% depending on the resistor type. In 40°C environments (common in enclosures), use 60-70% of rated power. In 60°C environments, use only 40-50% of rated power.

Enclosure Derating: Resistors in enclosed spaces without airflow must be derated by 30-50% because heat cannot dissipate effectively. A 1W resistor in a closed box should be treated as 0.5-0.7W maximum. Use multiple lower-power resistors in parallel or provide forced-air cooling for high-power applications.

Understanding Series and Parallel Circuits

Series Circuits

In series circuits, components connect end-to-end, forming a single path for current. The same current flows through all components, but voltage divides among them:

  • Total Resistance: Rtotal = R1 + R2 + R3 + ... (resistances add directly)
  • Same Current: Itotal = IR1 = IR2 = IR3
  • Voltage Division: VRx = Vtotal × (Rx / Rtotal)
  • Power Division: Higher resistance dissipates more power: PRx = I² × Rx

Example: Three resistors in series: 100Ω, 200Ω, 300Ω with 12V supply:
Rtotal = 100 + 200 + 300 = 600Ω
Itotal = 12V / 600Ω = 0.02A (20mA)
V100Ω = 0.02A × 100Ω = 2V
V200Ω = 0.02A × 200Ω = 4V
V300Ω = 0.02A × 300Ω = 6V (total: 2V + 4V + 6V = 12V ✓)

Parallel Circuits

In parallel circuits, components connect across the same two points, providing multiple paths for current. Voltage is the same across all components, but current divides among them:

  • Total Resistance: 1/Rtotal = 1/R1 + 1/R2 + 1/R3 + ... (reciprocal sum)
  • For Two Resistors: Rtotal = (R1 × R2) / (R1 + R2) (product over sum)
  • Same Voltage: VR1 = VR2 = VR3 = Vtotal
  • Current Division: IRx = Vtotal / Rx (lower resistance takes more current)

Example: Three resistors in parallel: 100Ω, 200Ω, 300Ω with 12V supply:
1/Rtotal = 1/100 + 1/200 + 1/300 = 0.01 + 0.005 + 0.0033 = 0.0183
Rtotal = 1 / 0.0183 ≈ 54.5Ω
I100Ω = 12V / 100Ω = 0.12A (120mA)
I200Ω = 12V / 200Ω = 0.06A (60mA)
I300Ω = 12V / 300Ω = 0.04A (40mA)
Itotal = 120mA + 60mA + 40mA = 220mA ✓

Real-World Design Examples

USB Charging Circuit Design

USB charging provides 5V at various current levels (500mA for USB 2.0, 900mA for USB 3.0, up to 3A for USB-C). Understanding power and resistance helps design safe charging circuits:

Scenario: Design a USB-C fast charger (5V, 3A):
Power delivery: P = 5V × 3A = 15W
Cable resistance (1 meter, 20 AWG): Rcable ≈ 0.033Ω
Voltage drop in cable: Vdrop = 3A × 0.033Ω = 0.099V
Power loss in cable: Ploss = 3A² × 0.033Ω = 0.297W
Design Decision: Use 18 AWG or thicker cable (R ≈ 0.021Ω) to reduce voltage drop to 0.063V and power loss to 0.189W, ensuring efficient power transfer and preventing cable heating.

Solar Panel and Battery System

Solar systems require careful voltage and current calculations for efficient energy harvesting and battery charging:

Scenario: 100W solar panel (18V, 5.56A) charging 12V battery:
Panel power: P = 18V × 5.56A = 100W
Battery voltage: 12V (nominal), 14.4V (charging)
Charge current at 14.4V: I = 100W / 14.4V = 6.94A (with ideal MPPT controller)
Wire sizing (3-meter run): At 7A, use 12 AWG wire (R = 0.0053Ω/ft)
Voltage drop: Vdrop = 7A × (3m × 3.28ft/m × 2 × 0.0053Ω/ft) = 0.73V
Result: Use 10 AWG wire to reduce drop to 0.46V, ensuring 97% efficiency.

Common Mistakes and How to Avoid Them

  • Ignoring Power Ratings: A resistor's resistance value alone doesn't determine its suitability. Always calculate power (P = I² × R) and use a resistor rated at least 2× the calculated value. A 100Ω 1/8W resistor will fail at 100mA (1W dissipation), even though the resistance is correct.
  • Forgetting Unit Conversions: Use consistent units: volts (V), amperes (A), ohms (Ω), and watts (W). Common errors include using milliamps (mA) without converting to amperes, or kilohms (kΩ) without converting to ohms. 20mA = 0.02A, 4.7kΩ = 4700Ω.
  • Misapplying Formulas: V = I × R calculates voltage drop across a resistor, not total supply voltage. For LED circuits, subtract LED forward voltage first: R = (Vsupply - VLED) / I.
  • Not Considering Temperature: Resistance changes with temperature. Carbon resistors vary ±200-500 ppm/°C, metal film ±50-100 ppm/°C. At high temperatures, power ratings decrease. Always check datasheets for derating curves.
  • Overlooking Wire Resistance: Long wire runs have significant resistance, causing voltage drop: Vdrop = I × Rwire. Use wire gauge charts to select appropriate wire for current and length. This is critical in 12V automotive systems and low-voltage DC systems where even 0.5V drop is significant.

Advanced Topics

Non-Ohmic Devices

Ohm's Law applies strictly to ohmic materials where resistance remains constant regardless of voltage or current. However, many devices are non-ohmic, meaning their V-I relationship is non-linear:

  • Diodes and LEDs: Exhibit exponential V-I curves. Below forward voltage, essentially no current flows. Above it, current increases rapidly. Cannot use Ohm's Law directly; must use diode equation or datasheet curves.
  • Thermistors: Temperature-sensitive resistors (NTC: resistance decreases with temperature, PTC: resistance increases). Used in temperature sensing and inrush current limiting.
  • Light-Dependent Resistors (LDR): Resistance varies with light intensity, from 1MΩ (dark) to 1kΩ (bright). Used in automatic lighting circuits.
  • Tungsten Filaments: Incandescent bulbs have low cold resistance that increases 10-15× when hot due to positive temperature coefficient. A 100W 120V bulb measures 15-20Ω cold but operates at 144Ω hot.

AC Circuits and Impedance

In alternating current (AC) circuits, resistance is replaced by impedance (Z), which includes resistance (R), inductive reactance (XL), and capacitive reactance (XC). Ohm's Law extends to: V = I × Z, but calculations involve complex numbers and phase angles. RMS (root mean square) values are used for voltage and current. Standard household AC is 120V RMS at 60Hz (North America) or 230V RMS at 50Hz (Europe).

Safety Considerations

  • Electrical Shock Hazard: Current through the human body causes injury or death. As little as 10mA can cause painful shock, 30mA can cause loss of muscle control, 100mA can cause ventricular fibrillation (heart stops). Body resistance varies: 1000Ω (wet skin) to 100kΩ (dry skin). At 120V, wet hands could draw 120mA—lethal current. Always use GFCI (ground fault circuit interrupter) protection near water.
  • Fire Hazard: Overloaded circuits and undersized components can ignite fires. A 20A circuit on 14 AWG wire (rated 15A) will overheat. Power dissipation in resistors creates heat; a 5W resistor in a 2W application will reach 200-300°C, potentially igniting nearby materials. Use proper wire sizing, fuses, and circuit breakers.
  • Arc Flash Hazard: High-power circuits can produce dangerous electrical arcs when switched or during faults. Arc flash releases intense heat (up to 35,000°F), UV radiation, pressure waves, and molten metal. Working on circuits above 50V requires proper PPE and safety procedures.

Additional Resources

For more information on electrical theory and Ohm's Law applications, visit these authoritative resources:

Related Calculators