Online Tool Store Online Tool Store

Stock Profit Calculator

Calculate net profit and return on investment for a stock trade, including buy/sell prices, share count, and trading fees. Runs entirely in your browser.

🔒 This tool runs entirely in your browser. Your files are never uploaded to a server.

Total invested

$0

Net profit

$0

Return

0%

How it works

  1. Enter your buy price, sell price, and number of shares.
  2. Add any trading fees.
  3. Net profit and return on investment update instantly.

The formula

Profit is the sale proceeds minus the original investment and fees:

Profit = (Sell price × shares) − (Buy price × shares) − Fees
ROI = Profit ÷ (Buy price × shares) × 100

FAQ

Does this include taxes?

No — it only accounts for the trading fees you enter, not capital gains tax, which depends on your jurisdiction and holding period.

What should I put in the fees field?

Add up any brokerage commissions or trading fees for both the buy and sell trade. Leave it at 0 if your broker doesn't charge per-trade fees.

How is return on investment calculated?

As net profit (after fees) divided by the total amount invested, shown as a percentage.

Is my trade data uploaded anywhere?

No — every calculation happens locally in your browser.

How we compare

Feature Online Tool Store Brokerage app Manual math
Check a hypothetical trade before making it
Instant ROI percentage

A brokerage app only shows profit on trades you've actually made. Stock Profit Calculator lets you check a hypothetical trade before you commit.

Explore related tools

Embed this tool

Paste this on your own site — it stays free, and every file still stays in your visitor's browser, not yours or ours.