Any three of Vin, R1, R2 and Vout gives the fourth - feedback resistors, bias, sensing.
Enter any three values to calculate the fourth.
A voltage divider (or potential divider) is two resistors in series across a supply. The output, taken from the middle, is Vout = Vin × R2 ÷ (R1 + R2), where R1 is the top resistor and R2 the bottom one. Enter any three of the four values and the calculator solves for the last.
To get 3.3 V from 12 V with R2 = 10 kΩ: R1 = R2 × (Vin − Vout) ÷ Vout = 10k × 8.7 ÷ 3.3 ≈ 26.4 kΩ - in practice 27 kΩ, giving about 3.24 V. Remember a divider only holds its voltage with almost no load: anything drawing real current from the middle pulls Vout down.
Adjustable regulators and switch-mode power supplies set their output with a divider into a feedback (FB or ADJ) pin. The regulator holds that pin at its reference voltage - 1.25 V on an LM317, often 0.8 V or 0.6 V on buck converters - so put the reference in as Vout and the output voltage you want as Vin to find the resistors. When a supply's output is wrong, a drifted feedback resistor is a common cause - check it against this calculation. Power-supply boards with their parts marked are in our board library.
Circuit Fixers has photos of real circuit boards from repairs with every component marked - find your device and see what each part is and where it sits.
Search the board library Parts catalogue