Retirement tax questions

On the W4-V form, for social security voluntary federal W/H you have to choose 7%, 10%, 12% and 22%. From there, that what I wanted to know which amount get the w/h is based off of, the gross before medical premium deduction or after