It’s based on your net self-employment income, so 1099 less expenses less 50% of the self-employment taxes.