What is Ohm's law?
Ohm's Law: The current through a conductor is directly proportional to the voltage across it, with resistance as the constant of proportionality. — Georg Simon Ohm, 1827
Electric current is a flow of charge, usually electrons moving through a wire. Like water through a pipe, it needs something to push it and it meets something that holds it back. The push is the voltage, V, the difference in electrical potential between two points. The holding back is the resistance, R, caused by electrons colliding with the atoms of the conductor. The flow that results is the current, I.
Ohm's law says that for many materials, the current is simply proportional to the voltage: double the push and you double the flow. The constant linking them is the resistance, so V = IR.
The German physicist Georg Simon Ohm published this in 1827 in his book Die galvanische Kette, mathematisch bearbeitet. He measured the current through wires of different lengths and thicknesses, using a thermocouple as a steady voltage source. His work was not well received at first, but it became the foundation of circuit theory. The unit of resistance, the ohm (Ω), is named after him.
Ohm's law has the same form as Fick's law of diffusion and Fourier's law of heat conduction. In each, a flow (charge, matter or heat) is proportional to a driving difference (voltage, concentration or temperature) divided by a resistance.
The formula explained
| Symbol | Quantity | SI unit | Meaning |
|---|---|---|---|
| V | Voltage | V | Potential difference across the component |
| I | Current | A | Electric current through it |
| R | Resistance | Ω | Electrical resistance |
Three forms of one law. V = IR, I = V/R and R = V/I. The calculator rearranges for whichever you need.
Units. Voltage in volts (V), current in amperes (A) and resistance in ohms (Ω). 1 Ω = 1 V/A. Electronics often uses mA (10⁻³ A), kΩ (10³ Ω) and MΩ (10⁶ Ω). A handy pairing: volts ÷ kilohms = milliamps.
Power. The rate at which electrical energy turns into heat or other forms is P = VI. Substituting Ohm's law gives two more forms: P = I²R and P = V²/R. Power is in watts (W). The calculator shows it as a derived result.
Where resistance comes from. For a uniform wire, R = ρL/A, where ρ is the material's resistivity, L the length and A the cross-sectional area. Copper has ρ ≈ 1.68 × 10⁻⁸ Ω·m at 20 °C.
Combining resistors. In series, resistances add: R = R₁ + R₂. In parallel, conductances add: 1/R = 1/R₁ + 1/R₂.
How to use this calculator
- Choose the quantity you want to find in the Calculate menu. It is highlighted as the result field.
- Enter the known values. Scientific notation such as
1.6e-11is accepted. - Select a unit for each value. Units are converted to SI automatically.
- The answer updates as you type. Open Show calculation steps to see the working, or use Copy result to share a link with your inputs.
Step-by-step worked example
Problem. (a) A 24 Ω heater element carries 0.5 A. What is the voltage across it, and how much power does it use? (b) Choose a resistor so that an LED with a 2.0 V forward voltage draws 20 mA from a 5.0 V supply. (c) A 2.3 kW kettle runs on 230 V mains. What current does it draw, and what is its resistance?
Part (a)
- Voltage. V = IR = 0.5 × 24 = 12 V.
- Power. P = VI = 12 × 0.5 = 6 W.
Part (b)
- Voltage across the resistor. 5.0 − 2.0 = 3.0 V.
- Resistance. R = V/I = 3.0 / 0.020 = 150 Ω.
- Resistor power. P = I²R = 0.020² × 150 = 0.06 W, comfortably within a standard 0.25 W resistor's rating.
Part (c)
- Current. I = P/V = 2300 / 230 = 10 A.
- Resistance. R = V/I = 230 / 10 = 23 Ω (when hot).
Try it: the calculator's defaults reproduce part (a). For part (b), choose "Resistance" and enter V = 3 V and I = 20 mA.
How to interpret the result
- Check the scale. Electronics typically involves milliamps and kilohms. Household appliances involve amps and tens of ohms. Wires and connections should be well under 1 Ω: 10 m of 1.5 mm² copper wire is about 0.11 Ω.
- Power tells you about heat and safety. A component dissipating more power than its rating will overheat. Every resistor, wire and fuse has a maximum power or current.
- A straight-line V–I graph means "ohmic". If doubling the voltage does not double the current, the component does not obey Ohm's law. R = V/I then gives only the resistance at that particular operating point.
- Resistance changes with temperature. Metals become more resistive when hot. A filament bulb has a much lower resistance when cold, so it draws a surge of current at switch-on.
Real-world applications
- Circuit design. Choosing resistors to set currents, divide voltages and bias transistors relies on Ohm's law at every step.
- LEDs. Every LED needs a series resistor, or a current-controlling driver, to limit its current. The calculation is exactly part (b) above.
- Electrical safety. Fuses and circuit breakers are sized from the current an appliance draws. Wire thickness is chosen so that I²R heating stays safe.
- Heating elements. Kettles, toasters, hair dryers and electric showers turn electrical energy into heat in a resistance. The required resistance follows from the power rating and the supply voltage.
- Sensors. Thermistors, strain gauges and light-dependent resistors change resistance with temperature, strain or light. Measuring the resulting current or voltage turns them into sensors.
- Fault-finding. Technicians measure voltages and currents in a circuit and use Ohm's law to locate broken connections, short circuits and failed components.
Common mistakes and unit-conversion tips
- mA entered as A. 20 mA is 0.020 A. Using 20 gives a resistance 1000 times too small.
- Using the supply voltage instead of the voltage across the component. In part (b), the resistor sees only 3 V, not the full 5 V.
- Applying it to non-ohmic parts. Diodes, LEDs and transistors do not have a constant resistance. Use their data-sheet curves.
- Ignoring power ratings. A resistor that gives the right current may still burn out if I²R exceeds its rating.
- Using peak instead of RMS values for AC. Mains voltages such as 230 V or 120 V are RMS values. Use them directly in P = VI.
- Adding parallel resistors directly. Two 100 Ω resistors in parallel make 50 Ω, not 200 Ω.
Frequently asked questions
Does Ohm's law apply to all components?
No. Diodes, transistors, gas discharges and filament lamps (whose resistance rises as they heat up) are non-ohmic. R = V/I still defines an instantaneous resistance, but it is not constant.
How do I pick a resistor for an LED?
R = (V_supply − V_LED) / I_LED. For example, (5 V − 2 V) / 0.02 A = 150 Ω. Select "Resistance" and enter the voltage across the resistor and the desired current.
What is the Ohm's law triangle?
It is a memory aid: write V at the top and I and R side by side underneath. Cover the quantity you want and the other two show the formula: V = I × R, I = V / R, R = V / I.
How do I calculate electrical power?
P = V × I. Using Ohm's law you can also write P = I²R or P = V²/R. A 230 V appliance drawing 10 A uses 2300 W.
Why do wires get hot?
Every wire has some resistance, so current flowing through it dissipates power as heat at a rate of I²R. Thicker wires have lower resistance and stay cooler, which is why high-current circuits use thicker cable.
Related calculators
- Coulomb's Law Calculator: the electrostatic force between the charges that make up a current.
- Einstein Relation Calculator (Mobility ↔ Diffusivity): how charge-carrier mobility, which sets resistivity, links to diffusion.
- Nernst Equation Calculator: the voltage a battery or electrochemical cell supplies.
- Fourier's Law of Heat Conduction Calculator: the heat-flow equivalent, with thermal resistance in place of electrical resistance.
Sources and further reading
- Ohm, G. S. (1827). Die galvanische Kette, mathematisch bearbeitet. Berlin: T. H. Riemann.
- Halliday, D., Resnick, R., & Walker, J. (2018). Fundamentals of Physics (11th ed.). Wiley. Chapter 26, Current and resistance.
- Horowitz, P., & Hill, W. (2015). The Art of Electronics (3rd ed.). Cambridge University Press. Chapter 1.
- Young, H. D., & Freedman, R. A. (2019). University Physics (15th ed.). Pearson.