⚡ Ohm's Law Calculator
Ohms Law Calculator
Ohm's law (V = I × R) ties voltage, current and resistance together: know any two and the third is fixed. Pick what to solve for, enter the other two, and get the answer plus the power involved.
The power figure matters for part selection — a resistor must be rated above the watts it will actually dissipate.
What Ohm's law describes
Ohm's law is the basic relationship between voltage, current and resistance in a direct-current circuit, and in the steady resistive parts of alternating-current circuits as well. It says that the current through a conductor is directly proportional to the voltage across it and inversely proportional to its resistance. In symbols, the page states it in one line:
Ohm's law: V = I × R
Voltage, measured in volts (V), is the electrical pressure pushing charge around the circuit. Current, measured in amperes or amps (A), is the rate at which charge flows. Resistance, measured in ohms (Ω), is the opposition to that flow. Change any one of the three and at least one of the others must change with it — that single fact is what every calculation on this page, and a large share of practical electronics troubleshooting, is built on.
This calculator solves for whichever of the three quantities you choose. Use the mode selector to pick voltage, current or resistance, enter the other two values, click Calculate, and it returns the missing value together with the power dissipated, in watts (W). Power is included because it is almost always the next question: a value can be electrically correct and still cook a component if the wattage is beyond what the part can safely shed as heat.
The triangle and the three forms
Students are usually taught Ohm's law as a triangle, with V at the top and I and R side by side underneath. Cover the quantity you want, and the arrangement of the other two tells you the formula:
- Cover V and I sits beside R: V = I × R — multiply current by resistance.
- Cover I and V sits above R: I = V ÷ R — divide voltage by resistance.
- Cover R and V sits above I: R = V ÷ I — divide voltage by current.
Those three forms are exactly the three modes of this calculator. The mode names in the selector spell them out — Voltage (V = I × R), Current (I = V ÷ R) and Resistance (R = V ÷ I) — so the calculator and the triangle never disagree. Whichever form you use, the units must be the base units: volts, amps and ohms. The most common real-world error, entering milliamps as if they were amps, is covered in its own section below.
There is a second, equally useful way to remember the direction of each relationship. Hold resistance fixed and double the voltage, and the current doubles. Hold voltage fixed and double the resistance, and the current halves. If a result from any calculator, including this one, moves the wrong way when you change an input, you have found an input error before it has cost you anything.
Power — the fourth quantity, in three forms
Electrical power is the rate at which energy is converted, usually into heat in a resistor. It is measured in watts, and it follows from Ohm's law in three equivalent forms:
P = V × I = I²R = V²/R
All three give the same number for the same circuit, because each can be derived from the others by substituting V = I × R. The calculator reports power on every solve, whatever mode you are in. In voltage and current modes it multiplies the voltage by the current directly; in resistance mode — where the current is one of the unknown-side values in the rearrangement used — it uses V²/R, which is identical in result.
Power is not a decorative extra. Every resistor has a power rating, commonly 0.25 W for a small through-hole part, and exceeding it overheats and eventually destroys the component. Wiring, fuses and power supplies are also chosen by power and current, not by voltage alone. A result that reads correctly in volts and amps but demands more watts than the part is rated for is a design that will fail on the bench.
Worked example — the calculator defaults (solve for voltage)
The page loads in Voltage mode with a current of 2 A and a resistance of 6 Ω (the volts field shows 0, because voltage is the quantity being solved for, and its field is ignored in this mode — see the note on the ignored field below):
- V = I × R = 2 × 6 = 12 V
- Power dissipated: P = V × I = 12 × 2 = 24 W
The hero result therefore reads 12 V and the power row reads 24 W. A 24 W dissipation is substantial — this is heater or power-resistor territory, not a small signal resistor — which is a first illustration of why the power row deserves a glance on every calculation.
Worked example — solving for current
Switch the mode to Current and enter a voltage of 24 V with a resistance of 6 Ω:
- I = V ÷ R = 24 ÷ 6 = 4 A
- Power dissipated: P = V × I = 24 × 4 = 96 W
The hero reads 4 A and power reads 96 W. Check the direction as a habit: 24 V is double the voltage of the first example across the same 6 Ω, and the current has doubled from 2 A to 4 A exactly as the proportional relationship predicts.
A second current example with smaller numbers: a voltage of 9 V across 3 Ω gives I = 9 ÷ 3 = 3 A, and power P = 9 × 3 = 27 W. A common 9 V battery asked to deliver 3 A would be exhausted very quickly and may not sustain that current at all — the arithmetic is exact, and whether a real source can supply the current is a separate practical question the limits section returns to.
Worked example — solving for resistance
Switch the mode to Resistance and enter a voltage of 12 V with a current of 2 A:
- R = V ÷ I = 12 ÷ 2 = 6 Ω
- Power dissipated: P = V²/R = 144 ÷ 6 = 24 W
The hero reads 6 Ω and the power reads 24 W, matching the first example from the other direction, as it must: 12 V, 2 A and 6 Ω are the same circuit described three ways. A second resistance example: 5 V with a current of 2 A gives R = 5 ÷ 2 = 2.5 Ω, and power P = 5 × 2 = 10 W.
Solving for resistance is the mode used most often in design rather than measurement. If you know the supply voltage and the current a device or an LED branch should draw, the resistance mode gives the series resistor value that produces exactly that current, and the power row immediately tells you the minimum wattage that resistor must be rated for.
The field for the quantity being solved is ignored
One behaviour of this calculator surprises first-time users, so it is stated plainly. In each mode, the input field for the quantity you are solving for plays no part in the calculation. In Voltage mode the volts field is ignored — which is why it loads showing 0 while the answer is 12 V. In Current mode the amps field is ignored. In Resistance mode the ohms field is ignored.
If you switch modes, enter values carefully in the other two fields. Leaving a large stale value in the ignored field changes nothing, and changing only the ignored field and recalculating will return the same result as before. Several apparent calculator errors reported with tools of this kind turn out to be exactly this: the user edited the field belonging to the answer.
The milliamp trap — convert before you calculate
Ohm's law requires amps. A great deal of electronics, however, is specified in milliamps (mA), where 1 mA is one thousandth of an amp. The conversion is:
500 mA = 0.5 A, and in general, milliamps ÷ 1,000 = amps.
Enter 500 into the amps field when you mean 500 mA and every result is wrong by a factor of 1,000: a voltage that should be a few volts comes out in the thousands, and a power figure that should be milliwatts comes out as hundreds of watts. The same care applies at the other end of the scale: resistance may be given in kilohms (kΩ), where 1 kΩ = 1,000 Ω, and the calculator expects plain ohms. Convert first, calculate second — no tool can detect a unit error, because the wrong number is still a perfectly valid number.
Reading the result the way the calculator presents it
The solved value is shown as text with its unit appended — 12 V, 4 A, 6 Ω and 2.5 Ω in the examples above — pre-rounded to 3 decimal places. For tidy values, as in every verified example on this page, you will see the clean figure with no trailing decimals. For a division that does not come out even, expect up to three decimal places and treat the last decimal as rounding, not as measurement precision: Ohm's law arithmetic is exact, but the resistance of a real component carries its own tolerance, typically ±5% for a common resistor, so a result shown to three decimals describes the ideal component, not the one in your hand. The companion Resistor Calculator on this site explains that tolerance range in full.
Power is shown in watts as a plain text row. If a power result seems surprisingly large, check it with a different power form as a cross-check: for the default circuit, I²R = 2² × 6 = 24 W and V²/R = 12² ÷ 6 = 24 W, both agreeing with V × I = 24 W. Three routes to one number is the strongest quick check this subject offers.
Who this calculator suits — and its limits
It suits students learning the triangle, hobbyists sizing a resistor or checking a power rating, technicians sanity-checking a measurement, and anyone who wants a fast second opinion before trusting a hand calculation.
The limits are the limits of Ohm's law itself. It applies exactly to ohmic, resistive behaviour at a given temperature. Some components are non-ohmic — a filament lamp's resistance rises sharply as it heats, and semiconductors do not follow a single straight-line relationship at all — so no single resistance value describes them across all voltages. The calculator also assumes a real source can actually deliver the computed current; a small battery or an overloaded supply will sag below its nominal voltage instead. Treat the results as the exact arithmetic of the values entered, and the components themselves as the approximation.
A brief safety note on mains electricity
Ohm's law works the same at mains voltage as at battery voltage, but the consequences of error do not. Currents of the size in these examples — 2 A and 4 A — at mains voltage are lethal and can start fires through undersized wiring or overheated parts dissipating tens of watts. Use this calculator freely for learning, low-voltage electronics and checking published figures. For any work on mains wiring, use a qualified electrician and the wiring regulations that apply where you live; a correct calculation is not a substitute for safe working practice, isolation and proper protective devices. The Voltage Drop Calculator linked below applies the same principles to choosing wire sizes safely.
Common mistakes
- Entering milliamps as amps. 500 mA is 0.5 A. This single error accounts for most thousand-fold mistakes.
- Editing the ignored field. In each mode the field for the quantity being solved is not used; change the other two fields.
- Entering kilohms as ohms. Convert kΩ to Ω (multiply by 1,000) before calculating.
- Ignoring the power row. A correct voltage with an excessive wattage still destroys an underrated resistor.
- Leaving an input at zero. Each mode needs both of its inputs to be greater than 0, and the calculator prompts for the missing pair rather than dividing by zero or returning a meaningless zero.
Key terms
- Voltage (V) — electrical potential difference, in volts; the pressure driving current.
- Current (I) — rate of flow of charge, in amperes (amps).
- Resistance (R) — opposition to current flow, in ohms (Ω).
- Power (P) — rate of energy conversion, in watts (W); P = V × I = I²R = V²/R.
- Ohmic — describes a component whose resistance stays constant as voltage and current change, so Ohm's law applies directly.
Related calculators
---
Frequently asked questions
What is Ohm's law in one sentence?
Ohm's law states that voltage equals current multiplied by resistance: V = I × R. Voltage is measured in volts, current in amps and resistance in ohms. Rearranged, the same law gives current as I = V ÷ R and resistance as R = V ÷ I, which are the three modes of this calculator.
What voltage do 2 amps through 6 ohms produce?
They produce 12 V, which is the default calculation on this page: V = I × R = 2 × 6 = 12 V. The power dissipated is P = V × I = 12 × 2 = 24 W, so the calculator shows 12 V as the result and 24 W as the power.
How much current flows from 24 volts across 6 ohms?
The current is 4 A: I = V ÷ R = 24 ÷ 6 = 4 A. The power dissipated is 24 × 4 = 96 W. As a smaller check, 9 V across 3 Ω gives 3 A and 27 W, following exactly the same division.
How do I find resistance from voltage and current?
Divide voltage by current: R = V ÷ I. For example, 12 V with a current of 2 A gives R = 12 ÷ 2 = 6 Ω and a power of 24 W. Another example on this page is 5 V at 2 A, which gives a resistance of 2.5 Ω and a power of 10 W.
What are the three formulas for electrical power?
Power can be calculated as P = V × I, as P = I²R, or as P = V²/R, and all three give the same result for the same circuit. For the default circuit of 12 V, 2 A and 6 Ω, each form gives 24 W: 12 × 2 = 24, 2² × 6 = 24 and 12² ÷ 6 = 24.
Why does the calculator ignore one of the input fields?
In each mode, the field for the quantity being solved is ignored, because that value is the answer rather than an input. In Voltage mode the volts field is ignored, which is why it loads at 0 while the answer is 12 V. Enter the other two quantities, and check the mode first if a result does not change when you edit a field.
How do I use milliamps with this calculator?
Convert milliamps to amps first by dividing by 1,000, so 500 mA = 0.5 A. Ohm's law requires the base units of volts, amps and ohms. Entering 500 when you mean 500 mA makes every result 1,000 times too large, and the same applies to kilohms, which must be converted to ohms before calculating.







































