What is a Voltage Divider?
A voltage divider circuit is a circuit that takes a higher voltage and converts it into a lower one by using a pair of resistors connected in series.
The formula for calculating the output voltage is based on Ohm’s Law and is shown below.
Voltage Divider Formula
Vout Formula
Vout = Vs × R2 / (R1 + R2)
Where:
- Vs — Source voltage, measured in volts (V)
- R1 — Resistance of the 1st resistor (Ω)
- R2 — Resistance of the 2nd resistor (Ω)
- Vout — Output voltage, measured in volts (V)
Enter any three known values and press Calculate to solve for the other.
Voltage divider circuits are commonly used in robotics, signal conditioning, and microcontroller platforms like Arduino and ESP32.
Choosing R1 and R2
When selecting R1 and R2 in a voltage divider circuit, first decide the required Vout and know your source voltage (Vs).
- Higher resistor values reduce current consumption.
- Lower values provide better stability but consume more power.
- Ensure resistors are within safe wattage ratings.
For Arduino and sensor circuits, values between 1kΩ to 100kΩ are commonly used.
Example Calculation
Suppose:
- Vs = 12V
- R1 = 4kΩ
- R2 = 2kΩ
Using the voltage divider formula:
Vout = 12 × (2 / (4 + 2))
Vout = 12 × (2 / 6)
Vout = 12 × 0.333
Vout = 4V
So, the output voltage is 4 volts.
Applications
Voltage divider circuits are widely used in Arduino projects, sensor signal scaling, battery voltage monitoring, analog input protection, PCB design, and electronics labs. They help step down voltage safely, making them essential for students, teachers, and DIY electronics enthusiasts.