Shop by category
Shop all componentsOhm’s law & basics
Higher than 3.3 V: do not feed this into a 3.3 V microcontroller pin.
Vout = Vin × R2 ÷ (R1 + R2)R2 = Vout × R1 ÷ (Vin − Vout)5 V with R1 = 10 kΩ and R2 = 20 kΩ: Vout = 5 × 20 ÷ 30 = 3.33 V. To get 3.3 V from 5 V with R1 = 1 kΩ: R2 = 3.3 × 1000 ÷ 1.7 = 1.94 kΩ, nearest standard 2 kΩ gives 3.36 V.
A voltage divider is two resistors in series. The output at the middle is a fixed fraction of the input. It is the simplest way to read a 12 V battery with a 3.3 V ADC, or to drop a 5 V sensor signal to a level an ESP32 can accept.
A divider is not a power supply. Anything you connect to the output loads it and pulls the voltage down, so keep the load at least ten times the output impedance shown above. For powering things, use a regulator or a buck converter.
No. The output sags as soon as current is drawn. Use a voltage regulator or buck converter.
10 kΩ to 100 kΩ for reading signals keeps current low. Lower values (1–10 kΩ) respond faster and resist noise.
Use R1 = 1 kΩ and R2 = 2 kΩ (or 2.2 kΩ), which gives about 3.3 V. This works for slow logic signals like UART RX, not for powering a module.
Vout = Vin × R2 ÷ (R1 + R2); R2 = Vout × R1 ÷ (Vin − Vout).
5 V with R1 = 10 kΩ and R2 = 20 kΩ: Vout = 5 × 20 ÷ 30 = 3.33 V. To get 3.3 V from 5 V with R1 = 1 kΩ: R2 = 3.3 × 1000 ÷ 1.7 = 1.94 kΩ, nearest standard 2 kΩ gives 3.36 V.
Geekobot builds that use it include Automatic chicken coop door, Pico light theremin (MicroPython), Wi-Fi dusk light with manual override and Pico fading night light (MicroPython). 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