K-1 plus W2 for compensation for SEP IRA?

If 100% owner of an s-corp with $100k net income after expenses (including $50k salary to self), does that mean compensation is then $150k and that max SEP IRA contribution is 25% of that amount (so then $37,500)?

 

Thank you.