Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

To calculate an after-tax stock return, combine the change in value with every taxable distribution, adjust the cost basis, account for commissions and selling costs, classify dividends and gains, then apply the investor’s actual federal, state, local, and possible 3.8% Net Investment Income Tax (NIIT). A price-chart percentage alone is not an after-tax return.

For one taxable position, the basic result is After-tax return = (after-tax sale proceeds + after-tax cash distributions - initial investment) / initial investment. Use the investor’s complete tax facts rather than a universal tax rate; filing status, other gains and losses, modified adjusted gross income (MAGI), tax lots, and jurisdiction can materially change the answer.

What an after-tax return measures

A stock can produce return in several ways: its market price can rise or fall, it can pay cash dividends, a fund can distribute capital gains, and a company can make a nondividend distribution. Taxes do not treat all of those dollars alike. The amount that remains after tax therefore depends on the type and timing of each cash flow, not merely on the difference between the purchase and sale prices.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For a single taxable position that is sold, calculate the holding-period result as follows:

After-tax return = (after-tax sale proceeds + after-tax cash distributions - initial investment) / initial investment

Use a consistent definition of initial investment. If the economic outlay includes a purchase commission, include that commission in both the initial investment and the adjusted basis. Selling costs reduce the proceeds used to calculate the gain.

If the investment is still held, call the result an after-tax estimate. The gain is unrealized, and the eventual tax will depend on the future sale date, future basis, tax year, tax rates, and the investor’s circumstances at that time.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For a simple, single-period investment, an annualized estimate is:

Annualized after-tax return = (after-tax ending wealth / initial wealth)^(1 / holding years) - 1

That expression is not appropriate when contributions, withdrawals, reinvested distributions, or sales occur at different times. With multiple cash flows, an after-tax money-weighted return is more informative because it reflects the timing of each contribution and distribution.

Gather the records before doing the arithmetic

Start with documents rather than a brokerage performance screen. Collect:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Purchase confirmations showing dates, shares, prices, and commissions.
  • Sale confirmations, including selling commissions and other transaction costs.
  • Form 1099-B or the broker’s substitute statement for sales.
  • Form 1099-DIV for ordinary dividends, qualified dividends, capital-gain distributions, and nondividend distributions.
  • Dividend-reinvestment records. Each reinvestment is a purchase of new shares.
  • Tax-lot and adjusted-basis information, including records from any prior broker.
  • Filing status, estimated taxable income, and MAGI for the relevant tax year.
  • Other capital gains and losses that will be netted on the return.
  • The state and local tax jurisdictions that apply to the investor.

A broker’s displayed gain may omit an old lot, a transferred basis, a commission, a stock split, or a nondividend distribution. Reconcile the broker data with confirmations and tax forms before relying on the number.

Rank #2
Sale
The Psychology of Money: Timeless lessons on wealth, greed, and happiness
  • Ideal for Gifting
  • Ideal for a bookworm
  • Compact for travelling

Step-by-step calculation for a taxable stock position

1. Establish the initial economic outlay

Record the amount paid for the shares and acquisition costs. If 100 shares cost $10,000 and the purchase commission is $20, the starting outlay is $10,020. Keep the purchase date and the lot identity; those facts control the holding period and basis.

2. Separate every distribution by type

Track cash dividends, reinvested dividends, capital-gain distributions, and nondividend distributions in separate columns. Do not combine them into a single “income” figure. A reinvested dividend is still a distribution to the investor and also creates a new share lot with its own basis and acquisition date.

3. Calculate adjusted basis

Begin with the purchase price and include applicable acquisition costs and other basis adjustments. Commissions generally increase the basis of purchased shares. Stock splits change the per-share basis while preserving the total basis for the lot. Nondividend distributions generally reduce basis rather than creating immediate taxable income.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

When a nondividend distribution reduces basis to zero, additional nondividend distributions generally become capital gain. Keep the basis ledger by tax lot so that a later sale uses the correct amount rather than the original purchase price alone.

4. Calculate proceeds and realized gain or loss

For a sale, use net proceeds:

Realized gain or loss = sale proceeds - selling costs - adjusted basis

Form 8949 instructions treat purchase price, proceeds, and basis adjustments as relevant records. A statement showing only the gross sale price can overstate the taxable gain when selling costs were charged.

5. Classify the holding period

The general distinction is:

  • Short-term: held one year or less.
  • Long-term: held more than one year.

Under the IRS counting rule, the holding period starts the day after acquisition and includes the disposition date. A sale one day too early can change the classification. Reinvested dividends create additional lots, so one sale can contain both short-term and long-term shares. Apply the rule separately to each lot selected for sale.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

6. Classify dividends and distributions

Ordinary dividends are generally taxed as ordinary income. Qualified dividends may receive the same 0%, 15%, or 20% maximum federal rates that can apply to net capital gain, but only when all eligibility requirements are met. Do not assume that every amount labeled “dividend” by a broker is qualified.

For common stock, IRS Publication 550 (2025) generally requires holding the stock for more than 60 days during the 121-day period beginning 60 days before the ex-dividend date. Preferred stock with dividends attributable to periods totaling more than 366 days can have a longer holding-period requirement. Mutual-fund, REIT, foreign-security, option, and other specialized rules can change the classification.

