ToolSphere

Ohm's Law Calculator

Electronics

Ohm's law calculator: find voltage, current, resistance or power from the labeled inputs, with formulas and a copyable summary in volts, amps and ohms.

Choose what to find, then type the other two numbers. The answer updates as you type.

The push from the battery or supply, in volts.

In amps: 20 mA is 0.02 A.

Resistance

600 Ω

From V = I × R and P = V × I, using the voltage and current you typed. Power: 0.24 W.

On this browser only

Give feedback

Did this tool help?

Tell us what worked, what didn’t, or what you’d like next.

Opens Google Forms in a new tab with this tool’s name filled in. No sign-in or email required. Feedback is optional.

How to use Ohm's Law Calculator

  1. 1Choose Find voltage, Find current, Find resistance, or Find power.
  2. 2Enter the labeled values in volts, amps, and ohms. Enter 0.02 A for 20 mA.
  3. 3Read the main answer and the power shown with it. Power mode uses voltage and current.
  4. 4Check the voltage is across the part and the current is through that same part.
  5. 5Use Copy answer to save the calculated voltage, current, resistance when determined, and power.

About Ohm's Law Calculator

Find the missing circuit value

Use this Ohm's law calculator when you know the voltage across a resistor and the current through it, or when you know its resistance and need the other quantity. It is useful for a breadboard experiment, a perfboard project, or an Intro to Circuits homework check. The loaded example finds resistance, and the answer includes the corresponding electrical power so you can think about heating as well as the nominal resistor value.

Choose Find voltage, Find current, Find resistance, or Find power. The fields change with that choice. Voltage mode uses current and resistance; current mode uses voltage and resistance; resistance mode uses voltage and current. Power mode also uses voltage and current. This is not an arbitrary-pair solver: there is no power input, so you cannot enter watts and ohms directly. Answers update as you edit, and Copy answer includes voltage, current, resistance when determined, and power.

The formulas and the units

Ohm's law is V = I × R. Rearranging gives I = V / R and R = V / I. Electrical power is P = V × I. Substitution also gives P = I² × R and P = V² / R for an ideal resistor. These equivalent expressions help you check your work, although the calculator's power mode specifically takes voltage and current.

Use volts for V, amperes for I, ohms for R, and watts for P. Those SI units are also standard in US electronics classes and maker projects. The fields accept numbers, not unit suffixes. Enter 0.02 for 20 mA, rather than typing 20 into the amp field. Keep the units written beside your measurements when moving from a multimeter or a parts list into the calculator.

Worked example: a resistor on a bench supply

Suppose a resistor has 12 V across it and you want 0.02 A through it. Select Find resistance and enter those values. These results come from the same calculation library used by the tool:

Quantity Value Meaning
Voltage 12 V Voltage across the resistor
Current 0.02 A Desired current through it
Resistance 600 Ω R = 12 / 0.02
Power 0.24 W P = 12 × 0.02

Switch to Find voltage with 0.02 A and 600 Ω and the result is 12 V. Find current with 12 V and 600 Ω returns 0.02 A. Find power with 12 V and 0.02 A returns 0.24 W. Switching modes carries the calculated values forward, which makes this a useful way to check the same operating point from different directions.

Changing the resistor to 1200 Ω while keeping 12 V produces 0.01 A and 0.12 W. Keeping 600 Ω but changing the voltage to 5 V produces about 0.008333333333 A and 0.04166666667 W. These comparisons show why both the supply voltage and the resistance matter. A result calculated for one supply should not be reused after changing the supply without recalculating.

Turn the answer into a parts choice

Calculated resistance is an ideal target, not a guarantee that the exact value is in your assortment. If you choose a nearby available resistor, return to Find current with its actual nominal resistance and check the new operating point. Then consider the part's tolerance and the supply's possible variation. The calculator does not choose a preferred resistor value or model manufacturing tolerance for you.

Power is the electrical dissipation at the entered operating point. It is not a recommended package rating or a prediction of surface temperature. Check the resistor manufacturer's rated power, ambient-temperature derating, mounting guidance, and allowed working voltage. Leave suitable operating margin for the actual enclosure and conditions. The tool does not know whether the part is in free air, against a board, or near another warm component.

Common mistakes at the bench

Use the voltage across the component being analyzed. For a resistor in a larger circuit, that may differ from the battery voltage. Likewise, use the current through that resistor rather than the total current feeding several branches. Work out the relevant branch first with the series and parallel calculator, then apply Ohm's law to the individual part.

An LED is not a fixed resistor. Its forward voltage must be accounted for before calculating a series resistor, so use the LED resistor calculator for that job. Motors and other changing loads also need more information than a single resistance value. This page does not simulate startup, switching, battery discharge, or component temperature.

Blank inputs clear the result and show a correction. Finding resistance requires nonzero current, and finding current requires nonzero resistance. In power mode, zero current gives zero power but does not determine resistance from the voltage/current ratio. Signed values follow the entered reference directions; a negative result is not automatically a suitable physical resistor. Check your sign convention before interpreting it.

Continue your circuit check

Read the actual part with the resistor color code decoder before installing it. For a resistor pair used to create a signal voltage, use the voltage divider calculator and consider loading at its output. Once the values are settled, plan the physical connections in the perfboard simulator. Keep the calculated operating point with your wiring notes so later troubleshooting uses the same assumptions.

Guides and tutorials

Frequently asked questions

How do I use an Ohm's law calculator?

Choose the quantity to find and enter the values requested by that mode. Voltage uses current and resistance, current uses voltage and resistance, and resistance or power uses voltage and current.

What is the formula for Ohm's law?

V = I × R relates voltage, current, and resistance for an ohmic component. Rearrange it as I = V / R or R = V / I, using volts, amps, and ohms.

Can I enter any two values, including watts?

This tool has voltage, current, and resistance inputs, but no power input. Choose a supported mode; power is calculated from voltage and current rather than used as a known input.

How do I enter milliamps in this calculator?

The current field takes amps, so enter 0.02 for 20 mA. A number entered without conversion is treated as amps, which changes both the resistance and power calculation.

How do I calculate resistor power?

Power is P = V × I, using the voltage across the resistor and the current through it. The result is operating dissipation, so compare it with the part's rated power and derating information before choosing a package.

Why does the calculator reject zero current or resistance?

Resistance mode divides by current, so current must be nonzero. Current mode divides by resistance, so resistance must be nonzero; power mode can still return zero power for zero current.

Does Ohm's law work for an LED or motor?

A single fixed resistance does not describe an LED's current-voltage curve or a motor's changing operating conditions. For a series LED resistor, use the LED calculator and include the LED forward voltage.

Does this Ohm's law calculator work for AC circuits?

A purely resistive AC load can use RMS voltage and current consistently. This tool does not calculate complex impedance, phase, reactive power, or power factor for capacitive or inductive loads.

Why is my calculated resistance negative?

The tool preserves the signs you enter, so opposite voltage and current signs produce a negative ratio. Check your reference directions and measurements before treating that result as a physical resistor value.

Does the calculated wattage tell me the resistor temperature?

No, temperature depends on the part, mounting, airflow, and surroundings as well as dissipated power. This calculator does not model heat transfer or select a safe resistor rating.

Have a suggestion for Ohm's Law Calculator?Share your feedback ↗