Stock Return & Capital Gain Tax
Calculate total return, capital gains, applicable tax based on holding period and tax bracket, and your net gain after taxes.
Results
What is it?
This calculator computes your total capital gain or loss from a stock trade, estimates the tax liability based on your holding period and tax bracket, and shows the net profit after taxes. Capital gains tax rates differ for short-term (รขโฐยค 1 year) and long-term (> 1 year) holdings in the U.S.
How to use
Enter the purchase price, sale price, and number of shares. Select whether the holding period is short-term or long-term, then choose your applicable tax rate. The calculator shows gross gain, return percentage, tax owed, and net gain.
Example scenario
You bought 100 shares at $50 and sold at $75 after 2 years (long-term). Capital gain = ($75 รขหโ $50) รโ 100 = $2,500. At the 15% long-term rate, tax = $375. Net gain = $2,125. Return = 50%.
Pro tip
Consider tax-loss harvesting: selling losing positions to offset gains and reduce your tax bill. Also, holding an asset for just over a year can significantly reduce your tax rate from ordinary income rates to the preferential long-term rate.