Shop by category
Shop all componentsOhm’s law & basics
A resistor here should be rated at least 2 W (2× margin over 655 mW).
V = I × RI = V ÷ RR = V ÷ IP = V × I = I² × R = V² ÷ R12 V across a 220 Ω resistor: I = 12 ÷ 220 = 0.0545 A (54.5 mA). Power P = 12² ÷ 220 = 0.655 W, so use a 2 W resistor, or a larger resistance.
Ohm’s law links the three basic quantities of any circuit: the voltage pushing current through a part, the current that flows, and the resistance that limits it. Add the power law (P = V × I) and you can find any two of the four values from the other two.
Use it to check how much current a sensor or LED draws, to pick a resistor value, and to make sure that resistor will not overheat. Always convert milliamps to amps and kilohms to ohms before you multiply, or use the unit selectors above, which do it for you.
Current equals voltage divided by resistance. Double the voltage and the current doubles; double the resistance and the current halves.
Not directly. LEDs, diodes and motors are not fixed resistances. Use the LED resistor calculator for LEDs and the motor calculators for motors.
Divide the voltage across the resistor by its resistance: I = V ÷ R. For example, 5 V across 1 kΩ gives 5 mA.
V = I × R; I = V ÷ R; R = V ÷ I; P = V × I = I² × R = V² ÷ R. Here V is voltage in volts, I is current in amps, R is resistance in ohms and P is power in watts.
12 V across a 220 Ω resistor: I = 12 ÷ 220 = 0.0545 A (54.5 mA). Power P = 12² ÷ 220 = 0.655 W, so use a 2 W resistor, or a larger resistance.
Geekobot builds that use it include Wi-Fi fridge thermometer, Battery voltage tester with a 7-segment display, Battery charge level ring and Wi-Fi fridge temperature monitor. Each has the full parts list, wiring and code.
Results are estimates for design and learning. Check critical designs against the component datasheet. Made by the Geekobot Learning Team. How we write our calculators