Capital gain or loss starts with proceeds after selling costs less adjusted basis. Basis can differ from the original purchase price because of eligible adjustments and prior transactions.
How it works
Subtract selling costs from the sale price to get net proceeds. Subtract adjusted basis to get gain or loss. Determine holding period and character separately before estimating tax; this arithmetic alone does not calculate tax owed.
Worked example
For an illustrative scenario, Sale proceeds=$15,000; adjusted basis=$10,000; selling costs=$200. The model gives Net proceeds=$14,800.00; capital gain=$4,800.00. The figures depend on the stated inputs and timing.
How to use the result
Wash sales, inherited or gifted basis, depreciation and other special rules can change recognized gain. Keep transaction records rather than assuming the entered purchase price is always adjusted basis.
Use the Capital Gains Calculator, Capital Gains Tax Calculator to change the assumptions and inspect the calculated result. The guide explains the method; the interactive tools calculate the values you enter.
Frequently asked questions
Is sale price minus purchase price always taxable gain?
No. Eligible selling expenses and basis adjustments can change the recognized amount.
What should I check before relying on the result?
Verify the inputs, timing and any contract or program terms that apply to your situation. The example is a scenario, and a calculator result does not establish eligibility or make a financial decision for you.
Related guides
- Taxable vs Tax-Free Investments: After-Tax Yield
- Tax-Deferred Investing: Growth Before and After Taxes
Sources
See the calculation methodology, sources and update policy and site disclaimer for the scope of these estimates.