Fill in any two values. The other two are worked out with Ohm's law.
How to use the Ohm's law calculator
- Enter exactly two values, for example 12 V and 2.4 Ω, or 20 mA and 220 Ω.
- Check the unit next to each box. 20 with mA selected means 0.02 A.
- Press Calculate or Enter. The four results appear with sensible prefixes, so 0.088 W shows as 88 mW.
- To work out a different pair, press Clear and start again. If three boxes are filled the tool asks you to empty one, because three values can contradict each other.
The formulas
Ohm's law says the current through a resistor equals the voltage across it divided by its resistance: V = I × R. Power is the rate at which that resistor turns electrical energy into heat: P = V × I. Put the two together and you get the other forms the calculator uses.
| You know | Find V | Find I | Find R | Find P |
|---|---|---|---|---|
| V and I | - | - | V / I | V × I |
| V and R | - | V / R | - | V² / R |
| I and R | I × R | - | - | I² × R |
| P and V | - | P / V | V² / P | - |
| P and I | P / I | - | P / I² | - |
| P and R | √(P × R) | √(P / R) | - | - |
Worked examples
LED resistor. A 220 Ω resistor carrying 20 mA drops 0.02 × 220 = 4.4 V and gets rid of 0.02² × 220 = 88 mW. A common 0.25 W resistor is comfortable at that load.
Milliamps to volts. This is the question behind many 4 to 20 mA sensor loops. With a 250 Ω sense resistor, 4 mA gives 1 V and 20 mA gives 5 V, which is why that resistor value is popular for reading loops with a 1 to 5 V input.
Heater element. A 60 W element on a 12 V supply draws 60 / 12 = 5 A and has a resistance of 12² / 60 = 2.4 Ω.
Where Ohm's law does not apply directly
The calculator assumes a simple resistive load. Diodes and LEDs are not linear, so use the resistor's voltage (supply minus the LED's forward voltage) rather than the full supply. Motors, transformers and other AC loads with inductance or capacitance need impedance and power factor, not plain resistance. For mains AC with a heater or a filament lamp, RMS voltage and current work fine.
Frequently asked questions
How do I convert milliamps to volts?
You cannot convert current to voltage on its own. You also need the resistance: volts = amps × ohms. Enter the current in mA and the resistance, and the tool gives the voltage.
Why is my result shown in mW or kΩ?
The tool picks the prefix that keeps the number readable. 0.088 W and 88 mW are the same value.
Can I enter negative values?
No. Direction does not change the size of the result, so enter magnitudes only.
What resistor wattage should I buy?
A common rule of thumb is to choose a rating about twice the calculated power, so 88 mW points to a 0.25 W part.
Related tools: Electricity bill calculator, Percentage calculator, Flow rate converter. Guide: Milliamps to volts with Ohm's law.