Three doors, one order
Every dollar your business earns can leave it through exactly three doors: salary, retirement contributions, and distributions. The order in which you use them is not a preference — it is the decision. Set the salary your entity and the law require first; fill the statutory retirement room that salary and profit create second; treat everything left as a residual distribution, never as the default way to pay yourself. Two of the three doors change shape with your entity, so the framework resolves differently depending on how you are organized:
- Sole proprietor / single-member LLC (no S election): door one does not exist. The IRS does not treat a sole owner as an employee of their own business, so there is no salary to set — all net profit is self-employment income the moment it is earned, whether or not you withdraw a dollar. Your only structural lever is the retirement plan (Layer 2); draws are cash mechanics (Layer 3).
- S corporation: all three doors exist and the order is enforced. A defensible W-2 salary comes first as a matter of law, the employer retirement contribution is keyed to that salary, and only the remainder may travel payroll-tax-free as distributions.
The rest of this guide walks the three layers in order on one worked business — $200,000 of net profit, single filer, tax year 2025, $1,200 of assumed payroll overhead — with every number computed by the same engines that power the S-Corp Salary Calculator, the Solo 401(k) Calculator, and the Roth vs Traditional Calculator. The order of the layers is also the order of the questions: a salary decision made without the retirement question is half a decision, and an entity decision made without both is a guess.
- Reasonable salary — the floor. In an S-corp this is a legal requirement tested against what comparable businesses pay, not a tax dial you set to whatever number wins. Set it with market evidence; where the arithmetic stops paying is a separate question (see the band below).
- Retirement contributions — the second door. Plan room is created by your compensation (25% of W-2 wages in an S-corp; 20% of net profit reduced by half of SE tax as a sole proprietor, per IRS Publication 560), and contributions reduce income tax but never payroll or self-employment tax.
- Distributions and draws — the residual. What remains after the first two doors. Not a salary substitute: in an S-corp, taking this door first is the classic recharacterization fact pattern.
Layer 1: the salary floor
In an S corporation you are an employee of your own company, and the deduction for your compensation is allowed only to the extent it is reasonable — IRC §162(a)(1), with the test supplied by Treasury Regulation §1.162-7: what would ordinarily be paid for comparable services by comparable enterprises under comparable circumstances. The IRS and the courts weigh the facts from several directions — your training and experience, the duties you actually perform and the time you devote to them, what similarly situated businesses pay for those duties, how your pay compares year to year, and the overall relationship between salary and distributions. No percentage-of-profit formula has been endorsed; a consistent, documented methodology beats a clever one.
The reason the floor is enforced so seriously is mechanical: every dollar of profit you label "distribution" instead of "salary" escapes the 15.3% combined payroll-tax layer (Social Security up to the $176,100 wage base, plus Medicare on everything, both halves). Paying yourself a token salary and taking the rest as distributions is the pattern courts have repeatedly rejected, and losing means back payroll tax, penalties, and interest. The defense is contemporaneous evidence: a compensation study or market data pull, minutes or a written resolution adopting the salary, and a review whenever your duties change.
The engine's salary band
Legality set aside, where does the arithmetic itself stop paying? The S-Corp Salary Calculator engine sweeps salaries across a range of the profit and measures the signed after-tax edge of the election at each point. At $200,000 of profit with $1,200 of payroll overhead (single filer, non-SSTB, 2025):
| Salary share of profit | W-2 salary | After-tax edge of the S election | Winner |
|---|---|---|---|
| 15% | $30,000 | +18,779 | S-Corp |
| 20% | $40,000 | +16,916 | S-Corp |
| 30% | $60,000 | +13,190 | S-Corp |
| 40% | $80,000 | +9,464 | S-Corp |
| 50% | $100,000 | +5,737 | S-Corp |
| 60% | $120,000 | +2,011 | S-Corp |
| 70% | $140,000 | −1,715 | LLC |
| 90% | $180,000 | −8,730 | LLC |
Read the shape, not just the sign. Below the Social Security base, every $10,000 of added salary costs $1,863 of edge at this profit — the 15.3% FICA layer plus a small §199A adjustment — and the election's entire advantage is the FICA that salaries avoid. The election still wins through 65.4% of profit: a salary of $130,795 is the exact break-even this engine finds, and above it the LLC wins outright — at a 90% salary you would give back $8,730 a year. So the tax arithmetic imposes a ceiling, not a floor: at this profit level, any defensible salary below $130,795 leaves the election ahead. The legal floor sits independently, on the market evidence of Layer 1 — the band only tells you where the election stops paying.
The band is profit-dependent, and at higher profits the low end bends too. Sweep the same engine at $300,000 of profit and the curve is no longer monotone: the peak sits at 27.5% with $28,130 of edge, while the 15% point falls $1,378 behind it. The reason is §199A: at that income the deduction is limited by the business's W-2 wages, and a $45,000 salary caps the deduction at $22,500 where the K-1 pass-through alone would have supported $50,072. Too small a salary now costs real money. Run the sweep at your own profit before anchoring to anyone's percentage rule of thumb — the band moves, which is exactly why the instrument exists.
Layer 2: retirement is compensation
The second door moves money out of the business and into a plan instead of your checking account — and because the room is keyed to your compensation, it is part of the pay decision, not something you decide afterwards. The geometry for tax year 2025 (IRS Notice 2024-80 and Publication 560): an employee deferral up to $23,500, plus an employer contribution of 25% of plan compensation in an S-corp (your W-2 wages) or, for the self-employed, the 20% deduction-rate equivalent applied to net profit minus half of SE tax — all under the $70,000 §415(c) ceiling, with age-based catch-ups layered on top of it.
On the same $80,000 salary, the Solo 401(k) Calculator engine holds $43,500 — a $23,500 deferral plus $20,000 of employer contribution — while a SEP-IRA holds $20,000, because a SEP has only the employer lever and no deferral bucket at any age. The $23,500 difference is exactly that deferral bucket, worth $5,640 of tax deferred at a 24% marginal rate this year. If the plan choice ever looked cosmetic, that is the entire difference between the two vehicles at owner scale — a bucket, not a rounding error.
Count employer dollars before judging the S election
Here is the step most one-page comparisons skip. The employer contribution is your money — deferred rather than delivered — so when you ask whether the S election "pays," total compensation means salary plus employer contributions. At the same $200,000 business, with the election question re-run at three salary policies:
| Measure (2025, single filer) | LLC, no election | S-Corp, $80,000 salary | S-Corp, $149,123 salary |
|---|---|---|---|
| Base the employer % keys to | $186,404 (profit − ½ SE tax) | $80,000 W-2 wages | $149,123 W-2 wages |
| Solo 401(k) room this year | $60,781 | $43,500 | $60,781 |
| Tax deferred at 24% this year | $14,587 | $10,440 | $14,587 |
| After-tax cash edge of the election | — | +9,464 | −3,415 |
| Cash edge net of retirement value given up | — | +5,316 | −3,415 |
Three facts fall out of the engines. First, the LLC's plan room at this profit is $60,781 — 20% of a base the whole profit feeds — while the S-corp's employer room keys to wages alone, so a $80,000 salary caps the plan at $43,500, and the missing $17,281 of room is worth $4,147 of deferral value at a 24% rate. Second, to match the LLC's employer room the S-corp salary must reach $149,123 — and at that salary the election's cash edge is gone entirely: the engine finds the LLC ahead by $3,415. Not because of payroll tax — the S-corp still pays $4,377 less of it ($22,816 against the LLC's $27,193 SE bill). The loss is §199A: owner wages can never carry the deduction, so shrinking K-1 to $38,269 collapses it from the LLC's $34,131 to $7,654 and adds $6,592 of income tax. The ledger, straight off the engine's columns: −6,592 income tax + 4,377 payroll saving − 1,200 overhead = −3,415. The same §199A dial that bends the $300k sweep at its low end, running against you at the top of the salary dial. Third, the middle matters: at a $120,000 salary the room recovers to $53,500 while the cash edge shrinks to $2,011 — leaving a net $264 for the election once the $1,747 of forgone deferral value is counted. Effectively a wash.
Decision rule: run the election question at the salary you would actually set, including the plan you will actually fund. At $200,000 of profit the election is clearly worth it at a $80,000 salary — $5,316 ahead even after the retirement gap — roughly neutral at $120,000, and negative at the full-room salary. The salary you pick for retirement reasons can quietly decide the entity question.
Two mechanical notes the engines bake in. Elective deferrals generally require the plan to exist by December 31 of the year they are for, while employer dollars can be funded up to the return's due date. And no plan contribution — employee or employer — ever reduces payroll or self-employment tax; these are income-tax moves only. The Retirement for the Self-Employed guide covers the full vehicle stack in depth.
Layer 3: distributions are a residual
What is left after salary, employer contributions, and overhead passes through as K-1 income — $112,680 in the worked case — and the cash you take against it is a distribution. Understand what it is not: within your stock basis it is not income at all, and it carries no payroll tax. The profit was already taxed to you when it passed through; the distribution is just the cash catching up. That is why the election saves payroll tax only on the slice between the salary you must pay and the profit you keep — the distribution door itself is not a tax event.
The discipline is ordering and records. Run real payroll on the salary — calculated, withheld, deposited on schedule — before distributing anything: a business that pays distributions while its owner's salary is unpaid or token is the Layer 1 recharacterization pattern wearing a different hat. Track stock basis each year, because income and contributions increase it while distributions and losses reduce it, and a distribution beyond basis triggers capital gain. And because neither salaries nor K-1 income withhold enough on their own, layer estimated payments across all of it — the Self-Employed Tax Calendar guide maps those deadlines and safe harbors. In an un-elected LLC the same discipline applies under different names: draws reduce your capital account, and the profit was taxed whether or not you drew it.
Roth or Traditional when income swings
Once the dollars are inside the plan door, one flavor choice remains: pre-tax or Roth. The Roth vs Traditional Calculator engine reduces it to a single dial — the rate you avoid today versus the rate you pay at withdrawal — with a break-even that is exactly today's marginal rate. For an owner whose self-employment income swings, that dial is not one setting: each year's contribution carries its own today-rate and should be judged separately against the single rate you expect in retirement.
Both rows below are the same engine at the same savings level — $23,500 a year for 25 years at a 6% return, both judged against a 22% retirement rate — differing only in the kind of year the money is saved in:
| The year you save it | Today's rate | Spendable at retirement | Winner by |
|---|---|---|---|
| Lean year | 12% | $1,202,674 Roth vs $1,066,006 Traditional | Roth, $136,667 |
| Fat year | 32% | $1,066,006 Traditional vs $929,339 Roth | Traditional, $136,667 |
The symmetry is the lesson: a 10-point rate gap in your favor is worth $136,667 of spendable money over 25 years, and the same 10-point gap against you costs the identical amount — $13,667 swings per point of rate, in either direction. So the volatile-income policy writes itself: fill the Roth bucket in lean years when your marginal rate is low, fill the pre-tax bucket in fat years when the deduction is expensive, and split a deferral across both flavors when a year straddles brackets. The engine's break-even line — 12% in the lean row, 32% in the fat one — is the whole decision compressed to one number per year.
One boundary to know: direct Roth IRA contributions phase out between $150,000 and $165,000 of MAGI for single filers in 2025 (IRS News Release IR-2024-285) — a range a fat year blows straight through. The Roth side of a solo 401(k) has no income limit at all, and the $23,500 deferral limit is one shared bucket across both flavors, so you can divide it. That is the practical route in a high-earning year: pre-tax deferral for the deduction, Roth deferral for the lean-year dollars, no IRA phase-out in your way.
The sequence, end to end
Assembled, the pay decision is five steps, each with its own instrument:
- Fix the entity first — the entity decides which doors exist. The Choosing Your Business Entity guide walks that decision; do not elect S status "for the savings" before the salary question below has an answer.
- Set the salary on evidence, then check the band. Document market data for your role, hours, and duties, and adopt the number in writing. Then run the S-Corp Salary Calculator sweep at your profit to see where the arithmetic stops paying — $130,795 of salary at $200,000 of profit in the worked case.
- Size the plan against the compensation you just set. The Solo 401(k) Calculator shows the room your salary or profit creates — 25% of W-2 wages versus 20% of the self-employed base — and the table above shows why the salary and plan decisions are one decision.
- Re-run the election math at that combined salary. If the salary your plan wants erases the election's edge — as $149,123 does here — you have learned something about the entity choice, not just the payroll register.
- Distribute the residual, and pick flavors per year. Keep basis records and payroll current before distributions, and run the Roth vs Traditional Calculator each year at that year's marginal rate.
What this model does not cover
Every figure above comes from the suite's 2025 federal engines, which model a single owner with no employees and no state income tax. The S-corp engine applies the $15,750 standard deduction, the $176,100 Social Security wage base, and the full Form 8995-A §199A chain; the retirement engine applies the $23,500 / $70,000 limits with age-based catch-ups excluded from the ceiling. The models deliberately omit state tax and the §401(a)(17) compensation cap, and Layer 2 is layered on top of the election comparison transparently — as a flat 24% first-year value of deferral — rather than inside the engines. Published 2026 parameters (standard deduction $16,100, wage base $184,500) are surfaced on the calculator pages as drift notes. This is a decision framework with illustrative arithmetic, not tax advice; the parameters move, and so do your facts — which is exactly why each step hands you the instrument that recomputes it.