Voltage divider

Output voltage
Without the load
Current from the supply
Power in R1
Power in R2
Output resistance

The same current flows through both resistors, so the supply voltage splits between them in proportion to their resistance. Take the output from the middle and you get a fixed fraction of the supply, until something draws current from it: add a load and watch the output sag.

The formulas

Ideal resistors and an ideal supply (no internal resistance). A divider is fine for setting a reference or reading a sensor into a high-impedance input; it isn't a power supply, because the output falls as soon as the load draws real current. Tested: the output against Kirchhoff's current law at the output node, and power in equals power out, for loaded and unloaded dividers (packages/mechanics/test/science.test.ts).

Example

With supply 12 V, R1, top 10 kΩ, R2, bottom 4.7 kΩ, load on the output: none: output voltage: 3.837 V; without the load: 3.837 V; current from the supply: 816 µA; power in R1: 6.66 mW; power in R2: 3.13 mW; output resistance: 3.2 kΩ. Open this setup, then change one thing at a time.

Related: RC circuit · Torque to horsepower