1099-B Calculator
Estimate capital gain or loss from a 1099-B sale, apply broker-reported adjustments, compare short-term versus long-term treatment, and see a quick federal tax estimate based on filing status and taxable income.
Your Estimate
Enter your transaction details and click calculate to see your estimated gain or loss, tax treatment, and visual breakdown.
Transaction Breakdown
How a 1099-B calculator helps you estimate stock and investment sale taxes
A 1099-B calculator is designed to help investors estimate the gain or loss reported from the sale of stocks, exchange-traded funds, mutual funds, options, and other securities that are commonly reported on IRS Form 1099-B. When you receive a 1099-B from a broker, the form usually lists your gross proceeds, sale date, acquisition date or whether basis was reported, and in many cases your cost basis and adjustments. The challenge is that a number on a brokerage statement does not automatically tell you how much tax you may actually owe. You still need to determine whether the transaction is short-term or long-term, whether a wash sale adjustment applies, and how the gain fits into your federal tax situation. That is where a calculator becomes useful.
This page gives you a practical estimate, not a filed tax return. The tool starts with sales proceeds and cost basis, then lets you add broker-reported or user-estimated adjustments. It also lets you apply a wash sale disallowed loss amount, which is one of the most misunderstood parts of Form 1099-B. Finally, it compares the result against your holding period and filing status to estimate how the gain may be taxed federally. For many investors, that estimate is enough to improve year-end planning, decide whether to harvest gains or losses, or prepare more confidently for tax filing.
What information from Form 1099-B matters most?
The most important line items on a typical 1099-B are the sales proceeds and cost basis. Proceeds tell you how much you received from the sale. Cost basis usually reflects what you paid for the security, adjusted for things like stock splits, return of capital, or reinvested dividends when applicable. The difference between the proceeds and the basis determines your raw gain or loss.
However, many taxpayers stop there and miss adjustments. A broker may report an adjustment code, such as for wash sales, option premiums, or other corrections. If that adjustment increases your taxable gain or reduces your deductible loss, your final tax result can be very different from the simple proceeds-minus-basis calculation. A good 1099-B calculator helps organize those elements into one result so you can understand both the economic outcome and the likely tax impact.
Basic 1099-B gain or loss formula
The core calculation is straightforward:
- Start with sales proceeds.
- Subtract cost basis.
- Add or subtract other adjustments.
- Add any wash sale disallowed loss reported on the transaction.
- Classify the result as short-term or long-term.
If the final number is positive, you have a gain. If it is negative, you have a loss. Tax treatment then depends on whether that gain or loss is short-term or long-term and how it interacts with your other capital transactions for the year. This calculator focuses on a single transaction estimate so you can understand one 1099-B line item before netting across your full portfolio.
Short-term versus long-term treatment
The holding period is one of the biggest drivers of tax cost. In general, a sale of an asset held for one year or less is short-term. A short-term gain is generally taxed at ordinary income tax rates, which can be significantly higher than the rates that apply to many long-term capital gains. Assets held more than one year usually qualify for long-term treatment, and those gains may be taxed at 0%, 15%, or 20% federally depending on your filing status and taxable income.
That difference is why investors often run a 1099-B calculator before selling. A gain recognized one week earlier than the one-year mark can create a materially higher federal tax bill. Even if your economic profit is identical, the tax result can change sharply.
| 2024 long-term capital gains thresholds | 0% rate | 15% rate | 20% rate begins above |
|---|---|---|---|
| Single | Up to $47,025 | $47,026 to $518,900 | $518,900 |
| Married filing jointly | Up to $94,050 | $94,051 to $583,750 | $583,750 |
| Married filing separately | Up to $47,025 | $47,026 to $291,850 | $291,850 |
| Head of household | Up to $63,000 | $63,001 to $551,350 | $551,350 |
These thresholds are especially important for planning because they show why a transaction’s tax cost depends on your total taxable income, not just the size of the gain itself. A taxpayer with moderate income may face a 15% long-term federal rate, while a lower-income taxpayer may owe 0% on the same long-term gain.
Why wash sale adjustments matter
The wash sale rule generally disallows a loss if you sell a security at a loss and buy the same or a substantially identical security within 30 days before or after the sale. In practice, brokers may show a wash sale disallowed amount on Form 1099-B. Many taxpayers are surprised because they think they lost money and should be able to deduct the full amount immediately. Instead, the disallowed portion is generally added to the basis of the replacement shares, delaying the recognition of the loss.
From a calculator standpoint, that means the wash sale amount often increases your current taxable gain or reduces your currently deductible loss. If you ignore that field, your estimate can be materially wrong. This is one of the most valuable reasons to use a dedicated 1099-B calculator rather than a generic gain calculator.
How to use this calculator effectively
- Enter the exact proceeds reported by your broker for the transaction.
- Use the broker-reported basis if it is correct. If basis is missing or incomplete, review your own records carefully.
- Add any line-specific adjustments, such as corrections from the broker statement or tax software worksheet.
- Include any wash sale disallowed loss shown for the transaction.
- Select the correct holding period based on the actual acquisition and sale dates.
- Input your estimated taxable income and filing status to get a more realistic federal tax estimate.
Remember that this kind of estimate works best as a planning tool. Your final return may include multiple gains and losses, carryforwards from prior years, special basis adjustments, or state tax effects that are not reflected in a single-transaction calculator.
Example: estimating a 1099-B stock sale
Suppose you sold shares for $15,000 and your cost basis was $10,000. Your raw gain is $5,000. If there are no other adjustments and no wash sale amount, the tax classification turns entirely on the holding period. If the shares were held for less than a year, that $5,000 gain is generally short-term and taxed at your marginal ordinary income rate. If you are in a 22% bracket, the estimated federal tax on the gain could be about $1,100. By contrast, if the same sale qualifies as long-term and your taxable income places you in the 15% long-term capital gains band, the estimated federal tax might be about $750.
Now add a $300 wash sale disallowed loss adjustment. Your taxable gain becomes $5,300. The tax estimate rises accordingly. This example shows why even relatively small adjustments on Form 1099-B can affect tax planning and withholding expectations.
Federal ordinary income brackets also affect short-term gains
Because short-term gains are generally taxed like ordinary income, your taxable income level matters a great deal. The following table summarizes the top end of each 2024 bracket band for single filers, which is useful when using this calculator for short-term positions.
| 2024 single filer ordinary income tax brackets | Tax rate | Taxable income in bracket |
|---|---|---|
| Lowest bracket band | 10% | Up to $11,600 |
| Second bracket band | 12% | $11,601 to $47,150 |
| Third bracket band | 22% | $47,151 to $100,525 |
| Fourth bracket band | 24% | $100,526 to $191,950 |
| Fifth bracket band | 32% | $191,951 to $243,725 |
| Sixth bracket band | 35% | $243,726 to $609,350 |
| Highest bracket band | 37% | Over $609,350 |
While this table is shown for single filers, the same principle applies to other filing statuses with different thresholds. A short-term gain can effectively stack on top of your taxable income, so a transaction that seems modest can still produce a larger tax cost than expected if it lands in a higher marginal band.
Common mistakes people make with 1099-B calculations
- Using the wrong basis: Investors often omit reinvested dividends, corporate actions, or prior adjustments.
- Ignoring wash sales: This can understate taxable gain or overstate deductible loss.
- Confusing proceeds with profit: Proceeds are not your gain. Gain is proceeds minus basis, adjusted as needed.
- Misclassifying the holding period: Selling even one day too early may convert favorable long-term treatment into short-term taxation.
- Overlooking state taxes: Many states tax capital gains, and rates can differ significantly.
- Forgetting netting rules: On the actual return, gains and losses are netted across the year, and capital loss deduction limits may apply.
How this calculator compares with tax software
A 1099-B calculator is simpler than full tax software. It is excellent for quick analysis, transaction review, and year-end planning. Full tax software, by contrast, is built for return preparation and can handle imported brokerage data, multi-transaction netting, carryovers, and schedule-level reporting. In practice, many investors use both. They use a calculator first to understand a trade, then use tax software or a professional preparer to finalize the return.
Authoritative sources worth reviewing
If you want to verify reporting rules or understand the tax background in more depth, start with these official resources:
- IRS: About Form 1099-B
- IRS Publication 550: Investment Income and Expenses
- Investor.gov: Investing resources and investor bulletins
When to talk to a tax professional
You should strongly consider professional guidance if your 1099-B includes option contracts, inherited securities, gifted assets, wash sales across multiple accounts, restricted stock, cryptocurrency transactions reported elsewhere, or basis that was not reported to the IRS. You should also seek help if you actively trade across taxable accounts, because wash sale tracking can become difficult when substantially identical positions are repurchased in different accounts or at different brokers.
Another reason to get advice is if your transaction is large enough to affect not just ordinary capital gains tax but also related items such as estimated tax payments, Medicare surtax exposure, phaseouts, or state tax planning. A calculator provides speed and clarity, but an advisor can evaluate the complete picture.
Bottom line
A 1099-B calculator is most useful when you want a quick but informed estimate of what a reported sale may mean for your taxes. It helps you translate brokerage data into a clearer answer: Was this a gain or loss, how did adjustments change it, and what might the federal tax cost look like based on my income and holding period? By understanding those factors before you file, you can avoid surprises, make smarter sale timing decisions, and prepare more effectively for tax season.