Skip to main content

Capital Gains Tax Yield Calculator

Selling appreciated investments triggers capital gains tax obligations that depend heavily on how long you held the asset.

Total initial purchase price including commissions.

Total gross sales price realized.

Number of months the asset was held before sale.

Your regular federal income tax bracket (applied to short-term gains).

Applicable federal long-term capital gains rate (0%, 15%, or 20%).

Calculated Result
$2,250 Tax ($12,750 Net Profit)

Capital Gains Tax & Net Profit

Total Capital Gain

$15,000

Tax Classification

Long-Term (Preferential)

Estimated Tax Liability

$2,250

Net Profit After Tax

$12,750

After-Tax ROI

127.5%

Calculation Breakdown

  1. Holding Classification24 months holding period classifies asset as Long-Term (>1 year) taxed at 15%.
  2. Tax Liability & Net ReturnCapital gain of $15,000 × 15% = $2,250 tax. Net profit = $12,750.

Proceeds Breakdown: Basis, Net Profit, and Tax Owed

Interactive visualization based on your current inputs

Calculated Value
0.03.8k7.5k11.3k15.0kCost BasisNet ProfitTax Owed

What Is the Capital Gains Tax Yield Calculator?

The Capital Gains Tax Yield Calculator estimates tax owed upon the profitable sale of capital assets.

It categorizes the gain based on IRS holding period rules and calculates net after-tax proceeds.

How Does the Capital Gains Tax Yield Calculator Work?

It subtracts cost basis from sale price to determine the gross capital gain.

If the holding period exceeds 12 months, it applies preferential long-term rates; otherwise it applies ordinary income rates.

It calculates net profit and after-tax return on investment (ROI).

Capital Gains Tax Yield Calculator Formula & Variables

The core mathematical equation utilized by this calculator is expressed as:

\text{Tax Owed} = (\text{Sale Price} - \text{Basis}) \times \text{Tax Rate}_{\text{Holding Period}}

Capital gains equal gross proceeds minus cost basis. Assets held over 12 months qualify for discounted long-term statutory rates.

How to Use the Capital Gains Tax Yield Calculator

  1. Input the original purchase cost and sale price of your investment.
  2. Enter the months held and your applicable tax brackets.
  3. Review the net tax due and your final take-home proceeds.

Step-by-Step Example Calculation

$15,000 Capital Gain Held 24 Months

Input Values:

purchasePrice:10000
salePrice:25000
holdingPeriodMonths:24
ordinaryTaxRatePct:24
longTermGainsRatePct:15
Worked Steps: Calculates tax liability on a $15,000 gain held for 2 years.

Understanding Your Result

The primary result displays estimated tax owed and net profit after tax.

The summary provides your effective after-tax rate of return.

Factors That Affect the Result

  • Holding duration: Crossing the 1-year mark typically cuts federal tax liability significantly.
  • Total taxable income: Determines whether your long-term rate is 0%, 15%, or 20%.

When Should You Use This Calculator?

  • Before rebalancing an investment portfolio or liquidating stock options.
  • When calculating tax drag on taxable brokerage transactions.

Assumptions & Limitations

  • Does not factor in capital loss harvesting offsets from other positions.
  • Excludes state income taxes unless manually bundled into the rate.

Frequently Asked Questions

Calculation Accuracy & Reference Note

IRS rules regarding wash sales, depreciation recapture, and primary residence exclusions may alter actual tax liabilities.

Explore more tools and calculators in Finance Calculators