1. What Is Ohm's Law?
Ohm's Law describes the relationship between voltage, current and resistance in an ohmic electrical component or circuit.
The fundamental equation is:
where:
- V is voltage in volts (V)
- I is current in amperes (A)
- R is resistance in ohms (Ω)
The equation can be rearranged depending on which quantity is unknown:
This simple relationship is one of the most useful calculation tools in basic electrical and electronics work. It can be used to determine current through a resistor, estimate the voltage across a resistive load, or calculate resistance from measured voltage and current.
However, Ohm's Law should not be treated as a universal description of every electrical device. It applies directly to ohmic behavior. Components such as diodes and LEDs have nonlinear voltage-current characteristics, while circuits containing significant inductance or capacitance are more appropriately analyzed using impedance and AC circuit methods.
2. The Four Core Quantities: Voltage, Current, Resistance and Power
The calculator works with four closely connected electrical quantities:
Voltage
Voltage is the electric potential difference between two points. It provides the potential energy change per unit charge associated with moving charge between those points. The SI unit is the volt (V).
Current
Current measures the rate of electric charge flow. The SI unit is the ampere (A). NIST defines the ampere as the SI unit of electric current and gives the relationship between the volt, ampere and ohm through electrical units.
Resistance
Resistance describes opposition to electrical current in a circuit element. The SI unit is the ohm (Ω). NIST gives the practical unit relationship: 1 Ω = 1 V/A.
Power
Electrical power describes the rate at which electrical energy is transferred or dissipated. The unit is the watt (W). For a resistive load:
Combining this relationship with Ohm's Law produces the other common power equations used by the calculator.
3. The Complete Ohm's Law and Power Formula Set
There are four fundamental quantities: V (Voltage), I (Current), R (Resistance), and P (Power). From Ohm's Law and the power relationship, the calculator supports the complete set of common two-variable equations:
These are not twelve unrelated formulas. They are different rearrangements and combinations of two fundamental relationships: V = IR and P = VI. OpenStax presents the same relationship family and shows how the power equations follow directly by substituting Ohm's Law into P = VI.
4. How to Use the Ohm's Law Calculator
The calculator is designed around a simple workflow: provide the known electrical quantities and solve for the unknown quantities.
- Step 1: Identify what you know: For example, Voltage = 12 V and Resistance = 4 Ω.
- Step 2: Select those known quantities: Use the core calculator's parameter controls to indicate which values are given.
- Step 3: Calculate: The calculator determines the remaining electrical quantities. For the example:I = V ÷ R = 12 ÷ 4 = 3 AP = V × I = 12 × 3 = 36 W
The calculator's verified golden case produces exactly 3 A and 36 W from 12 V and 4 Ω.
5. Worked Example: Finding Current
Suppose a resistor is connected across 12 V and the resistance is 4 Ω.
The resistor current is 3 amperes. The corresponding electrical power is:
The same power can be checked independently:
All three power relationships must agree for this resistive example.
6. How Voltage, Current and Resistance Change Together
Ohm's Law becomes particularly useful when looking at proportional relationships:
- At constant resistance: I = V/R, so increasing voltage increases current proportionally.
- At constant voltage: I = V/R, so increasing resistance decreases current.
- At constant current: V = IR, so increasing resistance increases the required voltage.
These relationships are experimentally useful because measurements of voltage and current can reveal the effective resistance of an ohmic device. OpenStax describes current as proportional to voltage for ohmic behavior and explains resistance as the proportionality relationship between them.
7. What Is Electrical Power?
Electrical power is the rate at which electrical energy is transferred. For a circuit element, P = VI. For a resistor, Ohm's Law allows this equation to be rewritten as:
These equations are mathematically equivalent when the element behaves according to the resistive Ohm's Law model. OpenStax derives both forms directly from P = VI and V = IR. This matters in practical electronics because a resistor can have a correct resistance value and still be incorrectly selected if its power rating is too low.
8. Resistor Power and Heat
A resistor dissipates electrical power as heat. For example, with I = 3 A and R = 4 Ω, the dissipated power is P = I²R = 3² × 4 = 36 W. A resistor intended for that circuit would need a suitable power rating rather than being selected only by its 4 Ω resistance. For dedicated resistance calculations, see the Resistor Calculator. For conductor-level voltage-loss calculations, the Voltage Drop Calculator can be used after the circuit current and load conditions are known.
The calculator therefore includes a resistor-power verification and wattage safety-margin workflow. A safety margin does not make an unsuitable physical resistor automatically safe. The actual component's datasheet, operating temperature, mounting conditions and circuit environment still matter. The calculator's production QA specifically verifies resistor power and its safety-margin logic.
9. Why Power Increases Rapidly With Current
The equation P = I²R contains current squared. Therefore, if resistance remains constant and current doubles:
Power becomes four times larger. This is why even a moderate increase in current can substantially increase heating in a resistive component. This relationship is particularly important when checking resistor power ratings, wire heating and other resistive losses.
10. Voltage Divider: How Two Resistors Produce a Lower Voltage
A voltage divider uses resistors in series to produce a fraction of an input voltage. For two resistors R1 and R2, the unloaded output voltage is:
The calculator includes a dedicated Voltage Divider mode. For Vin = 12 V, R1 = 10 Ω, and R2 = 5 Ω:
These exact values are independently verified by the calculator's production tests.
11. Loaded Voltage Dividers
A voltage divider changes when a load is connected to its output. If a load resistor RL is connected across R2, R2 and RL form a parallel combination:
The output then becomes:
This is why an unloaded divider calculation cannot automatically be used after connecting a substantial load. The calculator explicitly supports loaded-divider behavior and verifies the parallel-resistance calculation independently. A divider designed for one load condition can therefore produce a different output under another load condition.
12. Voltage Divider Design Intuition
A two-resistor divider behaves predictably at its limiting cases:
- If R1 = R2, then Vout = Vin / 2.
- If R2 = 0 Ω, the output approaches 0 V.
- If R1 = 0 Ω, the output approaches Vin.
These relationships provide useful sanity checks when evaluating a divider calculation. The calculator's edge-case testing specifically verifies these behaviors.
13. Current Divider: Splitting Current Between Parallel Branches
A current divider is the complementary idea to a voltage divider. In a parallel network, branches share the same voltage while the total current divides among the individual branches. For two resistors:
Once equivalent resistance is known:
Branch currents can then be determined using Ohm's Law. For Itotal = 2 A, R1 = 10 Ω, and R2 = 10 Ω, the equivalent resistance is Req = 5 Ω. The parallel voltage is V = 2 × 5 = 10 V. Therefore:
The production calculator verifies this reference case and current-conservation behavior.
14. Three-Branch Current Divider
The same concept extends to three or more parallel branches:
Suppose R1 = 10 Ω, R2 = 20 Ω, R3 = 30 Ω, and Itotal = 3 A. First calculate the equivalent resistance, then calculate Vparallel = Itotal × Req. Finally:
The key conservation check is: I1 + I2 + I3 = Itotal. The calculator explicitly tests this identity across its three-branch implementation.
15. LED Current-Limiting Resistor
LEDs are not ordinary fixed-value resistors. Their voltage-current behavior is nonlinear, so a resistor is commonly used to limit current in a simple LED circuit. For a basic resistor-limited LED circuit:
where Vsupply is the source voltage, Vf is the LED forward-voltage drop, and If is desired LED current.
Example:
The calculator then selects the appropriate E24 standard resistor. The verified result is: Target = 350 Ω, Standard E24 = 360 Ω, and resistor dissipation based on the target calculation: P ≈ 0.140 W.
16. Why the Calculator Chooses the Higher E24 Resistor
Standard resistors are manufactured in preferred-value series rather than every possible decimal resistance. If the calculated LED resistor requirement is 350 Ω, standard choices may include values around that target.
For a simple current-limiting design, choosing a standard resistor below the calculated minimum can increase LED current. The calculator therefore selects the smallest E24 value greater than or equal to the calculated target resistance. For the 350 Ω example, 360 Ω is preferred over a lower standard resistance.
The production QA explicitly verifies that the selected E24 resistance is never below the target in the tested LED cases. The actual LED's datasheet should still be checked for forward-current and thermal requirements.
17. Ohm's Law and AC Circuits
The simple equation V = IR works directly for resistive DC circuits and for AC situations where the relevant element behaves as a resistance. AC circuits can also contain capacitive and inductive effects. For such circuits, resistance alone may not adequately describe the relationship between voltage and current.
The broader AC quantity is impedance, commonly represented by Z, and a generalized phasor relationship can be written as:
This distinction matters because capacitors and inductors introduce frequency-dependent reactance. Simple resistor equations should not be applied blindly to circuits containing significant inductive or capacitive reactance. OpenStax likewise notes that Ohm's Law describes a useful proportional relationship for ohmic devices and does not apply universally to all materials and components.
18. Resistance Versus Impedance
Resistance describes opposition associated with resistive behavior. Impedance is the broader AC quantity that incorporates resistance and reactance. A purely resistive element can be represented by Z = R. But a general AC load can have:
where R is resistance, X is reactance, and j represents the imaginary unit. This distinction becomes important in motors, transformers, inductors, capacitors and other AC networks. Do not assume that an Ohm's Law calculator based on scalar resistance is a complete AC power-system analysis tool.
19. Circuit Consistency: When Entered Values Disagree
Suppose someone enters V = 12 V, I = 3 A, and R = 4 Ω. These values agree because 12 = 3 × 4.
Now suppose V = 12 V, I = 3 A, and R = 10 Ω. These values do not satisfy V = IR because 3 × 10 = 30 V.
When multiple electrical values are entered, disagreement can indicate measurement error, incorrect units, incorrect assumptions, a non-ohmic component, or another circuit effect. The calculator includes a consistency check and flags over-constrained input mismatches rather than silently forcing the numbers to agree.
20. Common Unit Mistakes
Electrical calculations often fail because the equation is correct but the units are not. Examples:
- 20 mA ≠ 20 A, because 20 mA = 0.020 A
- 1 kΩ = 1,000 Ω
- 1 MΩ = 1,000,000 Ω
A common LED mistake is entering 20 mA as 20 A. The result would be 1,000 times different. Always normalize units before performing the calculation. For broader electrical-unit conversions, use the Conversion Calculator.
21. Why Resistor Wattage Matters
A resistance value tells you how strongly a resistor opposes current. It does not tell you how much heat the physical component can safely dissipate. For a resistor, P = I²R or P = V²/R. If calculated dissipation exceeds the resistor's rated power, the component may overheat.
A design margin is commonly used so a resistor is not operated continuously at its maximum rating. The calculator includes an explicit resistor power-rating check and configurable safety-margin logic. Always verify the manufacturer's datasheet and the actual thermal environment before building the circuit.
22. Practical Applications of Ohm's Law
Ohm's Law is used throughout electronics and electrical engineering:
- Sensor interfaces: A resistor network can reduce or scale a signal voltage before it reaches another circuit.
- LED circuits: A series resistor can limit LED current.
- Current measurement: A known shunt resistance can produce a measurable voltage related to current.
- Power supply analysis: Measured voltage and current can be used to estimate load resistance and power.
- Heater circuits: Resistive heaters can be analyzed using voltage, current, resistance and power relationships.
- Electronics troubleshooting: Measurements of voltage and current can reveal whether a component or circuit is behaving as expected.
These applications all depend on using the correct physical model rather than assuming every device is an ideal resistor.
23. When Ohm's Law Does Not Fully Describe the Circuit
Ohm's Law is powerful, but it has limits. It should not automatically be treated as a complete model for:
- LEDs and semiconductor diodes
- Bipolar and field-effect transistors
- Many integrated circuit devices
- Capacitive circuits and inductive circuits
- Frequency-dependent networks and strongly nonlinear loads
For nonlinear components, resistance depends on operating point. For AC reactive networks, impedance and phase relationships become important. For dynamic circuits, transient analysis may be required.
24. A Fast Engineering Workflow
For a basic resistive circuit:
- Identify the known quantities: Voltage, current, resistance or power.
- Convert units: Convert mA to A, kΩ to Ω, mW to W, and so forth.
- Select the appropriate formula: For example, I = V/R.
- Calculate: Keep full numerical precision internally.
- Cross-check: Use another identity where possible. For example, P = VI and P = V²/R should agree for a valid resistive circuit.
- Check physical limits: Does the current make sense? Does the resistor power rating make sense? Is the component actually ohmic?
- Review the result in context: A mathematically correct number is not automatically proof of a safe physical design.
25. Worked Example: Complete Circuit Analysis
Consider V = 24 V and R = 8 Ω:
If the component is a physical resistor, its power rating must be appropriate for the operating conditions rather than merely equal to the calculated 72 W.
26. Understanding the Interactive Formula Wheel
The calculator includes an Interactive Formula Wheel for the four principal quantities: V, I, R, and P. Selecting a quantity presents the equations that can be used to calculate it:
The production implementation verifies that the Formula Wheel stays synchronized with the calculation state and is keyboard accessible.
27. How to Check a Result Without Trusting a Single Formula
A good engineering habit is to calculate the same quantity in two independent ways. Suppose V = 12 V and R = 4 Ω:
Agreement provides a useful consistency check. The calculator's automated regression suite applies the same principle across randomized values and independently checks the power identities.
28. Engineering Disclaimer
Ohm's Law calculations are mathematical tools and should be applied using an appropriate electrical model. A calculator result does not by itself establish that an electrical installation is safe or code-compliant. Final circuit design may also require consideration of:
- conductor ampacity and overcurrent protection
- conductor operating temperature and insulation ratings
- available short-circuit current
- grounding and bonding requirements
- equipment ratings and enclosure thermal conditions
- applicable national and local electrical codes (e.g. NEC / IEC)
For LEDs and other nonlinear components, consult the manufacturer's datasheet for exact electrical characteristics. For AC systems containing substantial inductance or capacitance, apply impedance- and phase-based analysis where required. For mains-voltage work and installation decisions, always consult qualified professional engineers and adhere to local electrical regulations.
Frequently Asked Questions
References
OpenStax documents the fundamental relationship V = IR and the associated power equations: P = VI, P = I²R, and P = V²/R.
NIST documents the SI relationships among electrical units, including 1 V = 1 W/A and 1 Ω = 1 V/A.
NIST identifies Georg Ohm's formulation in 1827 and describes the relationship among ampere, volt and ohm.