What is an Ohm’s law calculator?
Ohm’s law is the fundamental relationship between voltage, current and resistance in electrical circuits. Combined with the basic power equation, it allows you to calculate any missing quantity when the others are known.
This calculator lets you enter any two known values (for example voltage and resistance, or current and power) and automatically computes the remaining quantities:
- Voltage (V)
- Current (I)
- Resistance (R)
- Power (P)
It is useful for everything from simple DC circuits and LED sizing to checking PLC I/O loads, power supplies and industrial wiring.
Ohm’s law and power relationships
The core equations are:
-
Ohm’s law:
V = I × R -
Power:
P = V × I
From these, you can derive alternative forms:
I = V / RR = V / IP = I2 × RP = V2 / R
The calculator uses these identities to solve for the unknown values based on whichever pair of inputs you provide.
Quick reference examples
The table below gives some typical combinations of voltage, current, resistance and power in low-voltage DC circuits:
| Voltage (V) | Current (A) | Resistance (Ω) | Power (W) | Example |
|---|---|---|---|---|
| 5 V | 0.02 A | 250 Ω | 0.1 W | Small indicator LED with series resistor |
| 12 V | 0.5 A | 24 Ω | 6 W | Automotive or panel lamp |
| 24 V | 0.02 A | 1.2 kΩ | 0.48 W | PLC digital input or small relay coil |
| 24 V | 2 A | 12 Ω | 48 W | DC motor or power load |
How to use this Ohm’s law calculator
- Choose which values you know: For example, a 24 V supply and a 1 kΩ resistor, or a 12 V supply and a 2 A load.
- Enter any two known quantities: Fill in two fields (V, I, R or P). The calculator will detect which ones are given.
- Review the results: The remaining values are computed automatically using the appropriate formula set.
- Apply to your design: Use the results to select resistor values, check current draw, or verify that power ratings are safely within component limits.
Practical design tips
-
Check resistor power ratings: After calculating current and resistance, always compute
P = I2 × Rand choose a resistor with a sufficient wattage rating (typically at least 2× margin). - Watch cable and trace heating: For wiring and PCB traces, use the calculated current to verify ampacity and trace width, rather than only checking voltage.
- Remember supply limits: If the calculated load current exceeds the power supply rating, you need a higher-rated supply or a different load design.
- Estimate inrush and fault conditions: Ohm’s law also helps approximate short-circuit currents when you consider the total loop resistance, including source impedance.
Ohm’s law is the basic tool behind almost every electrical calculation. This calculator turns it into a quick, reliable design assistant for industrial control panels, embedded systems and general electronics.