Zin desired input impedance in Ω
Zout desired output impedance Z in = Z out
a attenuation in dB
L = 10a/20 (the loss)
Bridged tee attenuator
R1 = Zin * (L − 1)
R2 = Zin/(L − 1)