Question about SEP IRA for S-Corp

I know there are percentage limits on the SEP IRA for what someone can contribute.
With my S-Corp, I pay myself a salary, and the rest of the profits are
paid out as a distribution (I am the only shareholder).
Would my % limit be based on my salary, or on my salary+distributions?
Thanks.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

I believe that k-1 earnings are not includable in the calculation, only EARNED income. [Note: That's the IRS definition of earned. I'm betting you "earned" every penny.]
Are (or your spouse) the only employee of the company?
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

BeanSmart.com is a site by and for consumers of financial services and advice. We are not affiliated with any of the banks, financial services or software manufacturers discussed here. All logos and trade names are the property of their respective owners.

Tax and financial advice you come across on this site is freely given by your peers and professionals on their own time and out of the kindness of their hearts. We can guarantee neither accuracy of such advice nor its applicability for your situation. Simply put, you are fully responsible for the results of using information from this site in real life situations.