The direct answer to the question "what is the equation for ohms law" is V = I × R (Voltage = Current × Resistance). This foundational equation defines the linear relationship between electrical potential difference (voltage), the flow of charge (current), and the opposition to that flow (resistance) in a circuit. If you push 1 Ampere of current through a 1 Ohm resistor, you will measure exactly 1 Volt of potential difference across it.
While hobbyists memorize the triangle, professional electrical engineers understand that this macroscopic formula is derived from the microscopic behavior of electron drift in conductive materials. Below, we break down the physics derivation, the rearranged forms, and practical bench examples with strict unit tracking to ensure your designs do not fail when you move from the simulator to the breadboard.
The Physics Derivation and Symbol Definitions
Before looking at the macroscopic circuit equation, it is critical to understand where it comes from. Ohm’s Law is not a fundamental law of the universe like Newton’s laws; it is an empirical observation about how specific materials (ohmic conductors) behave. The microscopic form of Ohm’s Law relates current density (J) to the electric field (E) via the material’s conductivity (σ):
J = σE
- Current density J is total current (I) divided by cross-sectional area (A): J = I / A
- The electric field E is voltage (V) divided by conductor length (L): E = V / L
- Conductivity σ is the inverse of resistivity (ρ): σ = 1 / ρ
Substituting these into the microscopic equation yields: I / A = (1 / ρ) × (V / L). Rearranging to solve for V gives: V = I × (ρL / A). Because the resistance of a uniform conductor is defined as R = ρL / A, we arrive at the macroscopic equation: V = I × R.
Bench Tip: This derivation proves why wire length and gauge matter. If you double the length (L) of a wire, you double its resistance (R). If you double the cross-sectional area (A) by moving from 14 AWG to 11 AWG, you halve the resistance. For a deeper look at standard wire geometries, consult the NIST guide on SI units and standard AWG tables.
| Symbol | Quantity | Base SI Unit | Unit Symbol | Practical Definition |
|---|---|---|---|---|
| V (or E) | Voltage (Electromotive Force) | Volt | V | The electrical pressure or potential difference pushing electrons through the circuit. |
| I | Current | Ampere | A | The volume of electron flow passing a specific point per second (1 A = 1 Coulomb/sec). |
| R | Resistance | Ohm | Ω | The physical opposition to current flow, converting electrical energy into heat. |
Rearranged Forms for Circuit Analysis
On the workbench, you rarely know all three variables. You must algebraically rearrange the formula to solve for the unknown. Memorize these three forms to eliminate basic algebra errors during time-sensitive troubleshooting:
- To find Voltage: V = I × R (Use when sizing power supplies or checking voltage drop)
- To find Current: I = V / R (Use to verify if a fuse will blow or a breaker will trip)
- To find Resistance: R = V / I (Use to select current-limiting resistors or identify an unknown load)
For a comprehensive breakdown of how these variables interact in complex DC networks, the All About Circuits DC textbook chapter on Ohm’s Law provides excellent foundational reading.
Worked Examples with Strict Unit Tracking
The most common reason DIY electronics projects fail or components catch fire is poor unit tracking. You must convert all prefixes (milli, kilo, micro) to base SI units before calculating. Below are two real-world scenarios.
Problem 1: Sizing a Current-Limiting Resistor for an LED
Scenario: You are driving a standard red 5mm LED from the 5V VCC pin of an Arduino Nano. The LED datasheet specifies a forward voltage (Vf) of 2.1V and a target continuous forward current of 20mA. What resistor value do you need?
- Identify the voltage across the resistor: The LED consumes 2.1V. The remaining voltage must be dropped across the resistor.
V_resistor = V_source - V_LED = 5.0V - 2.1V = 2.9V - Convert current to base SI units:
I = 20mA = 0.020A - Apply the rearranged formula (R = V / I):
R = 2.9V / 0.020A = 145Ω - Select a standard part: 145Ω is not a standard E12 series value. Round up to the next available value to keep current slightly below the 20mA maximum.
Concrete Pick: Use a 150Ω 1/4W carbon film resistor.
Problem 2: Calculating Voltage Drop on a 120V Branch Circuit
Scenario: You are wiring a 120V AC outlet for a space heater drawing 12A. The run from the panel to the outlet is 50 feet. Because current must travel out and back, the total wire length is 100 feet. You are using 14 AWG solid copper THHN wire.
- Determine wire resistance: 14 AWG copper has a resistance of approximately 2.525Ω per 1,000 feet at 75°C.
R_wire = (100 ft / 1000 ft) × 2.525Ω = 0.2525Ω - Apply the formula (V = I × R):
V_drop = 12A × 0.2525Ω = 3.03V - Check realistic magnitude: A 3.03V drop on a 120V nominal system is a 2.52% drop. The National Electrical Code (NEC) recommends a maximum voltage drop of 3% for branch circuits.
Conclusion: 14 AWG is acceptable here, but if the run were 75 feet, the drop would exceed 3%, requiring an upgrade to 12 AWG.
When the Formula Applies (And When It Breaks)
Ohm’s Law is not universally applicable to all electrical components. It strictly applies only to ohmic materials—substances where resistance remains constant regardless of the applied voltage or current, assuming a constant temperature. Metals like copper, aluminum, and standard carbon resistors are highly ohmic.
The formula fails or requires heavy modification when dealing with:
- Non-Ohmic Semiconductors: Diodes, LEDs, and transistors do not have a linear V-I curve. A diode might block 100V at 0.001A, but pass 1A at 0.7V. You cannot use V=IR to model a diode; you must use the Shockley diode equation.
- Incandescent Bulbs: The tungsten filament in a lightbulb has a low resistance when cold, but as it heats up to 2,500°C, its resistance increases by a factor of 10 to 15. The "R" in Ohm’s law is a moving target.
- Thermistors and Varistors: NTC/PTC thermistors change resistance with temperature; MOVs (Metal Oxide Varistors) change resistance with voltage spikes.
Common Unit Mistakes That Destroy Your Math
If your calculated answer is off by a factor of 10, 1,000, or 1,000,000, you have a unit prefix error. Here are the most frequent traps on the electronics workbench:
| The Mistake | The Bad Math | The Correct Math | The Consequence |
|---|---|---|---|
| Using mA directly in I = V/R | 5V / 20 = 0.25Ω | 5V / 0.020A = 250Ω | You install a tiny resistor, drawing massive current and burning the PCB trace. |
| Ignoring kilo-ohms (kΩ) | 12V / 10 = 1.2A | 12V / 10,000Ω = 0.0012A (1.2mA) | You expect a high-current load, but the circuit barely registers on your multimeter. |
| Mixing up Power (P=IV) units | 12V × 500mA = 6000W | 12V × 0.5A = 6W | You buy a massive, expensive 6kW power supply for a 6W LED strip. |
Golden Rule: Always strip prefixes before calculating. Convert all milliamps to Amps (divide by 1,000), all kilohms to Ohms (multiply by 1,000), and all microfarads to Farads. Perform the math in base units, then apply prefixes back to the final answer for readability.
Component Selection Decision Path: I2C Pull-Up Resistors
When designing digital circuits, you frequently use Ohm’s Law to size pull-up resistors for open-drain buses like I2C. The resistor must be low enough to pull the line high quickly (overcoming parasitic capacitance) but high enough to not exceed the microcontroller’s maximum sink current when pulled low. Use this decision tree to select your resistor for an ESP32 or Arduino I2C bus:
| Bus Condition | Logic Level | Target Value |
|---|---|---|
| Standard mode (100kHz), ≤ 3 devices, short traces (<30cm) | 3.3V (ESP32) | 4.7 kΩ |
| Fast mode (400kHz), ≤ 3 devices, short traces | 3.3V (ESP32) | 2.2 kΩ |
| Standard mode (100kHz), ≤ 3 devices, short traces | 5.0V (Arduino Uno) | 4.7 kΩ |
| Fast mode (400kHz), > 3 devices, long wires (>50cm) | 5.0V (Arduino Uno) | 1.0 kΩ |
Default Recommendation: If you are wiring a standard hobbyist sensor (like a BME280 or MPU6050) to an ESP32 DevKit v1 at standard 100kHz speeds and you do not want to calculate exact bus capacitance, terminate your decision here: Use a 4.7kΩ 1/4W resistor. This value safely limits the sink current to roughly 0.7mA at 3.3V (well below the ESP32’s 28mA absolute max GPIO limit) while providing a fast enough RC rise time for standard sensor polling.






