Stock Profit Calculator

Calculate total cost, total proceeds, profit or loss, ROI, break-even price, and per-share result.

Buy details
$
$
%
Sell details
$
$
%
Enter either commission amount or commission %. The last one you edit is used as the source value.
Total buy cost
Total sell proceeds
Net buy price / share
Net sell price / share
Profit / Loss
ROI
Break-even sell price / share
Profit / Loss per share

Important Note : This calculator estimates trade profit or loss from buy price, sell price, shares, and commissions. It does not include taxes, dividends, slippage, or time-weighted returns.

Use this Stock Calculator to estimate stock trade profit or loss, ROI, break-even sell price, total buy cost, total sell proceeds, and per-share return. It is useful for investors who want a quick before-and-after view of how share price changes and commissions affect the final result.

Reviewed by: AjaxCalculators Editorial Team
Last updated: April 24, 2026
Method source: Standard trade-profit and ROI relationships using shares, buy price, sell price, and transaction commissions
Editorial standards: AjaxCalculators Editorial Policy

What This Stock Calculator Calculates

This calculator estimates:

  • Total buy cost
  • Total sell proceeds
  • Net buy price per share
  • Net sell price per share
  • Profit / Loss
  • ROI
  • Break-even sell price per share
  • Profit / Loss per share

The live tool supports multiple currencies and lets you enter commissions either as a fixed amount or as a percentage. The last commission field you edit becomes the source used for calculation.

How the Stock Calculator Works

1) Total Buy Cost

The starting investment is based on:

Total buy cost = (shares × buy price per share) + buy commission

If you enter commission as a percentage, the commission is calculated from the trade value instead of entered directly as a fixed amount.

2) Total Sell Proceeds

The exit value is based on:

Total sell proceeds = (shares × sell price per share) − sell commission

This reflects the money left after selling costs are deducted.

3) Profit or Loss

The core trade result is:

Profit / Loss = total sell proceeds − total buy cost

If the number is positive, the trade made money. If the number is negative, the trade lost money.

4) ROI

ROI is usually measured as net return divided by the cost of the investment:

ROI = profit / total buy cost × 100

This makes it easier to compare outcomes as percentages rather than just currency amounts.

5) Break-Even Sell Price Per Share

The break-even sell price is the minimum sell price per share needed to cover the original cost and the selling costs.

That means the calculator works backward from total buy cost and sell-side commission to find the no-profit, no-loss price level.

Why Commissions Matter

A trade can look profitable on the surface but still underperform once fees are included.

For example, buying at a low commission and selling at another commission changes:

  • net buy price per share
  • net sell price per share
  • profit / loss
  • ROI

This is why a commission-aware stock profit calculator is more useful than a simple buy-price vs sell-price comparison.

Assumptions and Important Notes

  • This calculator is a stock profit / return calculator, not a stock valuation tool.
  • It estimates trade outcome from share count, prices, and commissions.
  • It does not include taxes, dividends, currency conversion effects, slippage, borrowing costs, or annualized returns unless you handle those separately.
  • ROI here is a simple trade-level return, not a time-adjusted performance measure.
  • Break-even sell price depends on the entered sell-side commission method.

Worked Example

Suppose you buy 100 shares at $20 per share with a $10 buy commission, then sell at $24 per share with another $10 sell commission.

Step 1: Find total buy cost
Buy value = 100 × 20 = $2,000
Total buy cost = 2,000 + 10 = $2,010

Step 2: Find total sell proceeds
Sell value = 100 × 24 = $2,400
Total sell proceeds = 2,400 − 10 = $2,390

Step 3: Find profit
Profit = 2,390 − 2,010 = $380

Step 4: Find ROI
ROI = 380 ÷ 2,010 × 100 ≈ 18.91%

Step 5: Find profit per share
Profit per share = 380 ÷ 100 = $3.80

How to Use This Stock Calculator

  1. Select the currency you want to use.
  2. Enter the number of shares.
  3. Enter the buy price per share.
  4. Enter either buy commission amount or buy commission %.
  5. Enter the sell price per share.
  6. Enter either sell commission amount or sell commission %.
  7. Click Calculate to view total cost, proceeds, ROI, break-even price, and profit/loss outputs.

How to Interpret the Result

Total buy cost is your true entry cost including fees.

Total sell proceeds is your money out after sell-side fees.

Profit / Loss is the net cash result of the trade.

ROI shows the return relative to your total buy cost.

Break-even sell price per share shows the minimum exit price needed to avoid losing money after commissions.

Practical Uses of a Stock Calculator

  • estimate trade profit before placing an order
  • compare different exit prices
  • see how commissions affect ROI
  • find a break-even sell price per share
  • review the outcome of a completed trade

References

  1. AjaxCalculators live Stock Calculator
  2. Investopedia: ROI definition and formula as return divided by cost of investment
  3. Investopedia: ROI as net return divided by investment cost, with limitations of simple ROI

Related Calculators

Disclaimer: This calculator is for educational and planning use only. It estimates stock trade profit or loss from prices, shares, and commissions, but it does not replace tax advice, investment advice, or full portfolio-performance analysis.

More of our calculators...

Mortgage Calculator

Calculate monthly mortgage payment, total interest, payoff date, and amortization. Add down payment, taxes, insurance, PMI, and extra payments.

Mortgage Interest Calculator

Estimate total mortgage interest and monthly interest over the loan term. Compare rates and terms quickly.

Mortgage Calculator with Taxes and Insurance

Estimate monthly mortgage payment with principal, interest, taxes, insurance, HOA, PMI, closing costs, loan amount, and amortization preview.

Amortization Calculator

Generate a loan amortization schedule with monthly payment, principal, interest, balance, payoff date, total interest, and optional extra payments.

Refinance Calculator

Compare your current mortgage with our Refinance calculator. Estimate new payment, monthly savings, closing costs, break-even time, interest, and payoff dates.

Credit Card Interest Calculator

Estimate credit card interest from APR, billing-cycle days, and average daily balance. Project monthly interest, payments, purchases, and ending balance.

Balance Transfer Calculator

Compare keeping your current credit card balance vs transferring it to a promo APR card. Estimate interest, transfer fees, savings, and payoff time.

Interest Rate Calculator

Calculate the interest rate needed to grow a present value into a future value. Supports annual, monthly, daily, and continuous compounding.

Inflation Calculator

Calculate how inflation changes money value over time. Estimate future value, today’s purchasing power, cumulative inflation, and monthly inflation schedule.