Free tool

S corp shareholder basis calculator

Enter your beginning stock basis and the year's items from Schedule K-1. The calculator applies the Form 7203 order of increases and decreases, limits losses to stock and loan basis, and shows the loss carried forward. It is a worksheet for one shareholder and does not replace Form 7203.

Reviewed November 26, 2026 · Runs in your browser

Last year's ending stock basis. Do not include loans.

Cash or property put in for stock. Not loans.

All positive items, including tax-exempt income.

The positive total of this year's losses and deductions.

Losses and deductions disallowed in prior years.

Basis of the loans at the start of the year. Not loans you guaranteed.

Stock basis at year end

$0

After increases, distributions and allowed losses.

Loss allowed
$40,000
Loss carried forward
$0
Loan basis at year end
$15,000

Not modelled: restoring loan basis from income, a Regulations section 1.1367-1(g) election, stock that is sold or redeemed, oil and gas depletion, and credits that reduce basis. Several loans are added together here; Form 7203 tracks each one.

Step by step

  1. Basis after increases$50,000Start basis plus contributions plus income and gain items. Tax-exempt income increases basis too.
  2. Distributions applied$10,000Distributions reduce stock basis, but not below zero.
  3. Basis after distributions$40,000Basis before nondeductible expenses and losses.
  4. Nondeductible expenses applied$0Nondeductible expenses reduce stock basis, but not below zero, before losses.
  5. Losses to test$40,000This year's losses and deductions plus losses carried forward.
  6. Loss allowed against stock basis$40,000Stock basis is used first and cannot go below zero.
  7. Loss allowed against loan basis$0What stock basis cannot absorb reduces the basis of loans you made, to the extent of that basis.
  8. Stock basis at year end$0Basis after allowed losses.
  9. Loan basis at year end$15,000Loan basis after losses. Distributions do not reduce it.
  10. Loss carried forward$0Losses basis cannot absorb carry forward and are tested again next year.

Rules and sources: see Sources below.

A general answer, not tax advice. The math runs in your browser; nothing you enter is sent or stored.

How it works

The Form 7203 instructions say stock basis is adjusted each year in an order: income first, then distributions, then nondeductible expenses, then losses and deductions. Basis cannot go below zero at any step.

A loss is deductible only up to stock basis plus the basis of loans you made to the corporation. The calculator spends stock basis first, then loan basis, and carries the rest forward.

The rule in plain words. Stock basis = start + contributions + income, less distributions, nondeductible expenses and allowed losses, never below zero; loss allowed is limited to stock basis plus loan basis.

Each step and its rule

  1. Basis after increases. Start basis plus contributions plus income and gain items. Tax-exempt income increases basis too.
  2. Distributions applied. Distributions reduce stock basis, but not below zero.
  3. Basis after distributions. Basis before nondeductible expenses and losses.
  4. Nondeductible expenses applied. Nondeductible expenses reduce stock basis, but not below zero, before losses.
  5. Losses to test. This year's losses and deductions plus losses carried forward.
  6. Loss allowed against stock basis. Stock basis is used first and cannot go below zero.
  7. Loss allowed against loan basis. What stock basis cannot absorb reduces the basis of loans you made, to the extent of that basis.
  8. Stock basis at year end. Basis after allowed losses.
  9. Loan basis at year end. Loan basis after losses. Distributions do not reduce it.
  10. Loss carried forward. Losses basis cannot absorb carry forward and are tested again next year.

Worked example

A shareholder starts with 20,000 of stock basis and 15,000 of loans, has 30,000 of income, takes 10,000 out and has 40,000 of losses.

Stock basis at the start of the year$20,000
Capital contributions this year$0
Income and gain items from Schedule K-1$30,000
Distributions (box 16, code D)$10,000
Nondeductible expenses$0
Losses and deductions from Schedule K-1$40,000
Losses carried forward from earlier years$0
Loans you made to the corporation$15,000

Stock basis at year end

$0

After increases, distributions and allowed losses.

Loss allowed
$40,000
Loss carried forward
$0
Loan basis at year end
$15,000

Not modelled: restoring loan basis from income, a Regulations section 1.1367-1(g) election, stock that is sold or redeemed, oil and gas depletion, and credits that reduce basis. Several loans are added together here; Form 7203 tracks each one.

Step by step

  1. Basis after increases$50,000Start basis plus contributions plus income and gain items. Tax-exempt income increases basis too.
  2. Distributions applied$10,000Distributions reduce stock basis, but not below zero.
  3. Basis after distributions$40,000Basis before nondeductible expenses and losses.
  4. Nondeductible expenses applied$0Nondeductible expenses reduce stock basis, but not below zero, before losses.
  5. Losses to test$40,000This year's losses and deductions plus losses carried forward.
  6. Loss allowed against stock basis$40,000Stock basis is used first and cannot go below zero.
  7. Loss allowed against loan basis$0What stock basis cannot absorb reduces the basis of loans you made, to the extent of that basis.
  8. Stock basis at year end$0Basis after allowed losses.
  9. Loan basis at year end$15,000Loan basis after losses. Distributions do not reduce it.
  10. Loss carried forward$0Losses basis cannot absorb carry forward and are tested again next year.

Rules and sources: see Sources below.

Sources

Checked November 26, 2026. Public pages and tax rules change; confirm them before relying on them.

Questions about this tool

Who has to file Form 7203?

An S corporation shareholder who claims a loss deduction, received a non-dividend distribution, disposed of stock, or received a loan repayment from the corporation. Keeping the form in other years helps keep basis consistent.

In what order does basis change?

Basis goes up for income first, then down for distributions, then nondeductible expenses, then losses and deductions. Nothing takes stock basis below zero.

What happens to a loss that basis cannot absorb?

It is not allowed this year and carries forward indefinitely, limited again by basis in each later year. Loans you made to the corporation add basis only for losses, after stock basis is used.

What if my distribution is more than my stock basis?

The instructions say to report the excess as a capital gain on Form 8949 and Schedule D, and not to increase stock basis for that gain.

Does a loan I guaranteed count as basis?

No. A guarantee gives basis only to the extent you pay on it. Enter only loans you made to the corporation.

Let Usual send the follow-ups.

Start free