Capital Gains Calculator

Calculate capital gain or loss from cost basis, sale value, and selling fees.

Net Sale Proceeds

Enter valid inputs

Capital Gain or Loss

Enter valid inputs

Gain on Cost Basis

Enter valid inputs

Guide

How it works

Use this calculator to estimate capital gain or loss before tax.

What this calculator does

The capital gains calculator compares sale proceeds with cost basis after selling fees.

Capital Gains Formula

Capital Gain = Net Sale Proceeds - Cost Basis

Example calculation

If your cost basis is 10,000 and you sell for 14,000 with 100 in fees, the capital gain is 3,900.

When to use this calculator

  • estimating taxable gains before applying tax rates
  • comparing sale scenarios
  • checking cost basis
  • reviewing investment performance

FAQs

Is this the same as capital gains tax?

No. This calculator estimates the gain or loss before tax.

Explore more

More calculators in this topic

View investments calculators

Continue exploring

Related calculators

Explore the next calculations most relevant to this topic.