How to calculate stock basis for s corp — walked through it step by step

Trying to figure out how to calculate stock basis for s corp shares I've held for three years. I bought in at a small amount, the S corp has had a mix of profitable and loss years, and there have been some distributions along the way. My preparer just handed me a K-1 each year and I honestly never tracked the running balance. Now in year three there's a loss on box 1 and I'm not sure I can even deduct it. I pulled up Form 7203 thinking that would explain it but the lines are confusing me. I've also read that there's a specific order you're supposed to apply income, losses and distributions but I can't find it laid out clearly anywhere. Where do I actually start?

34 comments

Stock basis starts with what you paid for your shares — your initial investment. Then each year you run through an ordering rule that the IRS spells out in the Form 7203 instructions. Income items increase basis first, then non-dividend distributions reduce it, then losses and deductions reduce it last. You can't deduct a loss below zero basis; it suspends and carries forward.

Jordan J.

Author

So losses are literally last in the ordering. That explains why I might not be able to claim the year-three loss if distributions already ate into basis. Going to pull all three K-1s tonight.

My first year as an S corp shareholder I completely ignored this and had to go back and reconstruct three years of basis from scratch when we sold shares. What you need: every K-1 going back to the year you first owned stock, the original purchase amount, and records of every distribution you actually received. Miss one distribution and the whole chain is off.

Jordan J.

Author

Did you use any tool to help reconstruct or was it all spreadsheet work?

Spreadsheet, honestly. One column per year, rows for each line item. It was tedious but once you see the ordering it goes faster. The 7203 instructions have a worksheet that matches the form line by line which helped a lot.

Went through this exact reconstruction last filing season. I uploaded my K-1s and purchase docs to taxr.ai and had it walk through Form 7203 line by line for my situation. It flagged that I'd been applying distributions before income items, which was wrong — income has to increase basis before distributions can reduce it. Saved me from understating the loss I could actually claim. The Form 7203 instructions page on irs.gov has the official ordering if you want to read the source yourself.

Jordan J.

Author

That ordering mistake is exactly what I was probably making. I kept thinking distributions came off first because I received the cash before the return was filed.

Timing of the cash doesn't matter — the tax ordering is set by the form. Income increases basis as of the last day of the tax year, then you apply distributions, then losses.

Form 7203 is the form you file with your personal return when you're claiming a loss, taking a distribution, disposing of stock, or receiving a loan repayment from the corporation. Part I is stock basis, Part II is debt basis, Part III is the allowable loss calculation. You'll fill out a fresh 7203 each year that any of those four events happen.

Jordan J.

Author

I didn't realize debt basis was separate. I haven't personally loaned money to the S corp so I guess I skip Part II.

Correct. Part II only applies if you've made a direct loan to the corporation — not a loan the bank made to the corp, your personal loan to the entity. If you haven't done that, leave Part II blank.

My basis went to zero in year two from losses and I didn't know it, then in year three I took a distribution. The distribution triggered a gain on my personal return because there was no basis left to absorb it. Nobody warned me that could happen. Worth checking before you take cash out.

Jordan J.

Author

This is the scenario I'm worried about. So a distribution when basis is zero is treated as a capital gain?

Generally yes, treated as gain from the sale of stock. The character depends on how long you've held the shares. Worth having a CPA look at this if the distribution was large.

The ordering on Form 7203 Part I goes: start with beginning of year basis, add income and gains (line by line from K-1 boxes 1 through 6 area), add any additional stock contributions, then subtract distributions, then subtract losses and deductions. The form itself labels each line so you're not guessing.

Worth noting: S corp stock basis and partnership basis are not the same thing. In a partnership you have both inside and outside basis to worry about. In an S corp there's no inside basis concept for the shareholder — you track your stock basis and separately your debt basis if you've made loans. Don't mix up guidance written for partnerships when you're doing S corp work.

Good point. A lot of generic basis articles mix the two and it gets confusing fast. The 7203 instructions are specific to S corps.

My preparer missed a prior-year suspended loss that should have freed up once I contributed more capital. I pasted my K-1s and basis worksheet into Taxr and it spotted that the suspended loss from two years back was now deductible because my basis had been restored. It drafted the corrected 7203 numbers for me to bring to my preparer and confirm. Suspended losses don't expire, they just wait for basis to come back.

Jordan J.

Author

I didn't know suspended losses carry forward indefinitely. I assumed after a year they were gone.

They stay suspended until you have enough basis to absorb them, or until you dispose of your stock, at which point any remaining suspended loss has specific rules on deductibility. The 7203 instructions cover the disposition scenario.

Beginning of year basis for year two is just ending basis from year one. That chain is why you have to start from the very beginning — year one, your purchase price — and run it forward year by year. You can't just jump to the current year's K-1.

Jordan J.

Author

Makes sense. The cumulative nature is what makes it annoying to reconstruct retroactively.

I had a situation where the S corp made a non-dividend distribution in January but the tax year income was allocated December 31. The income hit basis before the distribution in the ordering even though I got the cash in January. I confirmed this with an enrolled agent because I wasn't sure, but that's how it works.

If your basis is negative at any point you've made a math error — basis floors at zero. Losses that would take it below zero are suspended, not carried as a negative number.

Step after hitting zero: stop applying losses. Write down how much is suspended. That suspended amount is what gets added back when basis increases in a future year.

Are there situations where your stock basis goes up beyond your original investment? Yes — every year the S corp has net income that flows to you on the K-1, that increases your basis even if you don't receive a distribution. So a profitable S corp where you reinvest everything can build basis significantly over time.

Jordan J.

Author

So I could actually have more basis now than I paid, if the corp was profitable in years one and two before the year-three loss?

Exactly. Run the full 7203 for each year and you might find you have more room to absorb that loss than you thought.

The about-form-7203 page on irs.gov has links to the current form and its instructions. I'd read the instructions before the form itself — they explain the ordering in plain language before you try to fill in the lines.

My S corp's fiscal year doesn't end December 31 so the K-1 covers a period that doesn't line up with my personal calendar year return. The income still gets picked up in my personal tax year that includes the last day of the S corp's tax year. Mention this only because basis adjustments follow the same rule — they key off the S corp's tax year end, not when you receive the K-1.

Most S corps use a calendar year so this doesn't come up often, but it's a real trap if yours doesn't.

If you're reconstructing basis from scratch and the amounts involved are significant, bring in a CPA or enrolled agent who handles S corps regularly. Reconstructing several years of basis and then filing a corrected 7203 is exactly the kind of work where a professional earns their fee. Getting it wrong can mean deducting losses you're not entitled to or missing ones you are.

Jordan J.

Author

Agreed. The amounts here are modest but I'm going to run my reconstructed numbers by a CPA before I file, just to be sure.

Last check I always do: compare the ending basis figure on my 7203 to what I expect it should be intuitively. If the number seems off — way lower or higher than I'd expect — that's a signal to go back and recheck each year's ordering before I file.