0.1
0.1
W
100
mW
0.1
0.1
W
100
mW
The Ohm's Law Calculator is the fundamental Swiss Army knife of electronics. Named after German physicist Georg Simon Ohm, Ohm's Law describes the relationship between voltage, current, and resistance in an electrical circuit — arguably the single most important equation in all of practical electronics. Whether you're just starting your journey into hobby electronics or you're an experienced maker debugging a circuit at midnight, Ohm's Law is the formula you'll reach for again and again.
Ohm's Law states that the voltage across a conductor is directly proportional to the current flowing through it, with resistance as the constant of proportionality: V = I × R. This deceptively simple relationship unlocks the ability to calculate any one of the three quantities — voltage (V), current (I), or resistance (R) — when the other two are known. Combined with the power formula P = V × I, you can analyze virtually any passive circuit element.
In practical maker terms, Ohm's Law tells you: How much current will flow if I connect this component to this voltage? What voltage will appear across this resistor? Is this component going to overheat given these operating conditions? These are the questions that arise every time you pick up a breadboard or solder iron.
Voltage (V) is measured in volts and represents electrical potential difference — the driving force that pushes current around a circuit. Common voltages in maker projects include: 1.5V (AA battery), 3.3V (ESP32, modern logic), 5V (Arduino Uno, USB), 9V (battery packs), 12V (power supplies, motors), and 24V (industrial systems). Current (I) is measured in amperes (amps) and represents the rate of charge flow. Most hobby circuits work in milliamps (mA), while motors and power circuits work in full amperes. Resistance (R) is measured in ohms (Ω) and represents opposition to current flow.
Power (P), measured in watts, tells you how much energy is converted to heat (or light, or motion) per second. For resistors, this is entirely heat — and it must stay within the component's power rating. A standard ¼W resistor can safely dissipate 0.25 joules per second of heat. Exceeding this rating causes the resistor to overheat, change value, or fail. The power triangle — P = V × I = I² × R = V² / R — gives you three equivalent ways to calculate power depending on what you know.
This calculator lets you choose which quantity to solve for. Input the two known values and select whether you want to find voltage, current, resistance, or power. The power dissipation is always shown as a useful reference. This versatility makes it useful for a wide range of hobby scenarios: sizing resistors, checking motor current draw, verifying battery discharge rates, and understanding sensor output impedance.
The maker community uses Ohm's Law constantly: when calculating the base resistor for a transistor switch, when sizing a MOSFET gate resistor, when figuring out how long a battery will last powering a circuit, when choosing a voltage regulator, or when measuring an unknown component with a known test resistor. Even experienced engineers instinctively run through V = IR when analyzing an unfamiliar circuit. Making this calculation second nature is one of the most valuable skills you can develop as an electronics hobbyist.
Select which quantity to solve for from the dropdown. Enter the two known values, then read the result. The formulas are: V = I × R (voltage), I = V / R (current in amps, displayed in mA), R = V / I (resistance), P = V × I (power). Current is entered in milliamps for convenience and converted to amps internally. Power dissipation is calculated from the input voltage and current regardless of the solve-for selection, providing a constant reference.
When solving for resistance, a very low result (under 1Ω) may indicate a short circuit condition. When solving for current, values above the component's rated maximum indicate a potentially damaging condition — add more resistance or reduce voltage. Power dissipation above a component's rating will cause failure. As a rule of thumb, derate power components to 50% of their rated maximum in real circuits to account for temperature rise and component variation.
Inputs
Results
A 330Ω resistor on 5V passes ~15mA — suitable for a moderately bright LED. Power dissipation of 75.7mW is safely within a ¼W resistor rating.
Inputs
Results
A small DC motor with 4.8Ω winding resistance drawing 300mA drops 1.44V internally. This helps estimate available torque voltage in battery-powered robot designs.
Ohm's Law applies perfectly to resistors (ohmic conductors), which maintain constant resistance regardless of voltage and current. It does not apply precisely to non-linear components like diodes, LEDs, transistors, and capacitors, where the V/I relationship is non-linear. However, Ohm's Law is still used to analyze the resistive portions of circuits containing these components.
For DC circuits with resistors only, Ohm's Law applies directly. For AC circuits, reactive components (capacitors and inductors) introduce impedance (Z), which is a complex quantity combining resistance and reactance. The generalized form V = I × Z applies to AC circuits. For purely resistive AC circuits, the DC formula V = I × R still holds for RMS values.
Use the formula R = V² / P. For example, a 10W LED running at 12V has resistance R = 144 / 10 = 14.4Ω. Alternatively, find current first: I = P / V = 10 / 12 = 0.833A, then R = V / I = 12 / 0.833 = 14.4Ω. Both approaches give the same answer.
A short circuit occurs when resistance approaches zero ohms, causing theoretically infinite current (I = V / 0 = ∞). In practice, the current is limited by the internal resistance of the power source and wiring, but it can reach very high values — enough to blow fuses, trip breakers, overheat wires, or cause fires. This is why fuses and circuit breakers are essential protection devices.
For a BJT transistor switch, the base resistor limits base current. Calculate the required base current: Ib = Ic / hFE (where Ic is collector current and hFE is transistor gain). Then R_base = (V_logic − V_be) / Ib. For a 5V logic signal switching a transistor with hFE=100, Ic=100mA, V_be=0.7V: Ib = 1mA, R_base = (5 − 0.7) / 0.001 = 4300Ω — use 4.7kΩ.
Measuring resistance in-circuit with a multimeter gives incorrect results because parallel current paths through other components appear as lower resistance. Always measure resistors out of circuit (at least one lead desoldered or removed from the breadboard) for accurate readings. Alternatively, calculate the expected resistance from voltage and current measurements made while the circuit is powered.
Ohm's Law combined with the battery capacity equation (t = C / I) enables battery life estimation. First, use Ohm's Law to find total circuit current from supply voltage and total load resistance. Then divide battery capacity (in mAh) by current (in mA) to get approximate runtime in hours. For example, a 2000mAh battery powering a 50mA circuit will last approximately 40 hours (ignoring voltage sag).
Roboculator Team
The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.
How helpful was this calculator?
Be the first to rate!
Resistor Color Code Calculator
Electronics & Maker Calculators
LED Resistor Calculator
Electronics & Maker Calculators
Voltage Divider Calculator
Electronics & Maker Calculators
PCB Trace Width Calculator
Electronics & Maker Calculators
Electronic Component Value Calculator
Electronics & Maker Calculators
Arduino Current Calculator
Electronics & Maker Calculators