Capital Gains Calculator
Estimate your capital gain or loss after accounting for purchase costs and selling costs, with an optional tax estimate.
Enter your investment details
Enter the quantity, purchase price, sale price and transaction costs.
Capital Gain Estimate
Based on the figures and assumptions you entered.
How the Capital Gains Calculator Works
The calculator compares the net amount received from selling an investment with its total cost basis. Purchase and selling costs can be included so the estimated gain or loss reflects those transaction expenses.
If the result is positive, it is a capital gain. If the result is negative, it is a capital loss. The return on cost is calculated by dividing the gain or loss by the total cost basis.
How to use this calculator
What to enter
Enter or select the following as requested: Currency — Display Only; Quantity; Purchase Price (); Sale Price (); Purchase Costs (); Sale Costs (); Estimated Tax Rate (%); Capital Gain Formula. Follow the units, valid ranges, examples, and options displayed beside each field.
What the result means
The financial result is a projection based on the contribution or principal, rate of return or interest, fees, tax assumptions, and time period entered. Check compounding frequency, deposit timing, inflation treatment, and whether the rate is nominal or real; actual returns and tax treatment can differ.
When to use it
Use this to compare savings, investment, deposit, or personal-finance scenarios. Treat the result as an estimate rather than a guaranteed return, and verify current product terms, fees, and local tax rules before making a financial decision.