Stock Profit Calculator

Use this Stock Profit Calculator to find out how much you could earn or lose when selling shares. Enter the number of shares, purchase price, selling price, and any trading commissions to calculate your total cost, net proceeds, and overall profit or loss.

Total commission paid when buying all shares.
Total commission paid when selling all shares.

Stock Profit Results

Net Profit / Loss
—
Enter your trade details below.
Number of Shares —
Purchase Value —
Buy Commission —
Total Cost —
Gross Sale Value —
Sell Commission —
Net Sale Proceeds —
Profit / Loss per Share —
Your profit or loss, total cost, net proceeds, and return percentage will appear here once you enter valid trade details.
Enter the total number of shares and the purchase and selling prices per share. Include your total buy and sell commissions to estimate your net profit or loss. This calculator does not include taxes, dividends, or other trading fees.

How to Use the Stock Profit Calculator

Using the Stock Profit Calculator is simple. Enter the number of shares you purchased, your purchase price per share, and the price at which you plan to sell. Add your buy and sell commissions, if applicable, and choose your preferred currency.

The calculator automatically shows your total investment, net sale proceeds, profit or loss, profit or loss per share, and percentage return.

Stock Profit Calculation Formula

The calculator uses the following formulas:

  • Purchase Value = Number of Shares × Purchase Price
  • Total Cost = Purchase Value + Buy Commission
  • Net Sale Proceeds = (Number of Shares × Sell Price) − Sell Commission
  • Net Profit or Loss = Net Sale Proceeds − Total Cost
  • Return on Investment (ROI) = (Net Profit or Loss ÷ Total Cost) × 100

A positive result means you made a profit, while a negative result means you incurred a loss.

Stock Profit Calculator Examples

Suppose you purchase 100 shares at $50 per share and later sell them at $65 per share. Your buy commission is $5, and your sell commission is $5.

CalculationAmount
Purchase value$5,000
Buy commission$5
Total cost$5,005
Gross sale value$6,500
Sell commission$5
Net sale proceeds$6,495
Net profit$1,490
Return on total cost29.77%

In this example, your net profit is $1,490 after accounting for both commissions.

Frequently Asked Questions

1. How do I calculate stock profit?

Multiply the number of shares by the selling price, subtract the selling commission, and then subtract your purchase cost and buy commission.

2. Does the calculator include trading commissions?

Yes. You can enter your total buy and sell commissions to calculate profit or loss after these costs.

3. Can I calculate a stock market loss?

Yes. If your net sale proceeds are lower than your total cost, the calculator displays a negative result to show your loss.

4. What is the return percentage?

The return percentage measures your profit or loss against your total cost, including the buy commission. A positive percentage indicates a profit, while a negative percentage indicates a loss.

5. Does this calculator include taxes and dividends?

No. The result excludes taxes, dividends, and other fees not entered in the calculator. Your actual investment return may differ.

Disclaimer: This calculator is for educational and informational purposes only. It does not provide investment advice or guarantee future stock market returns.

Related Finance Calculators

Scroll to Top