Understanding Ohm's law
A resistor is the simplest bargain in electronics: give it a voltage, and it decides how much current flows. The rule that governs that bargain fits on one line — voltage equals current times resistance — and it was worked out by Georg Ohm in the 1820s, when the idea that electricity flowed like water through a pipe was still new. Double the voltage across a fixed resistor and the current doubles; double the resistance at a fixed voltage and the current halves.
Formula and method
Power = voltage² ÷ resistance
Current in amps: Power in watts: Voltage — the electrical pressure across the resistor, in volts. Resistance — the opposition to current flow, in ohms (Ω). Current — the flow through the resistor, in amps (A). Power — the energy the resistor turns into heat each second, in watts (W). Why current falls as resistance rises. With the voltage fixed, a larger resistance lets less current through — current is voltage divided by resistance, so doubling the resistance halves the current. Why power grows with the square of the voltage. Power is voltage times current, and current itself grows with voltage, so doubling the voltage quadruples the power: a resistor that sheds 24 W at 12 V would shed 96 W at 24 V across the same resistance. Why the power figure matters as much as the current. A resistor's wattage rating is a heat limit, not a current limit. A circuit can carry a modest current and still destroy a resistor if the voltage across it is high, because the heat depends on voltage squared — so the power answer should always be compared with the component's rating before the circuit is built.
Worked example
Example 1 — 12 V across 6 Ω (the live-page example) A 12-volt source connected across a 6-ohm resistor. Current: 12 ÷ 6 = 2 A Power: 12² ÷ 6 = 144 ÷ 6 = 24 W Result: 2 A (current) The live page's stored example uses these inputs, and the steps above return the same headline figure of 2 amps, with 24 watts of power alongside it. A resistor in this circuit must be rated above 24 W to survive — a common quarter-watt component would fail in moments, which is why the power figure is printed next to the current rather than hidden.