If there is one circuit you will see everywhereâand I mean everywhereâitâs the voltage divider. Whether youâre trying to step down a 5V signal so your 3.3V microcontroller doesnât violently combust, or reading an analog sensor, voltage dividers are your best friend. They are also the reason your battery dies faster than expected. Letâs learn to divide.

A voltage divider is a simple linear circuit that turns a large voltage into a smaller one. Using just two resistors in series, we can create an output voltage that is a fraction of the input voltage.
The math behind a voltage divider is straightforward. If you have an input voltage (Vin) connected across two resistors in series (R1 and R2), and you measure the output voltage (Vout) across R2, the formula is:
Vout = Vin * (R2 / (R1 + R2))
Here is what you need to keep in mind:
Voltage dividers are incredibly useful for several reasons:
Remember, voltage dividers are great for signals, but terrible for power supplies. Donât try to power a heavy load using a voltage divider, or your output voltage will drop significantly and things will get hot!
To follow along with this lesson, youâll need the following components: