Home · Finance · Growth & Interest · Stock Profit Calculator

Stock Profit Calculator

Computes the net profit or loss on a share trade after buy and sell commissions, and the percentage return on the money committed.

Your figures

Example result — edit the figures to make it yours

1,480

Net profit

Gross profit before commissions1,500.00
Return on money committed29.54 %

What this calculator does

Computes the net profit or loss on a share trade after buy and sell commissions, and the percentage return on the money committed. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

Net profit = Shares × (Sell price − Buy price) − Buy commission − Sell commission

Return on investment is measured against the total cash committed at purchase: shares × buy price plus the buy commission.

Taxes on gains are not included — they depend on your jurisdiction and holding period. Past trade arithmetic says nothing about future trades.

Worked example

With the example inputs this page opens with (number of shares 100, buy price per share 50, sell price per share 65, buy commission 10), the result is 1,480.00 — net profit. Change any figure and the result updates with the same formula.

Quick reference

Quick reference — varying number of shares
Number of sharesNet profit
50730.00
801,180.00
1001,480.00
1251,855.00
1502,230.00
2002,980.00

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Stock Profit Calculator work?

Computes the net profit or loss on a share trade after buy and sell commissions, and the percentage return on the money committed. Shares · Buy price · Sell price · Commissions → Net profit. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Stock Profit Calculator need?

Shares · Buy price · Sell price · Commissions → Net profit. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Stock Profit Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.