Ohm's Law Calculator
Enter any two values, voltage, current, resistance, or power, and the rest fill in automatically.
How to Use
Type any two of the four values, Voltage, Current, Resistance, or Power, and the remaining two are calculated automatically using Ohm's Law and the power formula. Edit any field at any time to recalculate; the two most recently entered values are always treated as the known ones, and entering a third value automatically bumps out whichever of the first two was entered earliest, letting it become a calculated result again. This "wheel" style of interaction, common to most Ohm's Law calculators, matches how the relationship between these four values actually works: knowing any two is always mathematically sufficient to determine the other two.
The Ohm's Law Formulas
Ohm's Law states that voltage equals current times resistance: V = I × R. Combined with the power formula P = V × I, any two known values are enough to derive the other two:
V = I × R • I = V / R • R = V / I • P = V × I • P = I² × R • P = V² / R
These six formulas are all algebraic rearrangements of the same two underlying relationships, so memorizing the two core formulas, V = I × R and P = V × I, is enough to derive any of the others when needed, without memorizing every individual variation separately.
A Worked Example
Using the default placeholder values as an example, a circuit with 12V applied across a 6Ω resistance draws 2A of current (I = V/R = 12/6 = 2), and dissipates 24W of power (P = V × I = 12 × 2 = 24). Entering any two of these four values, say just the 12V and 6Ω, this calculator immediately fills in the 2A and 24W automatically.
For a more practical example, say you want to power a standard LED with a roughly 2V forward voltage from a 9V battery, and want to limit current to a safe 20mA (0.02A) to avoid burning out the LED. The current-limiting resistor needed is R = (Battery Voltage minus LED Forward Voltage) divided by Desired Current = (9 minus 2) / 0.02 = 350Ω. The power that resistor needs to safely dissipate is P = I² × R = 0.02² × 350 = 0.14W, comfortably within a standard quarter-watt (0.25W) resistor's rating, confirming a common resistor size would work for this circuit.
Power Dissipation and Why It Matters
Every resistor and electronic component has a maximum power rating, the amount of heat it can safely dissipate before overheating and potentially failing or causing damage. Calculating expected power dissipation using P = I² × R, or any of the other power formulas, before building a circuit is a critical safety and reliability check, not an optional step. Choosing a resistor or component rated for less power than a circuit will actually dissipate is a common cause of component failure, overheating, and in more serious cases, fire risk. Experienced circuit designers always calculate expected power dissipation and choose components with a reasonable safety margin above that figure, commonly at least double the calculated requirement.
Series vs Parallel Circuits: How Ohm's Law Applies Differently
Ohm's Law itself, V = I × R, applies to any individual resistive element in a circuit, but how voltage, current, and resistance combine across multiple components depends on whether they're arranged in series or parallel. In a series circuit, the same current flows through every component, while voltage divides across them proportionally to each component's resistance. In a parallel circuit, the same voltage appears across every branch, while current divides between branches inversely proportional to each branch's resistance. This calculator handles the Ohm's Law relationship for a single element; analyzing a full circuit with multiple resistors in series or parallel requires first combining those resistors into an equivalent total resistance before applying Ohm's Law to the circuit as a whole.
Common Mistakes When Applying Ohm's Law
Mixing up units. Ohm's Law requires consistent base units, volts, amps, and ohms, not millivolts mixed with amps or ohms mixed with kilo-ohms. A single unit mismatch anywhere in a calculation produces a result off by a factor of 1,000 or more, one of the most common sources of wildly incorrect circuit calculations.
Forgetting that Ohm's Law applies to resistive components specifically. Not every electronic component follows a simple, constant V = I × R relationship. Components like diodes, transistors, and LEDs have more complex, non-linear voltage-current relationships that Ohm's Law alone doesn't fully capture, even though pieces of a circuit involving them, like a current-limiting resistor, still follow Ohm's Law individually.
Ignoring power dissipation entirely. Focusing only on getting the voltage, current, and resistance numbers right while skipping the power calculation is a common oversight that can lead to selecting an undersized, unsafe component for a real circuit.
Real-World Applications: From LEDs to Household Wiring
Ohm's Law shows up constantly across both small-scale electronics and large-scale electrical systems. Hobbyists and students use it to size current-limiting resistors for LEDs, as shown in the worked example above, one of the most common beginner electronics calculations. Circuit designers use it to verify that components won't exceed their voltage, current, or power ratings under expected operating conditions. Electricians and household wiring calculations rely on the same underlying relationship, at much higher voltage and current levels, to verify that wiring and circuit breakers are appropriately sized for the electrical load they'll carry, ensuring safety margins are respected at every scale from a single LED to an entire building's electrical system.
Ohm's Law in Everyday Electronics
Nearly every device with a battery or a power cord relies on Ohm's Law somewhere in its design, even though the end user never sees the calculation. Phone chargers are designed around a target voltage and current the internal circuitry can safely handle, space heaters and kettles use the relationship to determine how many watts of heat a given voltage and internal element resistance will produce, and speaker systems use it to match amplifier output to a speaker's rated impedance so the amplifier isn't overloaded. Even something as simple as a flashlight involves an implicit Ohm's Law calculation, matching the LED or bulb's resistance and desired current to the battery voltage available.
Ohm's Law and Resistor Color Codes: Putting It Together
Once Ohm's Law determines the resistance value a circuit needs, like the 350Ω current-limiting resistor in the LED example above, the next practical step is finding or identifying a physical resistor with that value. Resistors are typically labeled with colored bands rather than printed numbers, following a standardized color code system. Our Resistor Color Code Calculator translates between resistance values and the colored bands found on physical resistors, useful both for identifying an unlabeled resistor you have on hand and for figuring out which color-coded resistor to buy or use for a value Ohm's Law has determined you need.
A Brief History of Ohm's Law
Ohm's Law is named after Georg Simon Ohm, a German physicist who published the relationship between voltage, current, and resistance in 1827, based on his experiments with electrical circuits. The law was not immediately well received by the scientific community of the time, but it eventually became recognized as one of the most fundamental relationships in electrical engineering. It's still taught as one of the very first concepts in any introductory electronics or physics course dealing with circuits, nearly two centuries after its original publication.
The Ohm's Law Triangle: A Simple Memory Aid
Many electronics courses teach Ohm's Law using a simple triangle divided into three sections, V on top, I and R on the bottom. Covering the value you want to find reveals the correct arrangement of the other two: covering V shows I × R side by side, meaning V = I × R; covering I shows V over R, meaning I = V/R; and covering R shows V over I, meaning R = V/I. It's a handy shortcut for beginners who haven't yet memorized the algebra, though understanding why the relationship holds, rather than just the shape of the triangle, makes it much easier to apply correctly in less familiar situations, like the power formula variations.
Using a Multimeter to Verify Ohm's Law in Practice
A digital multimeter is the standard tool for measuring voltage, current, and resistance directly in a real circuit, letting you compare hands-on measurements against what this calculator predicts. Voltage is measured across a component, with the multimeter in parallel to it, while current is measured by breaking the circuit and placing the multimeter in series, in the current's path. Resistance is normally measured with the component removed from the circuit and unpowered, since a multimeter's resistance setting passes its own small test current through the component, and any other voltage source in the circuit will produce an inaccurate reading. Comparing a measured value against this calculator's predicted value is a useful way to sanity-check a circuit, and a significant mismatch usually points to a wiring mistake, a faulty component, or a resistor whose actual value differs from its labeled value within its tolerance rating.
Frequently Asked Questions
What units should I use?
Enter values in base SI units, volts, amps, ohms, and watts. For small values like milliamps or kilo-ohms, convert to the base unit first (e.g. 100 mA = 0.1 A, 2.2 kΩ = 2200 Ω).
Why did an earlier value I entered get cleared?
This calculator only keeps the two most recently entered values as "known" inputs, the other two are always the calculated result. Entering a third new value bumps out the oldest one, which becomes a calculated field again.
What if I need to find resistor color codes too?
Once you know the resistance value you need, use our Resistor Color Code Calculator to identify or decode the physical resistor.
How do I calculate a current-limiting resistor for an LED?
Subtract the LED's forward voltage from your supply voltage, then divide by your desired current: R equals (Supply Voltage minus LED Forward Voltage) divided by Desired Current. For example, a 9V supply, a 2V LED, and a target of 20mA (0.02A) gives R = (9-2)/0.02 = 350 ohms.
Why do I also need to check the power rating, not just the resistance value?
A resistor with the correct resistance value can still fail if it can't safely dissipate the heat generated at that current. Calculate expected power with P equals I squared times R and choose a component rated comfortably above that figure.
Does Ohm's Law apply to AC circuits the same way as DC?
The basic V = I × R relationship extends to AC circuits, but with impedance, which accounts for capacitance and inductance, used in place of simple resistance for components beyond purely resistive ones. This calculator is built around the simpler DC and resistive case.