The formula
R₂ / (R₁ + R₂) = V_out / V_in
- V_in
- available supply voltage (volts)
- V_out
- voltage you want at the junction (volts)
- R₁, R₂
- the pair to find, chosen from the E12 or E24 series
Worked example
Get 3.3 V from a 5 V rail using E12 parts.
- Required ratio: 3.3 / 5 = 0.66
- Try R₁ = 10 kΩ, R₂ = 18 kΩ → 18 / 28 = 0.643
- V_out = 5 × 0.643 = 3.21 V, an error of −2.7 %
10 kΩ / 18 kΩ gives 3.21 V — close enough for a sense line, not for a reference.
Where you'll use it
Level-shifting a 5 V signal into a 3.3 V input, or setting a feedback ratio. For anything needing accuracy, note that E12 resistors are ±10 % parts, so the tolerance dominates the ratio error you see here.