You can defer upto $16,500(if under age 50) from your payroll. In addition the S Corp can contribute upto 25% of the payroll as company match to your 401K.
The deferral from paycheck will reduce your net paycheck and the S Corp will write check to your 401K account for that amount. Company match will also be contributed by the S Corp to your 401K account.
Let me know if you have any question.
Please note: This advice is provided with the understanding that all the relevant facts have been provided by you. Any change in facts might affect the advice given and hence may not be relied on in such cases. Nothing contained in this reply was intended or written to be used, can be used by any taxpayer, or may be relied upon or used by any taxpayer for the purposes of avoiding penalties that may be imposed on the taxpayer under the Internal Revenue Code of 1986, as amended.
Since you have taken a payroll of $60,000 - the deferral of $16500 should come out of this $60000. Hence, you net paycheck should have been reduced by this amount. Since the 401K deferral reduces your wages reported on Line 1 of Form 941 - this has to come out from wages and paid by the S Corp to the 401K account.
Regarding company match- it would be $ 60000 *.25 = $15,000. 25% in on the payroll you take and not on the total S Corp revenue.
This check is from the S Corp to the 401K account.