Stock basis is the dollar figure that represents your investment in a corporation for federal income tax purposes, and it decides how much of a sale’s proceeds are taxable gain and how much is just a return of what you already put in. For S corporation and C corporation shareholders, the calculation starts the same way — with what you paid for the shares — but the annual maintenance is very different. S corp basis moves every year as income, losses, and distributions flow through on your Schedule K-1. C corp basis sits mostly still, changing only when you contribute more capital or receive a distribution that exceeds the company’s earnings and profits. If you cannot document your basis when you sell, the IRS may treat it as zero and tax you on the entire sale price.1Internal Revenue Service. Publication 551 – Basis of Assets
Your Starting Basis
In most cases, initial basis is simply what you paid. Buy shares for $50,000 in cash, and your basis is $50,000.1Internal Revenue Service. Publication 551 – Basis of Assets Keep the purchase agreement, wire confirmation, or cancelled check. That is the evidence the IRS will look for.
Contributing property instead of cash to a corporation you control can be tax-free under federal law, and your basis in the stock you receive equals your adjusted basis in the property you handed over.2Office of the Law Revision Counsel. 26 USC 351 – Transfer to Corporation Controlled by Transferor3Office of the Law Revision Counsel. 26 USC 358 – Basis to Distributees If you contributed equipment you originally bought for $80,000 and had depreciated down to $30,000, your stock basis starts at $30,000, not the equipment’s current market value. That substitution is a frequent error.
Inherited Shares
Inherited stock generally receives a stepped-up or stepped-down basis equal to the fair market value on the date the owner died.1Internal Revenue Service. Publication 551 – Basis of Assets If shares purchased for $40,000 were worth $200,000 at death, your basis starts at $200,000, and the accumulated appreciation disappears for income tax purposes. The estate executor can alternatively elect a valuation date six months after death, in which case property still held at that point takes the six-month value while property sold or distributed before then uses the disposition date.
Gifted Shares
Recipients of gifted stock take over the donor’s existing adjusted basis. One wrinkle: if the stock’s market value on the gift date is lower than the donor’s basis and you later sell at a loss, your basis for calculating the loss is the market value on the gift date, not the higher donor basis. The rule prevents manufacturing deductible losses by gifting depreciated stock.
Shares from Stock Options
For nonstatutory (nonqualified) options, you include in income the spread between the fair market value at exercise and the price you paid; that taxed amount plus your exercise price becomes your basis.4Internal Revenue Service. Topic No. 427, Stock Options For incentive stock options where you fail to meet the required holding period, any ordinary income recognized at sale is added to basis the same way. Missing this step means overstating your gain and paying tax twice on the same compensation.
Yearly Adjustments for S Corporation Shareholders
An S corporation is a pass-through entity, so profit and loss show up on your personal return whether or not any cash moves. Your stock basis has to adjust every year to keep pace, or you would end up taxed twice on the same income once when it passes through and again at sale or distribution.
What Raises Basis
Stock basis increases by your share of ordinary business income and any separately stated income items reported on your Schedule K-1.5Office of the Law Revision Counsel. 26 USC 1367 – Adjustments to Basis of Stock of Shareholders Tax-exempt income, such as proceeds from a corporate-owned life insurance policy, also increases basis. Without that increase, the untaxed money would eventually be picked up as gain when you sold or received a distribution.
What Lowers Basis
Basis decreases by pass-through losses and deductions, by nondeductible expenses that are not capitalized (certain penalties, for instance), and by non-dividend distributions of cash or property.5Office of the Law Revision Counsel. 26 USC 1367 – Adjustments to Basis of Stock of Shareholders Basis cannot go below zero. Distributions are tax-free to the extent of your current basis; anything beyond becomes a taxable capital gain.
The Required Order
Year-end adjustments follow a mandatory sequence. First, increase basis for income items. Second, reduce for non-dividend distributions. Third, reduce for nondeductible expenses. Fourth, reduce for deductible losses and deductions.6Internal Revenue Service. Shareholders Instructions for Schedule K-1 (Form 1120-S) Order matters because income comes in first and can create enough basis to absorb distributions and losses that would otherwise be disallowed. Losses still exceeding basis after all adjustments are suspended and carry forward indefinitely until you restore enough basis to absorb them.7Office of the Law Revision Counsel. 26 USC 1366 – Pass-Thru of Items to Shareholders
Debt Basis in an S Corporation
Stock basis is not the only source of deductible room. When losses exceed your stock basis, you can deduct the excess up to your basis in personal loans you have made directly to the corporation.8Internal Revenue Service. S Corporation Stock and Debt Basis The rules on what qualifies as a valid loan are strict, and shareholders regularly get this wrong.
A guarantee is not enough. Co-signing the corporation’s bank loan does not create debt basis. Debt basis arises only when you personally lend money to the S corporation, creating a direct debtor-creditor relationship.8Internal Revenue Service. S Corporation Stock and Debt Basis To hold up under IRS scrutiny, the loan should have a written note, a stated interest rate, a maturity date, and a reasonable expectation of repayment.9Internal Revenue Service. Valid Shareholder Debt Owed by S Corporation
Restoring reduced debt basis is harder than restoring stock basis. Restoration happens only when there is a “net increase” for the year, meaning income items exceed loss items, deductions, distributions, and nondeductible expenses combined.10Internal Revenue Service. Instructions for Form 7203, S Corporation Shareholder Stock and Debt Basis Limitations Restoration also caps at the loan’s original face value. And an outcome that catches many shareholders off guard: if the corporation repays a loan whose basis was reduced by prior losses, part or all of the repayment is taxable income to you.8Internal Revenue Service. S Corporation Stock and Debt Basis
Basis Is Only the First Hurdle for S Corp Losses
Having enough stock and debt basis clears one test, but not all of them. The IRS applies four separate limitations in a fixed order, and each must be cleared before a loss reaches your return.8Internal Revenue Service. S Corporation Stock and Debt Basis
- Basis limitation. Losses cannot exceed combined stock and debt basis; the excess carries forward.
- At-risk limitation. Even with sufficient basis, deductions are capped at the amount you have economically at risk in the activity, generally cash contributed and amounts you personally borrowed for the business. Nonrecourse financing and guarantees do not count.11Office of the Law Revision Counsel. 26 USC 465 – Deductions Limited to Amount at Risk
- Passive activity limitation. If you do not materially participate, losses are passive and offset only passive income, not wages or investment income.12Office of the Law Revision Counsel. 26 USC 469 – Passive Activity Losses and Credits Limited
- Excess business loss limitation. Any remaining business loss above an annually adjusted threshold is disallowed for the current year and converts into a net operating loss carryforward.
Shareholders who focus only on stock basis and skip these downstream tests routinely have losses disallowed, often with accuracy-related penalties added.
Form 7203: Required Basis Reporting
S corporation shareholders must file Form 7203 with their personal return in any year they claim a deduction for pass-through losses, receive a non-dividend distribution, dispose of stock, or receive a loan repayment from the corporation.10Internal Revenue Service. Instructions for Form 7203, S Corporation Shareholder Stock and Debt Basis Limitations The form walks through the annual basis calculation, covering both stock and debt basis on a single schedule.
Even in years when filing is not required, the IRS recommends completing and keeping Form 7203 in your records. Errors compound, and reconstructing years of adjustments during an audit is far harder than doing the work annually.
Adjustments for C Corporation Shareholders
C corporation basis is simpler year to year. The company’s annual profit and loss stay inside the entity and do not touch your personal basis. No upward move in a great year, no downward move in a losing year. Basis changes only when money or property moves directly between you and the corporation.
Additional Capital Contributions
Investing more cash or property into a C corporation increases your stock basis by the amount contributed. Document these contributions with board resolutions and updated stock records. Without that paper trail, the IRS has no reason to accept a higher basis at sale.
Distributions
C corporation distributions are taxed in layers. The portion coming out of the corporation’s accumulated earnings and profits is a dividend. Any amount beyond that is a return of capital, which is not taxed as a dividend but reduces your stock basis dollar for dollar. If return-of-capital distributions push basis to zero and continue, the excess is a capital gain.13Office of the Law Revision Counsel. 26 USC 301 – Distributions of Property Tracking the corporation’s earnings and profits account is essential to classifying each distribution correctly.
Stock Splits
A stock split does not create value; it divides the same total basis across more shares. Total basis stays the same and per-share basis drops proportionally.14Internal Revenue Service. Stocks (Options, Splits, Traders) 7 Own 100 shares at $15 each ($1,500 total) and receive a 2-for-1 split, and you now own 200 shares at $7.50 each. The total remains $1,500. Reverse splits work in the opposite direction with the same total.
Putting It Together at Sale
The core formula: start with initial basis, add all increases (capital contributions, and for S corps, pass-through income), and subtract all decreases (distributions, losses, nondeductible expenses). The result is your adjusted basis, the unrecovered investment in your stock.
S corporation shareholders get the specific figures from Schedule K-1.6Internal Revenue Service. Shareholders Instructions for Schedule K-1 (Form 1120-S) C corporation shareholders rely on board resolutions for capital contributions and corporate distribution notices for the earnings-and-profits breakdown.
When you sell, report the transaction on Form 8949 and Schedule D. Your taxable gain or loss is sale proceeds minus adjusted basis.15Internal Revenue Service. Instructions for Form 8949
Choosing Which Lot to Sell
If you acquired shares at different times and prices, the lot you sell affects the tax bill. The default treats the earliest-purchased shares as sold first, but you can use specific identification to select particular lots, such as selling your highest-basis shares to shrink the gain. To use specific identification, you must tell your broker exactly which shares to sell at the time of the trade and keep written confirmation of that instruction.15Internal Revenue Service. Instructions for Form 8949
Wash Sales
Selling stock at a loss and buying substantially identical shares within 30 days before or after triggers the wash sale rule, which disallows the loss. The disallowed amount is added to the basis of the replacement shares, so the tax benefit is deferred rather than lost.16Internal Revenue Service. Wash Sales Sell 100 shares at a $250 loss and immediately repurchase the stock for $800, and your replacement shares carry a basis of $1,050.
Why the Records Matter
Failing to keep a current basis ledger can trigger accuracy-related penalties of 20% of the resulting tax underpayment.17Office of the Law Revision Counsel. 26 USC 6662 – Imposition of Accuracy-Related Penalty on Underpayments A running spreadsheet that captures each year’s K-1 data, capital contributions, distributions, and any wash sale adjustments is the strongest defense in an examination. Shareholders who maintain those records pay tax only on what they actually gained.