Ohm's Law Calculator

Ohm's Law: V = I × R (voltage = current × resistance). Power formulas: P = V × I = I² × R = V² / R. To solve for any variable, you need two known values. Example: 12V source, 24Ω resistor → I = 12/24 = 0.5A, P = 12 × 0.5 = 6W. LED example: 5V supply, 20mA current → R = 5/0.02 = 250Ω (use 270Ω standard). Unit prefixes: k = ×1000 (kΩ), m = ÷1000 (mA, mW), μ = ÷1,000,000 (μA).

Calculate voltage, current, resistance, or power using Ohm's Law (V=IR) and the power formula (P=IV). Solve for any variable given the other two. Includes NAND, LED, and common circuit presets.

Works OfflineDark ModeNo Ads

Solve For

Presets

Known Values (enter any 2 of the 3 remaining)

Select what to solve for, then enter any 2 of the remaining values to calculate.

How to Use

  1. 1

    Select what to solve for

    Click Voltage (V), Current (I), Resistance (R), or Power (P) to choose your unknown. The selected field becomes read-only and will show the calculated result.

  2. 2

    Enter two known values

    Type any 2 of the 3 remaining values. For example, to find resistance: enter voltage (V) and current (I). Values in standard units: volts, amperes, ohms, watts.

  3. 3

    View all results

    The calculator immediately shows all 4 values — voltage, current, resistance, and power — with automatic unit formatting (kΩ for large values, mA for small currents).

  4. 4

    Copy results

    Click Copy to get all 4 values as formatted text. Use presets (LED, light bulb, USB device) for quick common circuit calculations.

Frequently Asked Questions

What is Ohm's Law?
Ohm's Law states that voltage (V) equals current (I) multiplied by resistance (R): V = I × R. This fundamental relationship in electronics means if you increase voltage while keeping resistance constant, current increases proportionally. If you increase resistance while keeping voltage constant, current decreases. The law was discovered by German physicist Georg Ohm in 1827 and applies to most resistive circuits.
How do I calculate resistance using the ohm law calculator?
To find resistance, select 'Resistance (R)' as the solve-for option, then enter voltage and current. Formula: R = V / I. Example: 12V source with 0.5A current = 12 / 0.5 = 24 ohms. For an LED with 5V supply and 20mA (0.02A) forward current: R = 5 / 0.02 = 250 ohms. Use the nearest standard resistor value (270 or 220 ohms).
How do I calculate power in an electrical circuit?
Power (P) in watts can be calculated three ways: P = V × I (voltage times current), P = I² × R (current squared times resistance), or P = V² / R (voltage squared divided by resistance). Example: a 12V circuit with 2A draws P = 12 × 2 = 24 watts. A 100-ohm resistor at 10V dissipates P = 100 / 100 = 1 watt. Always check the power rating of resistors to prevent overheating.
What is the difference between voltage, current, and resistance?
Voltage (V, volts) is the electrical pressure or potential difference that drives current through a circuit — like water pressure in a pipe. Current (I, amperes) is the flow rate of electric charge — like the volume of water flowing. Resistance (R, ohms) opposes the flow of current — like pipe friction. Higher resistance means less current for the same voltage. Power (P, watts) = voltage × current = energy consumed per second.
How do I calculate the correct resistor for an LED?
To calculate the series resistor for an LED: R = (Vsupply - Vforward) / Iforward. A typical red LED has Vforward ≈ 2V and needs Iforward = 20mA (0.02A). With a 5V supply: R = (5 - 2) / 0.02 = 150 ohms. Use the nearest standard value (150Ω or 220Ω). Power dissipated in the resistor: P = (Vsupply - Vforward) × Iforward = 3 × 0.02 = 0.06W. A 1/4W resistor is sufficient.
What are the limitations of Ohm's Law?
Ohm's Law applies to linear (ohmic) resistors where resistance is constant regardless of voltage or current. It does not apply to non-linear devices such as diodes (resistance varies with forward voltage), transistors (controlled by base current), LEDs (threshold voltage behavior), batteries (internal resistance changes with state of charge), or components at extreme temperatures. In AC circuits, impedance (Z) replaces resistance to account for capacitive and inductive reactance.

Ohm's Law Formula Wheel

Solve ForFormula 1Formula 2Formula 3
Voltage (V)V = I × RV = P / IV = sqrt(P × R)
Current (I)I = V / RI = P / VI = sqrt(P / R)
Resistance (R)R = V / IR = V² / PR = P / I²
Power (P)P = V × IP = V² / RP = I² × R

Common Component Voltage and Current Ratings

ComponentTypical VoltageTypical CurrentNotes
Red/Yellow LED1.8–2.2V forward20mANeed series resistor
Blue/White/Green LED3.0–3.5V forward20mAHigher forward voltage
USB 2.05VUp to 500mA2.5W max
USB-C PD5–20VUp to 5A100W max
AA Battery1.5V~1A maxInternal resistance ~1Ω
9V Battery9V~500mA maxInternal resistance ~2Ω
Arduino 5V Pin5V200mA maxShared with USB
Raspberry Pi 3.3V3.3V50mA maxGPIO pin limit

Related Tools