Start with a worked example
Open the worked example for Economic gain. The example starts with Sale proceeds = 150000, Cost basis = 100000, Transaction fees = 1000.
Capital Gains Calculator formula
Gain=proceeds−cost basis−fees; modeled tax=max(gain,0)×entered rate.
Inputs and units
| Input | Format / range | Example |
|---|---|---|
| Sale proceeds | Number | 150000 |
| Cost basis | Number | 100000 |
| Transaction fees | min 0 | 1000 |
| User-entered tax rate (%) | min 0, max 100 | 20 |
Worked example
The values listed in Inputs and units give $49,000.00 for Economic gain.
- Economic gain
- $49,000.00
- Modeled tax at entered rate
- $9,800.00
- After modeled tax
- $39,200.00
Results and assumptions
Tax rate is user-entered; this tool does not determine tax jurisdiction, holding-period classification, exclusions, or legal tax treatment.
Change Sale proceeds from 150000 to 165000 and keep the other example inputs fixed. The updated answer is $64,000.00 (Economic gain).
Fix an input or unexpected result
Sale proceeds is required. Enter sale proceeds using the format and bounds in the input table. Zero and an empty field are different: use zero only if it is allowed and represents your data.
