Ohm's Law Calculator

Last updated: 2026-09-01

Ohm's Law Calculator — Calculate voltage, current or resistance.
Inputs
Result
Enter values and press Calculate
Common Examples — Click to Fill
Voltage (V)Current (A)Resistance (Ω)
Escala laboratorio 4.80.80.4
Uso domestico 8.41.40.7
Aplicacion industrial 1221
Ingenieria civil 1831.5
Escala cientifica 3052.5

TL;DR: To use an Ohm’s Law Calculator, input any two known values among voltage (V), current (I), and resistance (R), and the calculator automatically applies the formula V = I × R to solve for the missing variable, ensuring accurate circuit analysis in seconds.

What Is the Ohm's Law Calculator?

The Ohm's Law Calculator is a practical tool designed to solve for one missing electrical quantity when the other two are known. It is built on the fundamental relationship in electronics: voltage equals current multiplied by resistance (V = I × R). Instead of manually rearranging algebraic equations and risking unit conversion errors, you simply enter two values and the calculator does the heavy lifting.

This tool is essential for electricians, electrical engineers, hobbyists building circuits, robotics students, and technicians troubleshooting equipment. Whether you are sizing a resistor for an LED, determining if a power supply can handle a load, or verifying the current draw of a motor, this calculator turns a potentially error-prone calculation into an instant result. It removes the friction of mental math and ensures consistency across projects, which is critical when designing printed circuit boards or diagnosing short circuits.

In real-world applications, this calculator is not just an academic exercise. For instance, a home electrician needs to know if a 120-volt circuit with a 15-amp breaker can safely power a heater with a resistance of 10 ohms. The calculator shows that the heater draws 12 amps (120 ÷ 10), leaving a 3-amp safety margin. Without this quick verification, the risk of tripping breakers or starting an electrical fire increases substantially.

How to Use the Calculator

Using the Ohm's Law Calculator is straightforward, but it requires a basic understanding of what you already know about your circuit. The calculator is designed to be flexible, allowing you to input whichever two variables you have measured or specified. Follow these steps for accurate results:

  1. Identify the two known values: Look at your circuit and determine which two of the three primary variables you already have. These are voltage (V), current (I measured in amperes), and resistance (R measured in ohms). For example, you might have a battery voltage and a known resistor value, or you might have a measured current and a known voltage.
  2. Enter the first known value: Locate the field labeled for your first known variable. If you know the voltage supplied by your power source, type that number into the voltage input field. Ensure you are using the correct unit (typically volts). The calculator will use this as one half of the equation.
  3. Enter the second known value: Enter your second known quantity into its corresponding field. If you know the resistance of the component, input the value in ohms. If you know the current flowing through the circuit, input that value in amperes. The calculator requires exactly two inputs to solve for the third.
  4. Leave the target field empty: The field for the variable you want to calculate must be left blank. The calculator identifies this empty field as the unknown and will apply the appropriate rearranged formula to solve for it. For example, if you want to find current, leave the current field empty and fill in voltage and resistance.
  5. Initiate the calculation: Once both known values are entered and the target field is empty, click the calculate button (or equivalent action). The tool instantly computes the missing value based on the core formula V = I × R, delivering the result in the appropriate electrical unit.
  6. Review the output: Check the result for the missing variable. The output will display the calculated voltage (in volts), current (in amperes), or resistance (in ohms). Confirm that the result is physically plausible for your circuit before proceeding with your build or troubleshooting.

Formula and Calculation Method

The core principle behind this calculator is Ohm's Law, which establishes a linear relationship between voltage, current, and resistance in an electrical circuit. The foundational formula is expressed as V = I × R, where V represents voltage in volts, I represents current in amperes, and R represents resistance in ohms. This is not just a mathematical relationship; it describes the physical behavior of conductors where the current flowing through a material is directly proportional to the voltage across it and inversely proportional to the material's resistance.

Depending on which variable is unknown, the calculator rearranges this formula using basic algebra. To calculate voltage, it multiplies the current by the resistance. To calculate current, it divides the voltage by the resistance. To calculate resistance, it divides the voltage by the current. These three permutations are the entire basis of the tool's logic. The calculator does not require you to memorize these variations; it simply identifies the empty input and applies the correct division or multiplication.

Worked Example: Let us walk through a concrete scenario where you need to calculate the current flowing through a resistor. Suppose you have a 12-volt battery connected across a 4-ohm resistor, and you want to know the current. You would enter 12 in the voltage field and 4 in the resistance field, leaving the current field empty. The calculator applies the formula I = V ÷ R, which gives 12 volts ÷ 4 ohms = 3 amperes. This result tells you that exactly 3 amperes of current will flow through the resistor, which is a safe value for many standard components but would be too high for a standard ¼-watt resistor (which is why you would then check power dissipation separately).

Practical Examples

The versatility of the Ohm's Law Calculator makes it useful across various electrical scenarios. Below are three realistic examples that show different input combinations and how the outputs are interpreted in context.

ScenarioKnown InputsCalculated OutputResult Context
LED Resistor SizingVoltage = 9V, Current = 0.02AResistance = 450 ΩGiven a 9V battery and a 20mA current limit for an LED, the calculator determines that a standard 470Ω resistor (the nearest common value) is needed to prevent the LED from burning out.
Power Supply Voltage DropCurrent = 2A, Resistance = 5ΩVoltage = 10VIf you know a device draws 2 amps and has a resistance of 5 ohms, the voltage across it is 10V. This helps verify that your power supply is adequately rated.
Motor Current DrawVoltage = 24V, Resistance = 8ΩCurrent = 3AFor a DC motor rated at 24V with a coil resistance of 8Ω, the active current draw is 3A, making it suitable for a controller rated at 5A.

