Voltage Divider
1. What Is a Voltage Divider?
A voltage divider is an electrical circuit that produces a lower output voltage from a higher input voltage using two or more components, usually resistors connected in series.
It is one of the most common circuits in electronics and is used to obtain a specific voltage for sensors, microcontrollers, measurement circuits, and other electronic devices.
For example, a voltage divider can reduce a 12 V input to approximately 5 V using two properly selected resistors.
The basic voltage divider consists of:
- An input voltage source
- Two resistors, and
- An output voltage measured across
The output voltage depends on the resistance values and the input voltage.
2. Voltage Divider Circuit Diagram
Consider two resistors connected in series across a voltage source.
The output is taken from the junction between the resistors and ground, across .
In this circuit:
- is the voltage supplied to the complete resistor network.
- is the resistor between the input and the output node.
- is the resistor between the output node and ground.
- is measured across .
Both resistors carry the same current when the output is unloaded.
3. Voltage Divider Formula
The standard voltage divider formula is:
Where:
| Symbol | Meaning | Unit |
|---|---|---|
| Input voltage | Volts (V) | |
| Output voltage | Volts (V) | |
| Upper resistor | Ohms () | |
| Lower resistor | Ohms () |
The formula assumes that the output is not significantly loaded by another circuit.
Why does the formula work?
Because the resistors are connected in series, the total resistance is:
Using Ohm’s law, the current through both resistors is:
The output voltage is measured across , so:
Substituting the current:
Therefore:
This is the voltage divider equation.
4. Solved Numerical Examples
Example 1: Finding output voltage
Suppose:
- Input voltage = 12 V
Find the output voltage.
Using the formula:
Substitute the values:
Therefore, the output voltage is 8 V.
Example 2: Reducing 12 V to 5 V
Suppose you have a 12 V input and want approximately 5 V at the output.
Choose:
Then:
This gives 5 V mathematically for an unloaded output.
However, a resistor divider is not necessarily a suitable 5 V power supply. When a device draws current, the output voltage can fall. For powering electronics, a properly rated voltage regulator or DC-DC converter is often more appropriate.
Example 3: Finding an unknown resistor
Suppose:
Start with:
Substitute:
Multiply both sides:
The required lower resistor is 2 kΩ.
5. Interactive Voltage Divider Calculator
Use the calculator below to see how changing the input voltage or either resistor affects the output.
Input voltage
12 V
1 V
12 V
24 V
Upper resistor (R₁)
2 kΩ
1 kΩ
10 kΩ
20 kΩ
Lower resistor (R₂)
4 kΩ
1 kΩ
10 kΩ
20 kΩ
Calculated output voltage
8.000 V
66.7% of the input voltage
Divider current
2.000 mA
Voltage across R₁
4.000 V
Power in R₁
8.000 mW
Power in R₂
16.000 mW
Calculations assume an unloaded output, ideal voltage source, and resistor values expressed in kΩ.
Reset values
6. What Happens When You Change the Resistors?
The output voltage depends on the ratio between the two resistors, not just their individual values.
- Increasing while keeping constant increases the output voltage.
- Decreasing while keeping constant decreases the output voltage.
- Increasing while keeping constant decreases the output voltage.
- Multiplying both resistors by the same factor keeps the ideal output voltage unchanged, but reduces the current drawn by the divider.
For example, both and produce the same ideal output ratio:
But the first circuit draws ten times as much current as the second.
7. Loaded Voltage Divider
A basic voltage divider assumes that no significant current is drawn from its output. When a load is connected, the situation changes.
If a load resistor is connected across , the effective lower resistance becomes:
The output voltage is then:
Because the load resistor is in parallel with , the effective resistance is smaller than . This usually makes the output voltage lower than the unloaded value.
For a more stable output, the load resistance should generally be much larger than the divider's lower resistance, or a buffer circuit can be used.
8. Applications of Voltage Dividers
Interfacing a Light Sensor (LDR) with Raspberry Pi 4 - The Engineering Projects
A. Sensors
A voltage divider with an LDR or thermistor converts a change in resistance into a change in voltage. A microcontroller can read this voltage to estimate light level or temperature.
Měření napětí pomocí Arduino | VOXCAFE - internet full service
B. Microcontroller voltage measurement
A resistor divider can scale a voltage down to a safe measurement range for an analog input, provided the input limits, resistor tolerances, and circuit grounding are considered.
Lab 3 — Experimenting with Potentiometer | by Richa Verma | Medium
C. Potentiometers
A potentiometer acts as an adjustable voltage divider. Moving its wiper changes the output voltage between the two end-terminal voltages.
D. Transistor biasing
Resistor dividers are often used to establish a suitable base voltage for a bipolar junction transistor, helping set its operating point.
9. Voltage Divider vs. Voltage Regulator
| Feature | Voltage divider | Voltage regulator |
|---|---|---|
| Main purpose | Produces a ratio-based output voltage | Maintains a regulated output voltage |
| Main components | Usually resistors | Regulator IC or converter circuit |
| Output under changing load | Can change significantly | Usually more stable within its specifications |
| Efficiency | Some input power is continuously dissipated in resistors | Depends on regulator type |
| Typical use | Signal scaling and sensor circuits | Powering electronic devices |
Important: Do not use a simple resistor voltage divider as a general-purpose power supply for an Arduino, ESP32, or other device that draws varying current. A suitable regulator or DC-DC converter is normally the better choice.
10. Important Points to Remember
- A voltage divider produces an output voltage from a fraction of the input voltage.
- Its basic formula is:
- The output is taken across the lower resistor in the standard circuit.
- The formula assumes the output is unloaded.
- A load connected to the output can change the voltage.
- A potentiometer is an adjustable voltage divider.
- Voltage dividers are commonly used with sensors, analog inputs, and transistor bias circuits.
In short: A voltage divider is a simple way to obtain a fraction of an input voltage by using resistors connected in series.