About the Ohm’s Law Calculator
The Ohm’s Law Calculator solves the foundational electrical relationships in any combination: given any two of voltage (V), current (I), resistance (R), and power (P), it returns the other two. It combines Ohm’s Law (V = I×R) with the power law (P = V×I), surfaces the exact derived formula it used (R = V/I, P = V²/R, etc.), and auto-scales output to convenient SI prefixes (mA, µA, kΩ, MΩ, mW).
It is built for hobbyists sizing a resistor to drop voltage at a target current (the LED current-limiting calculation everyone needs), electronics students working through circuit homework, makers wiring up LED strips and asking what gauge wire they need, RV / van-life users running 12V loads, and anyone whose “P = I²R or V²/R, which one?” doubt has slowed them down before.
All math runs locally in JavaScript. Voltage, current, resistance, and power inputs never leave your device. The page makes no network call after first load. The calculator works offline once cached.
Ohm’s Law applies to linear (ohmic) components: resistors, ideal wires, and most passive elements at low frequency. It does not apply to diodes and LEDs (exponential V–I curve — use Shockley equation), transistors, electric motors under load (back-EMF complicates the math), gas-discharge tubes, or thermistors. For AC circuits, replace R with complex impedance Z (V = I×Z). Always pick a resistor with a power rating at least 2× the calculated dissipation; quarter-watt resistors fail fast at quarter-watt.
Add 2–10 resistor values to calculate equivalent resistance for both series and parallel configurations.
Enter Vin, R1, and R2 to calculate Vout for a standard resistive voltage divider.
Maximum current ratings for common copper wire gauges per NEC 310.16 (75°C column, typical residential/commercial).
How Ohm’s Law Works
Georg Simon Ohm discovered in 1827 that the current through a conductor between two points is directly proportional to the voltage across those points and inversely proportional to the resistance. The relationship V = I × R is deceptively simple but governs everything from the LED on your desk to the power grid feeding your city. Combined with the Power Law (P = I × V), any two of the four electrical quantities — voltage, current, resistance, and power — can determine the other two. This calculator solves all twelve derived formulas instantly.
When Ohm’s Law Doesn’t Apply
Ohm’s Law assumes a linear, or “ohmic,” relationship between voltage and current. This holds for resistors, most wire, and many passive components. It breaks down for semiconductors like diodes and transistors, where the V–I curve is exponential. Gas discharge tubes, varistors, and thermistors also exhibit nonlinear behavior. For AC circuits, impedance (Z) replaces simple resistance and includes reactive components from capacitors and inductors. If you are designing circuits with nonlinear devices, use Ohm’s Law only for the resistive portions and apply device-specific models elsewhere.
Understanding Series and Parallel Resistance
Resistors in series simply add: Rtotal = R1 + R2 + … + Rn. The same current flows through each, and the voltage drops proportionally. Resistors in parallel follow the reciprocal rule: 1/Rtotal = 1/R1 + 1/R2 + … + 1/Rn. The total is always less than the smallest individual resistor. A common shortcut for two parallel resistors: Rtotal = (R1 × R2)/(R1 + R2). The series/parallel calculator above handles up to ten resistors in either configuration.
Voltage Dividers in Practice
A voltage divider is two resistors in series that produce an output voltage proportional to the ratio R2/(R1 + R2). They appear everywhere — sensor signal conditioning, bias networks, reference voltages, and level shifting. The critical design constraint is load impedance: if the load resistance is not at least 10× R2, it effectively parallels R2 and shifts Vout lower than expected. Unloaded dividers waste power as heat, so choose resistor values large enough to limit quiescent current but small enough to drive the load.
Wire Gauge Selection and Ampacity
Choosing the correct wire gauge prevents overheating, voltage drop, and fire hazards. The National Electrical Code (NEC) Table 310.16 specifies maximum ampacity for each gauge at different temperature ratings. For residential work, the 75°C column is standard. Beyond ampacity, voltage drop over long runs matters: NEC recommends no more than 3% drop for branch circuits and 5% total from service entrance to outlet. Larger gauge (lower AWG number) wire has lower resistance per foot, reducing both heat and voltage drop.
Common Electrical Calculation Mistakes
The most frequent error is confusing kilowatts with kilovolt-amperes in AC systems — they are only equal at unity power factor. Another common mistake is applying Ohm’s Law to an entire circuit instead of individual components; the law applies across each element, not necessarily from source to ground unless you account for total series resistance. Forgetting that power scales with the square of current (P = I²R) leads to underestimating heat dissipation. Doubling the current through a resistor quadruples the power, which can push components past their wattage rating.
Looking for related tools? Try our Scientific Calculator for advanced math, the Statistics Calculator for data analysis, or the Graphing Calculator to visualize functions. Explore all Math & Science tools.
Frequently Asked Questions
What is the formula for Ohm's Law?
V = I * R, where V is voltage in volts, I is current in amperes, and R is resistance in ohms. Rearranged: I = V/R and R = V/I.
How is electrical power calculated?
Power in watts equals voltage times current: P = V * I. Using Ohm's Law this can also be written as P = I^2 * R or P = V^2 / R.
What resistor is needed to drop a given voltage at a given current?
Divide the voltage drop by the current. For example, dropping 9 V at 20 mA (0.020 A) needs R = 9 / 0.020 = 450 ohms. The resistor must also handle P = V * I = 0.18 W.
Does Ohm's Law apply to diodes and transistors?
No. Ohm's Law assumes a linear V-I relationship. Semiconductors, thermistors, and gas discharge tubes are non-ohmic, with exponential or otherwise nonlinear V-I curves.
How does Ohm's Law work in AC circuits?
For alternating current, resistance is replaced by impedance Z, which combines resistance with reactance from capacitors and inductors. The relation becomes V = I * Z, where Z is complex-valued.