Voltage Divider Calculator
Calculate the output of a two-resistor voltage divider, or pick resistors to bring a 5 V signal down to a safe 3.3 V level for ESP32 and Raspberry Pi Pico pins.
Vout = Vin × R2 / (R1 + R2)
V
Ω
Ω
- Output voltage
- 3.33 V
- Divider current
- 1.667 mA
- Ratio
- 0.667
- Safe for 3.3 V pin?
- No, reduce R2 or raise R1
Frequently asked questions
How do I convert 5 V to 3.3 V with resistors?
Use R1 = 1 kΩ (from the 5 V signal) and R2 = 2 kΩ (to ground): 5 × 2 / 3 = 3.33 V. This works for slow signals such as the HC-SR04 Echo pin.
Can a voltage divider power a module?
No. A divider's output sags under load. Use it only for signals or measurements, and use a regulator or buck converter for power.
Next: try it in a real circuit with the Circuit Builder, or browse projects.