Total Capital Gain on Investments Calculator

Track gain, basis, fees, tax, and returns. Compare holding types with instant investment summaries accurately. Export clear reports for records and planning today easily.

Calculator Inputs

Example Data Table

Investment Units Buy Price Sell Price Fees Basis Additions Gain Result
Index ETF100$50.00$72.00$60.00$120.00$2,020.00
Dividend Stock80$35.00$42.00$45.00$75.00$440.00
Bond Fund150$20.00$18.50$30.00$0.00-$255.00

Formula Used

Gross purchase cost = quantity x purchase price per unit.

Adjusted cost basis = gross purchase cost + purchase fees + basis additions - basis reductions.

Net sale proceeds = quantity x sale price per unit - sale fees.

Total capital gain = net sale proceeds - adjusted cost basis + other gain adjustment.

Taxable gain = maximum of zero and total gain minus capital loss offset.

Estimated tax = taxable gain x selected combined tax rate.

After tax gain = total capital gain - estimated tax.

ROI = gain divided by adjusted cost basis x 100.

How to Use This Calculator

  1. Enter the investment name, currency, units, and prices.
  2. Add purchase fees, sale fees, basis additions, and basis reductions.
  3. Enter any other gain adjustment or capital loss offset.
  4. Choose holding treatment, or let dates classify the sale.
  5. Enter the rates you want applied to taxable gain.
  6. Press the calculate button and review the result above the form.
  7. Download the CSV or PDF report for your records.

Capital gain planning for investors

Capital gain is the difference between what an investment returns and what it cost. A strong estimate needs more than a buy price and a sell price. Fees, reinvested amounts, return of capital, and loss offsets can change the final number. This calculator keeps those details in one place.

Why total gain matters

Total gain helps you judge performance before tax. Taxable gain helps you judge the part that may face a rate. Net cash after tax shows what may remain after the sale. These views are different. Each one answers a separate planning question.

Cost basis is central. It usually starts with purchase cost. Purchase fees and reinvested amounts can raise it. Return of capital can reduce it. When basis is higher, gain is lower. When basis is lower, gain is higher. That is why accurate records matter.

Using holding period

The holding period can affect the rate you enter. A short holding period may use one rate. A long holding period may use another rate. This tool can classify the period from dates. You can also force short term, long term, or mixed treatment.

Mixed treatment is useful for portfolio sales. Some lots may be long term. Others may be short term. Enter the long term share of the taxable gain. The calculator blends the rate with your other entered rates.

Better decisions

Use the result before selling. Try different sale prices. Change fees and rates. Review the break even price. Compare before tax ROI with after tax ROI. These checks can show whether a sale supports your goal.

The calculator is general. It does not replace tax advice. Laws vary by country and account type. Tax rules also change. Use your own rates or ask a qualified adviser. Keep trade confirmations, fee records, and adjustment notes with each result.

Record quality

Good inputs create useful outputs. Use the same currency for every field. Enter fees as total amounts, not percentages. Add notes about splits, reinvestments, and account statements. Save the CSV file after each estimate. Export the PDF when you need a simple record. Recheck all numbers before filing returns or making final decisions. Review saved versions when comparing several sale dates.

FAQs

What is total capital gain?

Total capital gain is the difference between net sale proceeds and adjusted cost basis. This calculator also allows gain adjustments, fees, and loss offsets.

Does this calculator file taxes?

No. It only estimates gain and tax using your inputs. Always verify rules with a qualified tax professional before filing.

What is adjusted cost basis?

Adjusted basis starts with purchase cost. It can increase with fees or reinvestments. It can decrease with basis reductions or return of capital.

How are sale fees handled?

Sale fees reduce gross sale proceeds. Lower proceeds reduce the final gain and can increase a capital loss.

Can I calculate mixed holding periods?

Yes. Choose mixed lots and enter the long term share. The tool blends short and long rates using that percentage.

What is a capital loss offset?

A capital loss offset reduces positive gain before tax is estimated. Unused offset is shown as remaining loss offset.

Why is annualized return shown?

Annualized return converts the holding period result into a yearly rate. It helps compare sales held for different time lengths.

Can I export my result?

Yes. After calculation, use the CSV or PDF button above the form. Each file includes the main investment result.

Related Calculators

Paver Sand Bedding Calculator (depth-based)Paver Edge Restraint Length & Cost CalculatorPaver Sealer Quantity & Cost CalculatorExcavation Hauling Loads Calculator (truck loads)Soil Disposal Fee CalculatorSite Leveling Cost CalculatorCompaction Passes Time & Cost CalculatorPlate Compactor Rental Cost CalculatorGravel Volume Calculator (yards/tons)Gravel Weight Calculator (by material type)

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.