Ohm's Law Calculator

Enter any two of voltage, current, resistance or power, and get the other two worked out instantly.

Known values
All four values
Voltage V
Current A
Resistance Ω
Power W
Enter any two values — the other two are worked out as you type.

Every calculation happens in your browser — the numbers you type never leave your device.

FAQ

Which values do I enter?

Fill in any two of voltage, current, resistance or power and leave the rest blank. The other two are calculated for you, and all four are shown together so you can copy any of them.

How is power calculated?

Power comes from the pair you enter: voltage times current, current squared times resistance, or voltage squared divided by resistance — all three give the same watts for a simple resistive circuit.

Do I need to convert units first?

Yes — enter volts, amperes, ohms and watts directly. If you have milliamps or kilohms, convert them to the base unit first, for example 250 mA is 0.25 A and 4.7 kΩ is 4700 Ω.

The Fundamental Principles of Ohm's Law and Power

Ohm's Law defines the relationship between three core electrical properties: voltage, current, and resistance. In a simple resistive circuit, the current flowing through a conductor is directly proportional to the voltage applied across it and inversely proportional to the resistance of that conductor. Mathematically, this relationship is expressed as:

V = I × R

Where:

  • V represents Voltage in volts
  • I represents Current in amperes
  • R represents Resistance in ohms

To fully analyze a simple resistive circuit, you must also consider electrical power, which is the rate at which electrical energy is consumed or generated. Power is measured in watts and is tied to the other three properties through Joule's law. By combining Ohm's Law with the power formula, we can express power using three different methods depending on which variables are known:

P = V × I P = I² × R P = V² / R

All three methods yield the same watts for a simple resistive circuit. Together, these four variables—voltage, current, resistance, and power—form the foundation of basic DC circuit analysis. Knowing any two of these values allows you to calculate the remaining two.


Unit Consistency and Conversions in Electrical Calculations

To obtain accurate results when using electrical formulas, you must maintain strict unit consistency. Calculations require values to be in their fundamental base units:

  • Voltage must be in volts (V)
  • Current must be in amperes (A)
  • Resistance must be in ohms (Ω)
  • Power must be in watts (W)

In practical scenarios, components and measurements are frequently specified in metric prefixes, such as milliamperes (mA) or kilohms (kΩ). Entering these prefixed values directly into formulas or calculation tools will produce incorrect results. You must convert them to their base units before performing any calculations.

Common Unit Conversions

Original Unit Target Base Unit Conversion Method Example
Milliamperes (mA) Amperes (A) Divide by 1,000 250 mA = 0.25 A
Kilohms (kΩ) Ohms (Ω) Multiply by 1,000 4.7 kΩ = 4700 Ω
Megohms (MΩ) Ohms (Ω) Multiply by 1,000,000 1.2 MΩ = 1,200,000 Ω
Milliwatts (mW) Watts (W) Divide by 1,000 500 mW = 0.5 W
Kilowatts (kW) Watts (W) Multiply by 1,000 2 kW = 2,000 W

Practical Applications in Design and Troubleshooting

Understanding and applying these basic electrical calculations is essential for electronic learners, repair enthusiasts, and engineering personnel. These relationships are used daily to design circuits, select appropriate components, and troubleshoot faulty hardware.

Component Selection and Safety

When designing a circuit, you must ensure that components operate within their safe limits. For example, resistors are rated by both their resistance in ohms and their power dissipation capability in watts. If you know the voltage across a resistor and its resistance, calculating the power (P = V² / R) tells you the minimum wattage rating required for that resistor to prevent overheating and physical failure.

Troubleshooting and Diagnostics

During repair work, measuring two known values can reveal anomalies in a circuit. If you measure the voltage across a load and the current passing through it, calculating the expected resistance and comparing it to the component's nominal specification helps identify short circuits, open circuits, or degraded components. It also allows you to verify if a given pair of values results in reasonable outcomes before powering up a system.


How the Ohm's Law Calculator Works

This tool calculates the remaining two values of voltage, current, resistance, and power when you provide any two of them. It displays all four values together, and you can copy any of them.

Input Requirements

To use the tool, you must enter exactly two values into the following fields:

  • Voltage: A positive number representing volts.
  • Current: A positive number representing amperes.
  • Resistance: A positive number representing ohms.
  • Power: A positive number representing watts.

Calculations are performed as you type. Each output value is accompanied by a tag: "Entered" if you provided it, or "Calculated" if the tool determined it. All output values are displayed with 12 significant digits, and all results can be copied.

Validation Rules and Error Handling

The tool enforces strict validation rules to ensure physical and mathematical accuracy:

  • Exactly Two Inputs: You must enter exactly two values. If you enter more than two, the tool displays the error: "Enter exactly two values — clear one so only two are set.". If you enter fewer than two values, the results are cleared.
  • Positive Numbers Only: All input values must be positive numbers. If you enter a negative number, the tool displays: "Use positive numbers — these values can’t be negative.".
  • Zero Value Restrictions: Certain values cannot be zero for specific pairs of inputs. If a zero value is entered that would lead to an invalid calculation, the tool displays: "{q} can’t be zero for this pair of values.".
  • Valid Numeric Format: If an invalid number is entered, the tool displays: "Enter a valid number.".

Local Processing and Data Privacy

Every calculation happens in your browser, and the numbers you type never leave your device. No data is uploaded to external servers, ensuring your inputs remain entirely local to your system.


Frequently Asked Questions

Which values do I enter?

Fill in any two of voltage, current, resistance or power and leave the rest blank. The other two are calculated for you, and all four are shown together so you can copy any of them.

How is power calculated?

Power comes from the pair you enter: voltage times current, current squared times resistance, or voltage squared divided by resistance — all three give the same watts for a simple resistive circuit.

Do I need to convert units first?

Yes — enter volts, amperes, ohms and watts directly. If you have milliamps or kilohms, convert them to the base unit first, for example 250 mA is 0.25 A and 4.7 kΩ is 4700 Ω.