What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Estimate the tax impact by calculating the realized gain or loss for each tax lot—not by applying a tax rate to the sale proceeds. For every lot, subtract its adjusted basis from its net sale proceeds, classify the result as short-term or long-term, apply wash-sale and other loss rules, then combine it with your other capital transactions and the tax rates for your filing status, income, tax year, and state.
What you are actually estimating
Selling an exchange-traded fund (ETF) in a taxable brokerage account can create a capital gain, a capital loss, or no taxable gain or loss. The taxable event is the sale, not simply the money that arrives in your account. Your estimate starts with the specific shares sold and their adjusted basis.
As an Amazon Associate I earn from qualifying purchases.
The core calculation for each lot is:
Realized gain or loss = amount realized − adjusted basis
The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Amount realized is generally the sale proceeds after applicable selling costs. Adjusted basis begins with what you paid, including applicable transaction costs, and can change because of reinvested distributions, return-of-capital distributions, stock splits, wash-sale adjustments, and other events. A positive result is a gain; a negative result is a loss.
#1 Best Overall
This calculation is only the first layer. Short-term and long-term results are treated differently, losses can offset gains subject to ordering and annual limits, and a loss may be deferred by the wash-sale rules. Your final federal estimate also depends on taxable income, filing status, deductions, prior capital-loss carryovers, net investment income, and the tax year. State and local income taxes can add a separate liability.
Collect the records before you estimate
Gather these items for the tax year in which the sale occurred:
- Brokerage tax-lot history showing shares, acquisition dates, purchase prices, and the lots selected for sale.
- Trade confirmations showing the sale date, number of shares, gross proceeds, and commissions or other transaction costs.
- Form 1099-B for the account, including the broker’s basis and any reported wash-sale adjustment.
- Distribution records for dividends, reinvested dividends, and return-of-capital distributions.
- Records of stock splits, mergers, transfers between accounts, or other events that changed basis.
- Prior-year Schedule D records showing unused capital-loss carryovers.
- Your filing status, estimated taxable income, and whether you may be subject to the net investment income tax (NIIT).
- Records for other taxable and retirement accounts, and your spouse’s accounts, if a loss sale could trigger a wash sale.
- The Form 8949 and Schedule D instructions for the tax year of the sale.
Form 1099-B is a useful starting point, but it is not a guarantee that adjusted basis is complete or correct. Broker reporting may not include older lots, securities transferred from another institution, reinvestment details, or transactions in other accounts. The taxpayer remains responsible for accurate basis records.
Recommended Free Tools
Step 1: Identify the exact shares or tax lots sold
An ETF position can contain many lots with different costs and purchase dates. Selling 100 shares does not produce one universal tax result if those shares came from several purchases.
If you adequately identify the shares to your broker before submitting the order, the identified lots generally determine the basis and holding period used for the sale. Check the broker’s lot-selection screen, cost-basis method, and any deadline for changing an election. Keep the confirmation showing which lots were sold.
Common lot-selection choices include first in, first out (FIFO), specific identification, and methods that prioritize highest-cost or lowest-cost shares. The tax outcome can differ substantially:
- A high-basis lot generally creates a smaller gain or a larger loss than a low-basis lot.
- A lot held more than one year may receive long-term treatment, while a recently purchased lot may create a short-term result.
- Selling a particular lot can realize a loss that is useful against other gains, but the loss may be deferred if replacement shares are purchased during the wash-sale window.
- Investment risk and portfolio allocation matter too; a tax-efficient lot is not automatically the right investment decision.
If you cannot identify the lots under your broker’s rules, the account’s default method may apply. Confirm the method before trading rather than assuming you can reconstruct the choice later.
Step 2: Reconstruct adjusted basis
Start with the purchase price of each lot and include applicable commissions or transaction costs. Then review events that can change basis.
Reinvested dividends and distributions
When an ETF distribution is automatically reinvested, the reinvestment generally creates additional shares and a new lot with its own acquisition date and cost. Include those lots instead of treating the original purchase as the basis for every share.
Return of capital
A return-of-capital distribution generally reduces basis rather than functioning like ordinary income. If basis reaches zero, later amounts can have different tax treatment. Use the fund’s distribution records and your broker’s basis history to reconcile the adjustment.
Splits, reorganizations, and transfers
Stock splits and similar events change the per-share basis while preserving the total basis allocated to the affected shares. Transfers between brokers can lose historical information, so compare the receiving broker’s record with your original confirmations. A merger or other reorganization may require a specific allocation rather than a simple purchase-price entry.
Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Fix the driver behind crashes, sound loss and screen glitches3Clear out junk files and repair common Windows errorsRank #2
- Ideal for Gifting
- Ideal for a bookworm
- Compact for travelling
Wash-sale basis adjustments
If a previous loss was disallowed under the wash-sale rules, the deferred loss is generally added to the basis of replacement shares. Do not subtract that loss again when you sell the replacement lot.
Maintain a lot ledger with acquisition date, shares, original cost, every adjustment, adjusted basis per share, and total adjusted basis. A basic spreadsheet or cost-basis ledger can organize these fields; it does not determine your tax liability authoritatively or replace the tax-year instructions.
Step 3: Calculate the realized result for each lot
For each lot, calculate the net proceeds and subtract adjusted basis. Do this lot by lot, even if all shares were sold in one order.
For example, in a hypothetical illustration, suppose one lot has net sale proceeds of $8,400 and an adjusted basis of $6,900. Its realized gain before combining it with any other transaction is $1,500. If another lot sold in the same order has net proceeds of $4,100 and adjusted basis of $4,600, that lot has a $500 realized loss. The account’s total result is not determined until you classify the lots, apply any wash-sale rule, and net them with other capital transactions.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallOutdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchDo not use the account’s total sale value as the gain. A $20,000 sale can produce a small gain, a large gain, or a loss depending on basis and selling costs.
Step 4: Determine short-term or long-term status
Under the general rule, property held one year or less is short-term; property held more than one year is long-term. Count from the day after acquisition through the disposition date. Calculate this separately for every lot, including reinvested-distribution lots.
| Holding period | General classification | Why it changes the estimate |
|---|---|---|
| One year or less | Short-term | Generally enters the ordinary-income-rate calculation. |
| More than one year | Long-term | Eligible net gains may use the 0%, 15%, or 20% maximum federal capital-gain rate framework, depending on taxable income and tax year. |
A lot purchased on one date and sold on the corresponding date one year later has not necessarily been held for more than one year; use the day-count convention and the applicable tax instructions. Special rules can apply to certain transactions, so do not assume the general rule resolves every unusual acquisition.
Step 5: Combine the ETF result with your other capital transactions
After classifying each ETF lot, combine the short-term and long-term gains and losses with your other capital transactions for the year. Include realized results from stocks, funds, options, and other capital assets, as well as eligible prior-year capital-loss carryovers.
The ordering rules matter. A loss is not automatically worth its face amount as a tax reduction; its value depends on which gains it offsets, whether it remains after netting, and your other income.
- Capital losses generally offset capital gains under the applicable Schedule D ordering rules.
- If an individual has a net capital loss after the required netting, up to $3,000 can generally reduce other income for the year ($1,500 if married filing separately).
- Excess net capital loss is generally carried forward, subject to the tax-year rules and your future transactions.
- Check prior Schedule D records so you do not omit an existing carryover or use more than is allowed.
The $3,000 and $1,500 figures are annual federal limits described in IRS Publication 550 (2025); confirm the instructions for the year of your sale.
Step 6: Check the wash-sale window for every loss
A loss can be disallowed if you acquire the same or substantially identical security during the 30 days before or after the loss sale. The review must include purchases in other taxable accounts, scheduled investments, spouse accounts, and, under IRS guidance, acquisitions in an IRA or Roth IRA.
Rank #3
“A sale of stock or securities at a loss within 30 days before or after you buy or acquire in a fully taxable trade, or acquire a contract or option to buy, substantially identical stock or securities.” — Internal Revenue Service, Publication 550 (2025)
Free tools Windows power users keep installed
One-click scans. No signup required.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
A disallowed loss is generally deferred through an adjustment to the basis of replacement shares. The precise meaning of “substantially identical” is fact-dependent; switching to a different ETF is not automatically safe, and holding a similar market exposure does not by itself answer the legal question.
Broker reporting may catch a wash sale within the same account, but it may not see every cross-account purchase. Build a calendar covering the 30 days before and after the sale and inspect all relevant accounts. Also check recurring investment instructions that could buy replacement shares without a separate manual order.
Special IRA treatment can differ from the usual basis-deferral result. If an IRA or Roth IRA acquisition is involved, review current IRS guidance or obtain professional advice before treating the loss as deductible.
Step 7: Apply the federal rate framework to the net result
Once you know your net short-term and long-term amounts, estimate the federal impact using your taxable income and filing status for the sale year.
Short-term gains
Short-term gains generally enter the ordinary income-rate calculation. A quick estimate that multiplies the gain by one marginal rate can be misleading if the gain crosses brackets or is partly offset by deductions, losses, or other income changes.
Long-term gains
Eligible long-term gains may be taxed at a 0%, 15%, or 20% maximum federal capital-gain rate, depending on taxable income and the tax year. Those percentages describe the rate framework, not a promise that every dollar of your ETF gain will use one rate. Capital-gain thresholds change, and the complete threshold table must be matched to your filing status and year.
Capital-gain stacking
Ordinary taxable income and long-term gains are considered together under the applicable rules. Other gains, losses, deductions, and carryovers can move part of a gain into a different rate band. For that reason, estimating the ETF sale in isolation can overstate or understate the final tax.
Use the IRS instructions for the tax year of the transaction rather than carrying forward a threshold from a prior year. The 2025 thresholds are not interchangeable with thresholds for another year.
Step 8: Check the net investment income tax and state taxes
The 3.8% net investment income tax (NIIT) may apply in addition to regular federal tax. It generally applies to the lesser of net investment income or the amount by which modified adjusted gross income (MAGI) exceeds the applicable threshold.
| Filing status | 2025 MAGI threshold context cited by IRS Topic 559 |
|---|---|
| Single or head of household | $200,000 |
| Married filing jointly or qualifying surviving spouse | $250,000 |
| Married filing separately | $125,000 |
These thresholds and the 3.8% rate are 2025-context figures described in IRS Topic 559 and accessed in 2026. Verify the applicable year and the detailed NIIT calculation. The tax does not apply to every ETF sale: both the income threshold and the net-investment-income calculation matter.
Rank #4
State and local income-tax treatment is separate. Some jurisdictions follow federal capital-gain concepts; others use different rates, exclusions, or rules. Include your residence and any relevant state filing requirements in the estimate rather than assuming the federal result is your total bill.
Step 9: Reconcile the estimate with the tax forms
Form 8949 generally lists capital-asset dispositions and reconciles adjustments. Schedule D combines the transactions, applies the required netting, and carries the result into the rest of the return.
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Clear out junk files and repair common Windows errorsFree Scan →Certain covered transactions with basis reported to the IRS and no adjustments may be reported directly on Schedule D if the instructions permit. Transactions involving basis corrections, wash-sale adjustments, or other exceptions generally require the Form 8949 process. Use the form revision and instructions for the tax year in which you sold the ETF.
Compare your own lot ledger with Form 1099-B before filing. Investigate differences in proceeds, basis, acquisition dates, covered status, and wash-sale amounts. Keep confirmations and supporting records for the period required by applicable tax rules.
A practical worksheet for estimating one ETF sale
Create one line for every lot sold and add these columns:
- ETF name and account.
- Number of shares sold.
- Acquisition date.
- Original purchase cost, including applicable transaction costs.
- Basis additions or reductions from reinvested distributions, return of capital, splits, prior wash-sale adjustments, or other events.
- Adjusted basis for the shares sold.
- Sale date and net proceeds.
- Realized gain or loss, calculated as net proceeds minus adjusted basis.
- Short-term or long-term classification.
- Potential wash-sale replacement purchases during the 30-day window.
- Final gain or loss after any required adjustment.
Then total the short-term and long-term columns separately, add other capital transactions and carryovers, and apply the tax-year rules. A spreadsheet can make the arithmetic auditable, but it cannot decide whether two securities are substantially identical or determine every state-law consequence.
Choices to evaluate before placing the order
| Decision | What can change | Checks to perform |
|---|---|---|
| Which lots to sell | Adjusted basis, realized gain or loss, and holding period | Confirm specific identification, broker deadlines, and the investment effect of reducing a particular lot. |
| Sell a short-term or long-term lot | Whether the result generally enters ordinary-income or eligible long-term capital-gain treatment | Count the holding period for each lot and use the rates and thresholds for the sale year. |
| Realize a loss now or wait | Timing of a deductible loss and possible offset against current gains | Review the 30-day wash-sale window before and after the sale, including other accounts and spouse purchases. |
| Use broker records or a separate ledger | Completeness and ability to explain basis adjustments | Reconcile 1099-B data with confirmations, distribution records, and prior carryovers. |
Taxes are one decision axis, not the only one. A lot choice that saves tax can leave your portfolio with an unwanted concentration, risk level, or asset allocation.
Common estimation errors and how to correct them
Applying a rate to the full sale proceeds
Error: treating a $15,000 sale as $15,000 of taxable income.
Correction: subtract adjusted basis and selling costs for every lot. Only the resulting gains or losses enter the capital-transaction analysis.
Using one average basis for all shares
Error: dividing total account cost by total shares when the broker sold specific lots.
Correction: match the sale to the actual lots and acquisition dates shown on the trade confirmation or lot report.
Best Value
- It can be a gift option
- Comes with secure packaging
- Helpful in various ways
Ignoring reinvested distributions
Error: assigning the original purchase date and basis to shares acquired through automatic reinvestment.
Correction: enter each reinvestment as a separate lot and reconcile it with distribution statements.
Assuming every loss is immediately deductible
Error: claiming a loss without checking purchases in the 30 days before or after the sale.
Correction: inspect taxable, IRA, Roth IRA, and spouse accounts, plus automatic purchases. Apply any required basis deferral.
Relying on 1099-B without review
Error: importing the form and assuming it includes every historical adjustment.
Correction: compare it with your own records, especially for transferred shares, noncovered lots, return of capital, and cross-account wash sales.
Using last year’s thresholds
Error: applying a prior-year capital-gain or NIIT threshold to a later sale.
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Correction: use the IRS publications and form instructions for the exact tax year of the transaction.
When a rough estimate is not enough
Obtain individualized tax advice when the sale involves a large position, several years of missing basis, inherited or gifted shares, an in-kind transfer, a merger, options, foreign reporting, an IRA wash-sale issue, or a substantial state-tax exposure. Also seek help if a proposed sale could create a large short-term gain, consume a capital-loss carryover, or push MAGI above an NIIT threshold.
An online estimate can explain the mechanics, but it cannot calculate your exact liability without the sale proceeds, adjusted basis, lot dates, filing status, income, jurisdiction, other gains and losses, carryovers, and applicable tax-year law.
Documents to use when filing
- Broker tax-lot report and trade confirmation.
- Form 1099-B and any supplemental basis statement.
- Distribution statements documenting reinvested dividends and return of capital.
- Form 8949 instructions for the sale year.
- Schedule D instructions and prior-year Schedule D records.
- IRS Publication 550 for basis, capital gains and losses, and wash-sale rules.
- IRS Topic 559 for the net investment income tax framework.
Keep the records that support your basis and lot selection, not just the final tax return. If the broker’s information conflicts with your records, resolve the discrepancy before filing or document the adjustment required by the instructions.
Free tools Windows power users keep installed
One-click scans. No signup required.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




