Calculators · Core relationship
Ohm's law
LiveSolve voltage, current, resistance, and power relationships in resistive circuits.
The everyday relationship between voltage, current, resistance, and power.
Inputs
Set the calculator
Enter any two positive values. The two most recent fields are treated as known values and the other two update automatically.
Live visual
Calculation cue
--
Enter valid values to show the live visual.
Calculator guide
Ohm's law formulas and practical checks
Formulas, examples, and practical notes for using the result with confidence.
Overview
Ohm's law is the trusty pocket tool of electronics: voltage pushes, resistance pushes back, current flows, and power tells you where the energy goes. Those four values explain a surprising amount of what happens on a breadboard.
Enter any two values you know and the calculator fills in the other two. It is a quick way to size a resistor, check a meter reading, estimate current draw, or catch a part that may run hotter than expected.
Use the result as a clear first check, then compare it with the component datasheet and a real measurement when tolerances, temperature, or non-resistive parts enter the picture.
Current example
Enter valid values above and this example will update with the calculator state.
The core relationship
Voltage pushes current through resistance; power is the heat or work produced.
Voltage is the electrical pressure between two points, current is the amount of charge flowing through the path, and resistance is the opposition to that flow. In a simple resistive load, these values are locked together: increase voltage and current rises; increase resistance and current falls.
The calculator uses the ideal DC relationship. That makes it excellent for resistors, shunts, pull-ups, voltage drops across known resistances, and first-pass checks on simple loads. It is less complete for parts whose resistance changes with voltage, temperature, speed, light, or semiconductor junction behaviour.
Power is the consequence that matters when you choose physical components. A calculated resistance can be electrically correct but still be a poor design if the part has to dissipate more heat than its package, enclosure, or airflow can handle.
Ohm's law
Voltage equals current multiplied by resistance.
Power law
Power equals voltage multiplied by current.
What the four symbols mean
The calculator keeps voltage, current, resistance, and power together because real design decisions usually need more than one answer.
V is voltage in volts. It may be the supply voltage, the voltage across one resistor, or the voltage drop measured across a known sense resistor. Always be clear about which two points the voltage is measured between.
I is current in amps. Most small electronics values are easier to think about in milliamps, but equations use amps internally. A 20 mA LED current is 0.02 A, and that unit conversion is one of the most common sources of wrong answers.
R is resistance in ohms. For a resistor it is the nominal value printed by the code or measured with a meter. For a load it may only be an equivalent resistance at one operating point.
P is power in watts. It tells you how fast electrical energy is being converted to heat, light, motion, or another form of work. For resistors and shunts, this is the value that drives wattage selection and temperature rise.
Voltage
Use when checking a supply rail, a drop across a resistor, or the voltage a sensor or ADC input will see.
Current
Use when estimating battery drain, LED current, shunt current, or whether a GPIO pin is being overloaded.
Resistance
Use when choosing a current-limit resistor, calculating an equivalent load, or checking a measured part.
Power
Use when selecting resistor wattage, estimating heat, or deciding whether a package has enough margin.
Choosing a solve mode
Choose the value you want to solve, then enter the two known values you trust.
Choose Voltage when you know the current through a resistance and want the voltage drop. This is useful for shunt measurements and checking how much of a supply is being lost across a resistor.
Choose Current when you know the voltage across a resistor and want the current. This is the standard check for pull-ups, current-limit resistors, and measured voltage drops across sense resistors.
Choose Resistance when you know the desired current from a voltage source. This is the common starting point for LEDs, bias resistors, simple loads, and current-limited test circuits.
Choose Power when you already know the voltage and current, or when you know voltage/current with resistance and need to check heat. Power is the value to compare against a component wattage rating.
Bench check
If a 5 V rail drives 20 mA through a load, the equivalent resistance is 250 Ω and the load dissipates 100 mW.
Shunt measurement
If a meter reads 50 mV across a 0.1 Ω shunt, the current is 0.5 A. The shunt dissipates 25 mW, so a 0.25 W shunt has comfortable margin in that condition.
Power rating and heat
The calculated wattage should be comfortably below the component rating.
Resistors are usually rated at a maximum temperature rise in ideal conditions. A part rated for 0.25 W can be hot at 0.25 W, especially inside an enclosure or near other warm components.
A useful first pass is to choose a part rated for at least twice the calculated dissipation. For products, review the datasheet derating curve and the actual ambient temperature.
Small SMD resistors often have much lower power ratings than through-hole parts. A 0603 resistor may be fine for signal pull-ups and dividers, but it can become unsuitable quickly when used as a current limiter or shunt.
Power from voltage and resistance
Power from current and resistance
Worked examples
The same equations cover current limiting, measurements, and load checks.
For an LED indicator on a 5 V rail, suppose the LED drops 2 V and you want 10 mA. The resistor sees the remaining 3 V. Resistance is 3 V divided by 0.01 A, so a 300 Ω resistor is the ideal value before choosing a nearby standard value.
For a pull-up resistor, a 10 kΩ pull-up on 3.3 V draws 0.33 mA when pulled low. The power is about 1.1 mW, which is negligible for most resistor packages but may matter in ultra-low-power battery products.
For a current-sense resistor, 100 mV across 0.2 Ω means 0.5 A is flowing. The resistor power is 0.05 W, so a 0.125 W part may work thermally in open air but still needs margin in a compact enclosure.
Current limit
R = V ÷ I = 3 V ÷ 0.01 A = 300 Ω.
Pull-up current
I = V ÷ R = 3.3 V ÷ 10 kΩ = 0.33 mA.
Sense resistor power
P = V × I = 0.1 V × 0.5 A = 0.05 W.
Common applications
Ohm's law shows up anywhere current is limited, measured, or converted to heat.
Use it to check LED current resistors, voltage dividers, pull-up currents, sensor loads, transistor base resistors, shunt resistors, and small heating elements.
It is also useful when debugging: a measured voltage drop across a known resistor immediately tells you the current through that part of the circuit.
In production design, Ohm’s law is often the first filter before a more detailed simulation or datasheet review. It will not replace a regulator efficiency curve, LED IV curve, motor stall-current check, or thermal model, but it quickly catches values that are plainly impossible.
LED resistors
Convert voltage headroom and target LED current into resistance and resistor wattage.
Current sensing
Convert a measured shunt resistor voltage into current.
Battery projects
Estimate current draw and power loss before choosing cells or regulators.
GPIO and logic inputs
Estimate pull-up, pull-down, and series-resistor currents so microcontroller pins stay within their limits.
Thermal checks
Convert electrical loss into watts before looking at package power ratings and derating curves.
Common mistakes
Most wrong answers come from unit mixups, non-ohmic loads, or ignoring wattage.
Make sure current is entered in the expected unit. 20 mA is 0.02 A, not 20 A.
Ohm's law describes resistive behaviour. LEDs, motors, speakers, batteries, and regulators may not behave like fixed resistors across their operating range.
Be careful with where voltage is measured. The voltage across one resistor in a circuit is not always the same as the supply voltage, and using the wrong voltage can oversize or undersize the result by a large amount.
Resistance tolerance also matters. A 5% resistor can move current by roughly 5% before supply variation, temperature coefficient, and load changes are considered.
Assumptions and limits
- Results are design estimates, not a substitute for datasheets, measurements, safety approvals, or engineering review.
- Component tolerance, temperature, supply variation, and real loading can move the final circuit away from the ideal calculation.
- Calculator results are estimates for design and learning. Verify values against datasheets, tolerances, temperature, load behaviour, and safety requirements before using them in a real circuit.
Licensing
Calculator copy, equations, and generated visuals are provided for learning and design-reference use on Kobee unless a specific licence is shown.
Next tools
Related calculators
Voltage divider
Design two-resistor dividers, check load effects, and solve for a target output voltage.
LED series resistor
Pick the right resistor for LEDs from supply voltage, forward voltage, and current.
Series and parallel resistors
Calculate equivalent resistance for resistor lists in series and parallel.