Federal Net Proceeds Calculator
Estimate how much you may keep after selling an investment and accounting for selling costs, federal capital gains taxes, and the Net Investment Income Tax when applicable. This calculator is designed for educational planning and highlights how filing status, holding period, and your other income can change the outcome.
The estimate uses 2024 federal bracket thresholds for educational use. It does not include state taxes, depreciation recapture, AMT interactions, installment sale treatment, QSBS rules, wash sale adjustments, or special exclusions unless you apply them manually in your inputs.
Your estimate will appear here
Enter your numbers and click calculate to see projected gain, federal tax, NIIT, and net proceeds.
How a federal net proceeds calculator works
A federal net proceeds calculator helps you estimate what you actually keep after a sale once federal tax costs are considered. Many people look at the contract price or sale proceeds and assume that number is close to the amount that will land in their bank account. In reality, net proceeds can be meaningfully lower after subtracting your cost basis, transaction costs, and the federal taxes triggered by a gain. This is especially important for appreciated stock, investment real estate, business interests, land, and other capital assets.
At a basic level, the calculator starts with gross proceeds, subtracts selling expenses, and compares the remainder to your cost basis. That difference is your estimated gain or loss. If you have a gain, federal tax treatment depends heavily on whether the gain is short-term or long-term. A short-term gain is generally taxed at ordinary income tax rates. A long-term gain is generally taxed using the more favorable federal long-term capital gains rates of 0%, 15%, or 20%, depending on your filing status and total taxable income.
There is also a second federal layer that many taxpayers overlook: the Net Investment Income Tax, often shortened to NIIT. NIIT is generally 3.8% and can apply when modified adjusted gross income exceeds a threshold. Even if your long-term capital gains rate is 15%, NIIT can push your total effective federal burden higher. That is why a true federal net proceeds estimate should look beyond the base capital gains rate and include NIIT when appropriate.
The core formula
For planning purposes, a simplified federal net proceeds formula often looks like this:
- Start with sale price or gross proceeds.
- Subtract selling expenses such as commissions, legal fees, transfer fees, and other direct disposition costs.
- Subtract your cost basis.
- Determine whether the resulting gain is short-term or long-term.
- Apply the relevant federal tax rules based on filing status and your other taxable income.
- Check whether NIIT may apply.
- Subtract the estimated federal taxes from your gross proceeds net of selling expenses to estimate net proceeds after federal tax.
What counts as federal net proceeds
Federal net proceeds usually means the amount left after direct selling costs and federal taxes associated with the sale. It does not always mean the same thing as cash at closing because escrow adjustments, debt payoffs, prorations, and state tax withholding can affect actual cash received. If you are selling real estate, for example, mortgage payoff and local closing costs matter for your cash position. If you are selling securities, brokerage settlement timing and basis reporting also matter. This calculator focuses on the federal tax side of the equation rather than every possible closing ledger item.
- Gross proceeds: The total sale amount before deductions.
- Selling expenses: Costs directly tied to the sale that reduce proceeds or affect gain calculation.
- Cost basis: Usually what you paid, adjusted for improvements, reinvestment, depreciation, and other tax events.
- Federal tax on gain: Either long-term capital gains tax or ordinary income tax treatment for short-term gains.
- NIIT: An additional 3.8% tax for some higher-income taxpayers on net investment income.
2024 federal long-term capital gains thresholds
The table below summarizes the commonly referenced 2024 long-term capital gains thresholds. These values are important because long-term gain is not taxed at a flat rate for everyone. Instead, your other taxable income can “fill up” lower rate bands before your gain spills into a higher rate band.
| Filing status | 0% rate up to | 15% rate up to | 20% rate above |
|---|---|---|---|
| Single | $47,025 | $518,900 | Over $518,900 |
| Married filing jointly | $94,050 | $583,750 | Over $583,750 |
| Married filing separately | $47,025 | $291,850 | Over $291,850 |
| Head of household | $63,000 | $551,350 | Over $551,350 |
These thresholds matter because your gain may be split across more than one capital gains rate. For example, a married couple with moderate taxable income and a sizable long-term gain may still have some portion taxed at 0%, some at 15%, and only the top slice at 20%. That is why serious calculators do not just multiply the entire gain by one rate.
2024 NIIT thresholds and why they matter
The Net Investment Income Tax can apply to interest, dividends, capital gains, rental and passive activity income, and other investment income when income thresholds are crossed. For capital gains planning, NIIT is important because the tax can materially reduce proceeds from a sale even when the base long-term capital gains rate appears manageable.
| Filing status | NIIT MAGI threshold | Additional NIIT rate | General rule |
|---|---|---|---|
| Single | $200,000 | 3.8% | Applies to the lesser of net investment income or MAGI above threshold |
| Married filing jointly | $250,000 | 3.8% | Applies to the lesser of net investment income or MAGI above threshold |
| Married filing separately | $125,000 | 3.8% | Applies to the lesser of net investment income or MAGI above threshold |
| Head of household | $200,000 | 3.8% | Applies to the lesser of net investment income or MAGI above threshold |
In practical terms, if your other income is already near a threshold, an investment sale can trigger NIIT on part or all of the gain. This is one reason year-end tax planning can matter so much. Timing, installment treatment, harvesting losses, charitable gifting of appreciated assets, and coordination with retirement income can all affect how much tax applies in a given year.
Short-term vs. long-term gains
One of the biggest net proceeds drivers is the holding period. Short-term gains are generally taxed as ordinary income, which means the federal cost can be much higher than long-term capital gains treatment. If you hold an asset for one year or less, the gain is usually short-term. If you hold it for more than one year, it is usually long-term. That simple distinction can substantially change your after-tax result.
Suppose two taxpayers each realize a $100,000 gain. If one qualifies for long-term capital gains treatment and the other does not, the difference in federal tax can be dramatic, especially for higher earners. Because of that, many investors and property owners review holding periods carefully before selling. Even waiting a short amount of time can change the tax classification and improve projected proceeds.
Common inputs people get wrong
1. Cost basis
Basis errors are extremely common. For stock, basis may be affected by reinvested dividends, spin-offs, stock splits, gift transfers, and inherited asset rules. For real estate, basis can change because of improvements, casualty losses, prior depreciation, and settlement fees. If you guess at basis, your projected proceeds can be off by thousands.
2. Selling expenses
Commissions and direct transaction fees matter. In some transactions, legal costs, broker fees, transfer taxes, recording charges, and other closing costs can reduce proceeds or affect the taxable gain calculation. Failing to include them can overstate your net proceeds.
3. Other taxable income
Your gain is not taxed in isolation. Other taxable income helps determine whether you remain in the 0% or 15% long-term capital gains zone, or whether part of the gain spills into the 20% bracket. It also affects whether NIIT may apply.
4. Federal only vs. all-in taxes
This calculator focuses on federal tax estimates. State income tax, local taxes, withholding, and closing-related cash adjustments may reduce your actual check further. Use a federal net proceeds estimate as one piece of a complete planning model, not the entire story.
When this calculator is especially useful
- Selling appreciated stock, ETFs, or mutual funds outside retirement accounts.
- Comparing whether to sell this year or next year.
- Reviewing whether a gain will trigger NIIT.
- Planning estimated tax payments.
- Evaluating whether additional tax-loss harvesting could improve after-tax proceeds.
- Modeling a business interest or land sale before meeting with a CPA or tax attorney.
Authoritative references worth reviewing
If you want to validate your assumptions or understand the federal rules more deeply, start with primary or educational government sources. The IRS overview of capital gains and losses is useful for foundational treatment, while the IRS NIIT page explains threshold mechanics and scope. Investor.gov also provides practical educational material on basis and investing records:
- IRS Topic No. 409: Capital Gains and Losses
- IRS Questions and Answers on the Net Investment Income Tax
- Investor.gov guidance on keeping good investment records and basis information
Strategies that can improve net proceeds
Harvest losses strategically
Realized capital losses may offset realized capital gains. If you are planning a large sale, reviewing unrealized losses elsewhere in the portfolio can help reduce current-year federal tax. Be careful with wash sale rules and transaction timing.
Manage the sale year
Timing matters. If your income is unusually high this year because of a bonus, business income, or Roth conversion, delaying a sale could keep more gain in a lower long-term capital gains bracket or reduce NIIT exposure. Conversely, accelerating a sale into a lower-income year can improve after-tax outcomes.
Review charitable options
In some cases, donating appreciated assets instead of selling them may avoid embedded capital gains tax while supporting charitable goals. Donor-advised funds and direct gifting strategies can be powerful, but they should be reviewed with qualified advisors.
Document basis before you sell
The easiest tax savings sometimes come from accurate records. Before a transaction closes, gather settlement statements, brokerage confirmations, prior tax returns, depreciation schedules, and records of improvements or reinvestments. Better documentation leads to better basis and a more reliable net proceeds estimate.
Bottom line
A federal net proceeds calculator is most valuable when it moves beyond a simple sale-price-minus-basis calculation and incorporates the actual federal tax framework. That means distinguishing between short-term and long-term gain treatment, considering your other income, and testing whether NIIT applies. The result is a much more useful planning estimate of what you may keep after the sale.
Use the calculator above to model different sale prices, filing statuses, and income levels. If your transaction is large, complex, or tied to real estate depreciation, inherited property, business allocations, or multi-state issues, consider using this tool as a planning starting point and then confirming the final treatment with a tax professional.