FINMATHLY / TOOLS & RESOURCES

Capital Gain/Loss Calculator

Compare sale proceeds with your entered cost basis.

YOUR NUMBERSUSD

Defaults to your selected country. You can override this calculator. Enter amounts in the displayed currency; no exchange rate is applied.

USD. Range 0 to 1000000000000.
USD. Range 0 to 1000000000000.

Calculated in your browser. No account required.

Amounts are not converted. Enter values in USD.

Illustrative estimate. Review the assumptions before using the result.

Report an error in this calculator

View calculation table

How this calculation works

Gain or loss = Sale proceeds − Cost basis

Enter the labelled inputs. Percent fields use 5 for 5%. Tax basis rules vary.

A worked example

Sale proceeds: 15000 USD; Cost basis: 10000 USD. Capital gain/loss: 5,000 USD.

Assumptions and limitations

Tax basis rules vary. All monetary inputs must use one currency and time period unless conversion is explicit. Manual inputs only; no live prices or official rule tables.

Common questions

Why can my actual result differ?

Tax basis rules vary. All monetary inputs must use one currency and time period unless conversion is explicit. Manual inputs only; no live prices or official rule tables.

Are my inputs saved?

The calculator code processes inputs within your browser and does not send them to our server or save them in browser storage. Downloads and copied summaries remain under your control.