Calculating 3% Employer Contribution to Simple IRA for Self-Employed Person

I am self-employed. What is the formula for calculating the 3% employer contribution to my Simple IRA? If someone could tell me which specific lines to use from which specific 1040 schedules so I can just plug in numbers, I would be very grateful. Thank you!