resistor voltage division calculation

input voltage vin: V
series resistance ra: Ω
parallel resistor rb: Ω
output voltage vout: V

in a series circuit, the currents in each resistor are equal, and the sum of the voltages across each resistor is equal to the total voltage of the circuit. it can be seen that the voltage on each resistor is less than the total voltage of the circuit, so the resistors in series divide the voltage.