What Is Ohm's Law and Why Is It the Foundation of Electrical Engineering?
Ohm's Law is the foundational relationship in electrical engineering. It states that the voltage across a conductor is directly proportional to the current flowing through it, provided temperature remains constant. Georg Simon Ohm published this relationship in 1827, and it underlies the analysis of virtually every electrical circuit built since. The National Institute of Standards and Technology (NIST) maintains the official definitions of the ohm, volt, and ampere as part of the International System of Units (SI). In 2025, NIST developed a prototype instrument that realizes voltage, resistance, and current standards in a single device using quantum physics.
Beyond voltage, current, and resistance, the related power law adds a fourth variable: power. These four quantities describe the complete electrical behavior of any resistive element in a circuit. For calculating power consumption in energy bills, you may also find our Watt Calculator useful.
What This Calculator Does
This calculator solves for any two unknown electrical quantities when two are known. You never need to remember which formula to use: enter what you know and the calculator finds the rest. For related physics calculations, try our Voltage Drop Calculator.
- Inputs: Any two of: Voltage (V), Current (I), Resistance (R), or Power (P)
- Outputs: The remaining two unknown quantities
How the Calculation Works
V = I × R
I = V / R
R = V / I
P = V × I = I² × R = V² / R
- V (Voltage): The electrical potential difference measured in volts (V). Think of it as the pressure pushing current through the circuit
- I (Current): The rate of charge flow measured in amperes (A). This is the amount of electrons passing a point per second
- R (Resistance): The opposition to current flow measured in ohms (Ω). Higher resistance means less current for the same voltage
- P (Power): The rate of energy conversion measured in watts (W). Power dissipated as heat in a resistor equals I² × R
How to Use the Calculator
- Identify which two values you know from your circuit
- Enter those two values in the appropriate fields
- Leave the other two fields empty
- Click Calculate to solve for the unknowns
- Results highlighted in blue are the calculated values
Example Calculations
Example 1: LED Strip Resistor Selection
Alex, an electronics hobbyist in Portland, is building an LED lighting strip. Each LED needs 20 mA (0.02 A) of current from a 12 V supply. The LED drops 3.2 V, leaving 8.8 V for the resistor. Using R = V / I: R = 8.8 / 0.02 = 440 ohms. Power in the resistor = I squared x R = 0.0004 x 440 = 0.176 W. Alex selects a 470 ohm resistor (nearest standard value) rated at 1/4 watt, which provides adequate current limiting and power handling.
Example 2: Electric Heater Power Calculation
Rachel, an engineering student at Georgia Tech, needs to calculate the power output of a 240 V electric heater with a 30 ohm heating element. Using I = V / R: current = 240 / 30 = 8 A. Using P = V x I: power = 240 x 8 = 1,920 W. She verifies with P = V squared / R = 57,600 / 30 = 1,920 W. The heater draws 8 amps and produces 1,920 watts of heat. This confirms the circuit needs a 20 amp breaker and 12 AWG wiring to handle the load safely.
Example 3: Phone Charger Current Draw
Marcus, a maker in Austin, wants to understand how much current his DIY phone charger draws. The charger outputs 5 V through a 5 ohm current-limiting resistor. Using I = V / R: current = 5 / 5 = 1 A. Power dissipated in the resistor = I squared x R = 1 x 5 = 5 W. Marcus realizes this is very inefficient and generates significant heat. He redesigns the circuit with a switching regulator instead, which is over 90% efficient compared to the linear resistor approach.
Real-World Scenarios
Arduino Sensor Integration
Kevin, a robotics engineer in Boston, is connecting a temperature sensor to an Arduino. The sensor draws 10 mA at 5 V. He calculates the current-limiting resistor: R = (5 - 0.7) / 0.01 = 430 ohms. He picks a 470 ohm standard value. The power dissipated is only 0.047 W, so a standard 1/4 watt resistor works. Every time he adds a sensor, motor, or actuator, Ohm's Law tells him whether the component will receive the correct current and whether the Arduino's 5V pin can handle the total load.
Home Circuit Troubleshooting
Linda, a licensed electrician in Denver, diagnoses a flickering overhead light. She measures 118 V at the fixture and 0.8 A of current. The expected resistance of the bulb is 120 / 0.8 = 147.5 ohms. She measures the bulb's resistance at 145 ohms, which is close. The problem turns out to be a loose neutral connection causing voltage drop. Ohm's Law helped her isolate the issue: the voltage and current readings pointed to a connection problem, not a bad bulb. For calculating voltage drop over long wire runs, use our Voltage Drop Calculator.
EV Charging Station Design
Tom, an electrical contractor in California, installs Level 2 EV chargers. A 240 V charger delivering 40 A to the vehicle has an effective resistance of R = 240 / 40 = 6 ohms. The power delivered is P = 240 x 40 = 9,600 W (9.6 kW). He verifies the circuit needs a 50 amp breaker (125% of continuous load per NEC code) and 6 AWG copper wiring. Ohm's Law calculations ensure the installation meets code and delivers the expected charging speed.
Why This Calculation Matters
Ohm's Law is not just for electronics engineers. Electricians use it to size wiring and breakers. Hobbyists use it to safely design LED and battery-powered projects. Automotive technicians use it to diagnose electrical faults in modern vehicles with 12V and 48V systems. According to NIST, the ohm is realized to an uncertainty of 2 parts in 10 billion using the quantum Hall effect, making it one of the most precisely defined units in science. Understanding the relationship between voltage, current, resistance, and power prevents equipment damage, fires, and personal injury.
Common Mistakes to Avoid
- Confusing units: Current must be in amperes, not milliamps. Convert 20 mA to 0.02 A before entering it in the formula. Mixing units is the most common source of calculation errors in circuit analysis
- Applying Ohm's Law to non-linear components: Ohm's Law applies to resistors and purely resistive loads. Diodes, transistors, LEDs, and capacitors do not follow this simple relationship. They have non-linear voltage-current characteristics that require different analysis methods
- Ignoring power ratings: Calculating the correct resistance value is not enough. You must also ensure the resistor's power rating exceeds the calculated wattage. A 1/4 watt resistor dissipating 0.5 watts will overheat and fail. Use a resistor rated at least 2x the calculated power for safety margin
- Assuming fixed resistance: Real resistors change value with temperature. A resistor heating up may shift 100 to 200 ppm per degree Celsius. For precision work, use resistors with low temperature coefficients (metal film or wire-wound types)
- Forgetting wire resistance: In long wire runs, the wire itself adds resistance. 100 feet of 18 AWG wire adds about 0.64 ohms. For high-current circuits, this causes measurable voltage drop and power loss. Always account for wire resistance in low-voltage or long-run circuits
Limitations of This Calculator
This calculator handles DC circuits and purely resistive AC circuits. For AC circuits with capacitors or inductors, you need impedance calculations that account for phase differences between voltage and current. The calculator does not handle complex impedances, reactive power, or power factor corrections. It assumes linear resistive components and does not model temperature effects, wire resistance, or contact resistance. For circuit simulation with non-linear components, use SPICE-based tools like LTspice or Multisim. For power system analysis, consult the National Electrical Code (NEC) and a licensed electrician.
Authoritative Research and Resources
- NIST: SI Units for Electric Current - The National Institute of Standards and Technology provides official definitions of the ampere, volt, and ohm as part of the International System of Units. NIST maintains the quantum Hall resistance standard that realizes the ohm to 2 parts in 10 billion. In 2025, NIST developed a prototype instrument that combines voltage, resistance, and current standards in a single device using quantum physics.
- NIST: All-In-One Electrical Standards Device (2025) - NIST researchers developed one of the first all-in-one instruments for realizing standards for voltage, resistance, and current. This 2025 breakthrough uses the quantum anomalous Hall effect to combine what previously required separate laboratories into a single cryostat, paving the way for compact calibration tools.
- PhET Interactive Simulations: Ohm's Law - The University of Colorado Boulder provides a free interactive simulation that lets students explore Ohm's Law by adjusting voltage and resistance to see how current changes. Widely used in physics and engineering courses at universities nationwide.