“Qualified dividends are those dividends reported on line 3a of Form 1040 or 1040-NR.”

— Internal Revenue Service, Instructions for Form 8615 (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.

Capital-gain distributions are generally handled as capital gain, subject to the information reported and the investor’s complete return. A nondividend distribution usually is not taxed immediately; it reduces basis first and becomes capital gain after basis reaches zero.

7. Apply the regular federal tax calculation

Net the realized short-term and long-term gains and losses under the applicable capital-gain rules. A loss can offset gains, but its final effect depends on the investor’s complete return and any applicable limitations; it does not automatically create a cash refund equal to the loss multiplied by a marginal tax rate.

Use the current-year Form 1040 qualified-dividend and capital-gain worksheet or the Schedule D Tax Worksheet to calculate regular federal tax. The correct rate depends on taxable income, filing status, the type of income, and the way gains and losses net together. A qualified dividend and a short-term gain from the same stock sale can therefore face different rates.

8. Check the 3.8% Net Investment Income Tax

NIIT is an additional calculation, not a replacement for regular income tax. The IRS describes NIIT as 3.8% of the lesser of net investment income or the amount by which MAGI exceeds the statutory threshold for the filing status. The thresholds listed in IRS guidance are:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Filing status MAGI threshold used for the NIIT check
Married filing jointly $250,000
Married filing separately $125,000
Single or head of household $200,000
Qualifying widow(er) with a child $250,000

Use Form 8960 and the current-year IRS guidance. Include only the net investment income and MAGI excess applicable to the taxpayer; do not simply add 3.8% to every dividend or gain.

“In general, net investment income includes, but is not limited to: interest, dividends, capital gains, rental and royalty income, and non-qualified annuities.”

— Internal Revenue Service, Net Investment Income Tax guidance

9. Add state and local tax

Federal worksheets do not finish the calculation for a resident of a state or locality that taxes investment income. Determine whether the jurisdiction taxes ordinary dividends, qualified dividends, capital gains, or nondividend distributions differently, and whether local taxes apply. Use the rules for the investor’s residence and, where relevant, the source of the income.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

10. Convert tax into an after-tax result

Subtract the applicable tax from each taxable cash flow and from the realized gain, then combine those after-tax amounts with net sale proceeds. For a position that is not sold, model a clearly labeled hypothetical sale and state the assumptions used. Keep federal regular tax, NIIT, and state or local tax as separate line items so the reader can see which assumption changes the result.

How dividends change the result

Distribution type Typical treatment What to verify
Ordinary dividend Generally ordinary income Amount reported on Form 1099-DIV and the investor’s marginal tax situation
Qualified dividend May receive the 0%, 15%, or 20% maximum federal rates that can apply to net capital gain More-than-60-days-in-121-day-period rule for common stock and any issuer-specific exceptions
Capital-gain distribution Generally treated as capital gain according to the information reported Whether it is long-term and how it nets with other gains and losses
Nondividend distribution Generally reduces basis first; amounts after zero basis generally become capital gain Updated basis and the issuer’s classification on Form 1099-DIV

Taxing every cash dividend at one assumed rate can produce the wrong answer. A qualified dividend may be taxed more favorably than an ordinary dividend, while a nondividend distribution may have no immediate tax at all but increase a later gain by lowering basis.

Basis, tax lots, and reinvested dividends

Adjusted basis is the tax investment in the shares, not necessarily the amount shown by a chart. A practical basis ledger should include the lot’s purchase price, acquisition commission, split adjustments, reinvested-dividend purchases, nondividend-distribution reductions, and any other applicable adjustment.

Suppose an investor buys shares in January, reinvests a dividend in June, and sells part of the position the following February. The January shares may be long-term at the sale while the June reinvestment may still be short-term. The broker’s average-cost display can conceal that distinction if the account permits lot selection. Confirm which lots were sold and whether the broker reported basis to the IRS.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Special rules can materially alter basis or the loss deduction. Review current IRS instructions for wash sales, inherited shares, gifts, community-property ownership, options, mutual funds, REITs, foreign securities, and tax-loss harvesting before using a simple single-lot method.

Best Value
Sale
I Will Teach You to Be Rich: No Guilt. No Excuses. Just a 6-Week Program That Works (Second Edition)
  • It can be a gift option
  • Comes with secure packaging
  • Helpful in various ways
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Worked hypothetical example

The following numbers demonstrate the method; they are not a tax estimate for any particular investor.

  1. An investor buys shares for $10,000 and pays a $20 purchase commission. Initial economic outlay and starting adjusted basis are $10,020.
  2. The investor receives $300 of cash dividends. Assume solely for this illustration that the dividends satisfy the qualified-dividend requirements.
  3. The shares are later sold for $11,500, with $20 of selling costs. Net sale proceeds are $11,480.
  4. Adjusted basis is $10,020, so the realized gain is $11,480 – $10,020 = $1,460.
  5. Assume solely for this illustration that the $1,460 gain is long-term.

The pre-tax economic profit is the $300 distribution plus the $1,460 realized gain, before considering taxes. To finish the calculation, determine the investor’s regular federal tax on the qualified dividend and long-term gain using the applicable worksheet, check whether Form 8960 adds NIIT, and add any state or local tax. The after-tax return is then:

(after-tax proceeds of $11,480 + after-tax dividends - $10,020) / $10,020

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The exact percentage cannot be stated without the investor’s filing status, taxable income, other gains and losses, MAGI, and jurisdiction. The example shows why using a headline market gain or subtracting one guessed tax rate from all income is inadequate.

Calculating an after-tax return before selling

An unsold position has an unrealized gain or loss. You can estimate an after-tax value by modeling a sale at a specified price and date, using the current adjusted basis, expected selling costs, an assumed holding-period classification, and the tax rules expected to apply. Label that result as an estimate because each assumption can change.

Future dividends also require assumptions about whether they will be paid in cash or reinvested, whether they will be qualified, and whether the investor will hold the shares for the required period. Reinvestments add lots and can make a single annualized figure less representative than a lot-by-lot cash-flow analysis.

Forms and filing path

For a typical taxable brokerage sale, the reporting path may include:

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Use Form 1099-B or a substitute statement to reconcile proceeds, dates, and reported basis.
  2. Enter each required sale and adjustment on Form 8949.
  3. Carry the net short-term and long-term results to Schedule D.
  4. Report dividends and capital gains on the applicable Form 1040 lines.
  5. Use the Qualified Dividends and Capital Gain Tax Worksheet or Schedule D Tax Worksheet when the return requires it.
  6. Complete Form 8960 when the NIIT calculation applies.

Retain confirmations and reinvestment records even when the broker reports basis. Basis can be missing or incorrect after a transfer, a corporate action, or a change of broker, and the taxpayer remains responsible for an accurate return.

Comparing two investments on an after-tax basis

Compare investments only after putting them on the same tax and time footing. A higher pre-tax return can produce a lower after-tax result when it is realized as short-term gain, pays ordinary rather than qualified income, distributes large taxable gains, or falls in a higher-tax jurisdiction.

Comparison axis Questions to answer
Holding period Are both results measured over the same dates, and are gains short-term or long-term?
Account type Are both investments in taxable accounts, or does a retirement-account tax treatment make the comparison inappropriate?
Distribution type What portion is qualified dividend, ordinary dividend, capital-gain distribution, or nondividend distribution?
Realization Is one result based on an actual sale while the other contains an unrealized gain?
Basis and lots Will different lot selections, reinvestments, or basis adjustments change the taxable gain?
Costs Are purchase commissions, selling costs, fund expenses, and other transaction costs included consistently?
Investor tax profile Do filing status, taxable income, other gains and losses, and MAGI produce different rates or NIIT exposure?
Jurisdiction Do state or local rules treat dividends and gains differently?

Common mistakes and how to avoid them

  • Using only the share-price change. Add cash and reinvested distributions and subtract transaction costs.
  • Applying the qualified-dividend rate automatically. Verify the holding-period and other eligibility requirements.
  • Ignoring basis adjustments. Include commissions, splits, nondividend distributions, and transferred-lot information.
  • Treating all reinvested dividends as one purchase. Record each reinvestment as a separate lot with its own date and basis.
  • Calling an unrealized result final. A future sale and future tax-year facts determine the actual tax.
  • Adding 3.8% to every investment dollar. NIIT applies only through the Form 8960 calculation based on net investment income and MAGI excess.
  • Assuming a capital loss creates an immediate refund. The tax effect depends on netting and the complete return.
  • Leaving out state or local tax. Add the rules for the investor’s actual jurisdiction.
  • Comparing unlike accounts or periods. Match account type, holding period, realization status, and cash-flow timing.

When the simple method is not enough

This framework is for a straightforward U.S. taxable-account calculation. Retirement accounts, wash sales, tax-loss harvesting, mutual funds, REITs, foreign securities, options, inherited shares, gifts, and community-property rules can materially change the result. Complex transactions may require a tax professional who can apply the current-year IRS instructions to the complete return.

Tax rules, rates, thresholds, forms, and worksheets can change by tax year. Before filing, use the current versions of Form 8949, Schedule D, Form 8960, Form 1040 instructions, and the relevant IRS publications. The 2025 Publication 550 and 2025 form instructions provide the quoted dividend and holding-period guidance above, but they do not replace current-year instructions.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

SaleBestseller No. 1
SaleBestseller No. 2
The Psychology of Money: Timeless lessons on wealth, greed, and happiness
The Psychology of Money: Timeless lessons on wealth, greed, and happiness
Ideal for Gifting; Ideal for a bookworm; Compact for travelling
$10.99
SaleBestseller No. 5
I Will Teach You to Be Rich: No Guilt. No Excuses. Just a 6-Week Program That Works (Second Edition)
I Will Teach You to Be Rich: No Guilt. No Excuses. Just a 6-Week Program That Works (Second Edition)
It can be a gift option; Comes with secure packaging; Helpful in various ways
$9.15

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.