Short answer is yes. Your SS is taken out before any reductions like 401k apply. Look at your W2 for any year where you just had one job(or didn’t change jobs) to make it simple. Your gross earnings for your job are the same as your SS taxable/taxed earnings, and should match your SS statement online.