This calculator helps you determine the values of the resistors R1 and R2 to be used for a Pi Attenuator.