Retirement tax questions

Thanks. Then, to be clear, I pay self-employment tax (Social Security) only on the profit? Not on the gross Box 7 amount?