Retirement tax questions

@dmertz earlier in this thread you said the following: "with $10,000 of net profit you have only $9,293 of net earnings. Net earnings are net profit minus the deductible portion of self-employment taxes. With $9,293 of net earnings you can contribute $9,293 as a Roth contribution to a 401(k) and $6,500 to the Roth IRA."

Since I have $11,617  in NET earnings for the year of 2023, shouldn't I be able to contribute $11,617 to the Individual Roth 401(k) plan and $6,500 to the Roth IRA?