← Back to Calculators

Voltage Divider Calculator — 5V to 3.3V for ESP32

Trying to connect a 5V sensor to a 3.3V microcontroller like an ESP32 or Raspberry Pi Pico? If you send 5V straight into a 3.3V pin, you'll likely fry it. You need a voltage divider to safely step that voltage down. Enter your voltages and resistor values below to find the exact output.

Output Voltage (Vout): 3.30 V


How the Voltage Divider Formula Works

A voltage divider uses two resistors in series to reduce a higher voltage to a lower one. The formula is:

Vout = Vin × (R2 / (R1 + R2))

Common Resistor Combinations (5V to 3.3V)

Don't have the exact resistors on hand? Here are the most common pairs for safely stepping 5V down to ~3.3V:

Crucial Mistakes to Avoid

Keep Learning

Now that you've got your voltages sorted, take your skills further with our other lessons and tools: