Ma se Vin = Vout a che ti serve il partitore?

Comunque la formula è:
R2 = (Vout * R1) / (Vin - Vout )