Stock Profit Calculator

Calculate the gain or loss on a stock trade after buying and selling fees.

Enter your values

Enter monetary amounts in U.S. dollars.

Result

1,380 USD
Total return
30.5986696231%
Net sale proceeds
5,890 USD
Need help with your result? Ask a question about your inputs or calculation. Ask AI
0 / 2000
20 requests per day · resets at 00:00 UTC

When to use Stock Profit Calculator

Calculate the gain or loss on a stock trade after buying and selling fees.

Compare investment records or model cash flows using a consistent time period and cost basis.

How to use this tool

  1. Enter the inputs listed below. Follow the field format, and select units beside each supported quantity.
  2. Results update automatically. Review the main result and its breakdown. Use Clear to enter a new scenario.
  • Shares
  • Buy price per share
  • Sell price per share
  • Buy fees
  • Sell fees

How it works

Buy price times shares plus buy fees is cost basis. Sell price times shares minus sell fees is proceeds. The difference is the net gain before taxes.

Worked example

The examples below use fixed sample inputs. They explain the calculation and do not change when you edit the tool above.

Shares
100
Buy price per share
45
Sell price per share
59
Buy fees
10
Sell fees
10
Result
1,380 USD
Total return
30.5986696231%
Net sale proceeds
5,890 USD

Understanding the result and its limits

A calculated return is not a forecast or investment recommendation. Check cash-flow timing, fees, taxes and currency consistency.

Frequently asked questions

Are nominal and inflation-adjusted returns interchangeable?

No. Real returns account for purchasing-power changes. Use the same period when comparing the return with inflation.

Methodology and references

Use the formulas and assumptions above when interpreting the example. Any practical estimate depends on the accuracy of the inputs.