In the first scenario, the calculator tells you not just the resistance value but also the safety implication. For the LED, using a resistor lower than the calculated value would allow excessive current and destroy the diode. In the third scenario, the 3A result helps you select the correct wire gauge and circuit breaker size to avoid overheating. Each example demonstrates that the output is not a random number; it is a critical design constraint that influences component selection and system reliability.

Tips for Accurate Results

While the calculator simplifies the math, garbage-in-garbage-out applies here. To get meaningful results, you must be precise with your inputs and understand the limitations of the formula. First, always ensure you are entering at least two values—the calculator cannot produce a valid result with only one input. If you only know the voltage, for instance, you cannot derive current or resistance without additional circuit information, as the missing variable could be any number depending on the other.

Second, beware of division by zero. If you enter a resistance of 0 ohms, the calculator will attempt to divide voltage by zero to find current, resulting in an infinite value or an error message. In physical terms, a zero-ohm resistance represents a perfect conductor or a short circuit, which would draw unlimited current from an ideal voltage source. Similarly, entering zero current to calculate resistance would also produce a division by zero, indicating an open circuit where the concept of resistance becomes undefined. The calculator should return an error or "undefined" in these cases.

Third, do not confuse current with voltage. A common mistake is entering the amperage rating of a power supply into the voltage field or vice versa. For example, a 5V, 2A power supply has a voltage of 5 and a current limit of 2. If you are calculating the resistance of a load, you must enter 5 (voltage) and 2 (current) in the correct fields to get 2.5Ω. Swapping them would yield a wildly different and nonsensical result. Always double-check the units of your inputs: volts for V, amperes (or milliamperes converted to amperes) for I, and ohms for R.

Frequently Asked Questions

How do I calculate resistance using Ohm's Law?

To calculate resistance (R), divide the voltage (V) by the current (I). The formula is R = V ÷ I. For example, if a circuit operates at 12 volts and has a current flow of 0.5 amperes, the resistance is 12 ÷ 0.5 = 24 ohms. In the calculator, you would input 12 in the voltage field and 0.5 in the current field, leaving the resistance field blank. This calculation is essential for selecting the correct resistor to limit current in a circuit, ensuring components do not exceed their rated current, and diagnosing faulty wiring where resistance is abnormally high or low.

What happens if I enter only one value into the calculator?

If you enter only one value, the calculator cannot determine the unknown because Ohm's Law requires two independent variables to solve for the third. With a single voltage of 10V, for instance, the current could be 1 amp (with a 10Ω resistance) or 10 amps (with a 1Ω resistance). The calculator will typically prompt you to enter a second value or display an error. In a practical sense, this limitation forces you to measure or know at least two characteristics of your circuit—a requirement for any meaningful electrical analysis, as you cannot deduce both unknown quantities from one measurement.

Can I use this calculator for AC circuits?

Yes, but only in specific cases. The standard Ohm's Law calculation (V = I × R) applies only to purely resistive AC circuits, such as those containing heaters or incandescent light bulbs. In these circuits, the resistance behaves the same way for alternating current as for direct current. However, for circuits containing capacitors or inductors, you must use impedance (Z) instead of pure resistance (R), and the formula becomes V = I × Z. If you enter the capacitive reactance or inductive reactance as if it were resistance, your result will be incorrect. For most beginner applications like LED circuits or simple DC motors, the calculator is perfectly accurate, but for reactive AC loads, you need a dedicated impedance calculator.

FAQ

What is Ohm's Law and how does this calculator use it?

Ohm's Law states that the current through a conductor between two points is directly proportional to the voltage across the two points and inversely proportional to the resistance between them, expressed as V = I × R. This calculator allows you to input any two of the four core values—voltage (V), current (I), resistance (R), and power (P)—and it will automatically compute the remaining two using derived formulas such as P = V × I and P = I² × R.

What units does the calculator support for voltage, current, resistance, and power?

The calculator supports a wide range of metric and engineering units, including volts (V), millivolts (mV), and kilovolts (kV) for voltage; amperes (A), milliamperes (mA), and microamperes (µA) for current; ohms (Ω), kilo-ohms (kΩ), and mega-ohms (MΩ) for resistance; and watts (W), milliwatts (mW), and kilowatts (kW) for power. You can freely mix units in a single calculation, as the tool automatically converts everything to base SI units before solving, then returns results in your preferred unit for each quantity.

Can I use this calculator for both DC and AC circuits, and does it handle AC's phase angle?

Yes, the standard mode of the calculator is designed for DC circuits and for AC circuits where the load is purely resistive, meaning voltage and current are in phase, so Ohm's Law applies directly. For AC circuits with reactive components (like inductors or capacitors), the calculator provides an advanced mode where you can input impedance (Z) in ohms along with a phase angle in degrees, allowing it to correctly compute the magnitude of current and true power using the complex version of Ohm's Law.

What happens if I enter invalid values, such as zero or negative numbers?

Entering zero for any of the input fields is generally not allowed because it would cause a division by zero (for example, resistance of zero with a nonzero voltage leads to infinite current), so the calculator will display an error message prompting you to enter positive, nonzero values. Negative numbers are also rejected, since voltage, current, resistance, and power are all considered positive magnitudes in standard passive circuit analysis, though the calculator does permit negative voltage if you are modeling a reverse-polarity source, but it will enforce that the resulting current and power remain positive by using absolute values in the final output.