Electronics Maths for Hobbyists: Ohm's Law to Wire Gauge

Learn the core electronics maths hobbyists need: Ohm's Law, LED resistor values, wire gauge sizing, and fuse ratings for safe beginner projects.

Most hobby electronics problems come down to four questions: how much voltage, current, and resistance are involved, what resistor keeps an LED from burning out, what wire is thick enough for the job, and what fuse protects it all. You don't need an engineering degree to answer them, just a handful of formulas and a calculator to skip the arithmetic. This guide walks through each one with the numbers you'll actually run into on an Arduino breadboard, a Raspberry Pi power rail, or a 12V car audio install.

How do I calculate voltage, current, and resistance with Ohm's Law?

Ohm's Law ties the three together in one equation: V = I x R, where V is voltage in volts, I is current in amps, and R is resistance in ohms. Know any two values and you can find the third by rearranging the formula.

Want to findFormula
Voltage (V)V = I x R
Current (I)I = V / R
Resistance (R)R = V / I
Power (P)P = V x I
For example, a 9V battery driving a 470 ohm resistor pushes about 19 mA through the circuit (9 / 470 = 0.019 A). That single relationship is behind almost every calculation in this article, including the LED and fuse examples below.

→ Ohm's Law Calculator

What resistor value do I need to power an LED safely?

LEDs have a forward voltage that varies by color, and running one straight off a battery or a 5V Arduino pin without a series resistor will burn it out almost instantly. The resistor value depends on your supply voltage, the LED's forward voltage, and the current you want to drive it at (typically 10 to 20 mA for a standard 5mm LED).

LED colorTypical forward voltage
Red1.8 - 2.2 V
Yellow / Orange2.0 - 2.2 V
Green2.0 - 3.2 V
Blue / White3.0 - 3.4 V
The formula is R = (Vsupply - Vf) / I. For a red LED (2V forward voltage) on a 5V Arduino output at 15 mA, that's (5 - 2) / 0.015 = 200 ohms. Round up to the nearest standard value (220 ohms) to stay on the safe side.

→ LED Resistor Calculator

What wire gauge do I need for a given current and cable length?

Wire that's too thin for the current and distance it carries heats up and drops voltage along the way, which shows up as dim lights or a sluggish motor on a 12V project. The right gauge depends on three things: the current draw, the total length of the run (there and back), and how much voltage drop you're willing to accept, usually kept under 3 percent for a solid connection.

CurrentTypical AWG (short run, low drop)
Up to 3 A22-20 AWG
3-7 A18-16 AWG
7-15 A14-12 AWG
15-25 A10 AWG
These are rough starting points. A 10-foot run to a car amplifier drawing 20 A needs a noticeably thicker cable than a 1-foot run at the same current, because resistance and voltage drop both scale with length.

→ Wire Gauge Calculator

What fuse or breaker size should I use for a circuit?

A fuse should trip before the wire ahead of it overheats, not before the device it protects can run normally. The usual approach is to calculate the device's normal operating current (I = P / V), then pick a fuse rated at roughly 125 to 150 percent of that value, as long as it still sits below the wire's safe current-carrying capacity.

For a 180W car stereo amplifier running on 12V, that's 180 / 12 = 15 A of normal draw, so a 20A fuse is a common, safe choice. The same logic applies to solar setups, camper van 12V/24V circuits, and battery-powered projects generally.

Mains AC circuits (230V or 120V) carry a real risk of electric shock and fire, and any work on a home's fixed wiring should be left to a qualified electrician and done to local electrical codes. Everything in this article is aimed at low-voltage projects: batteries, LEDs, Arduino and Raspberry Pi boards, and 12V/24V systems.

→ Fuse Size Calculator

Putting it together

These four calculations cover most of what comes up in a typical hobby build: sizing a resistor for an LED indicator, wiring a 12V accessory without overheating the cable, and fusing the circuit so a short doesn't start a fire instead of just tripping a breaker. Keep the formulas above handy, or run the numbers through the calculators directly when you're at the workbench.