Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)
Stock Profit Calculator

Stock Profit Calculator

Calculate stock trading profit or loss including brokerage commissions, capital gains tax, ROI, and the break-even sell price.

Stock Profit Calculator

This stock profit calculator shows the real profit or loss on a share trade after the costs that price-difference math ignores. Enter your buy price, sell price, and number of shares, then add broker commissions and capital gains tax to see your true net result.

It reports your net profit or loss, ROI, total invested, total received, and the break-even sell price — useful for any stock or share investor checking whether a closed trade really paid off or stress-testing a trade before placing the order.

Private by design: every calculation runs in your browser. Your buy price, sell price, share count, and fee figures are never uploaded to a server or stored anywhere.

How to Use the Calculator

1

Enter the trade details

Fill in the Buy Price (per share), the Sell Price (per share), and the Number of Shares you traded or plan to trade.

2

Add fees and tax

Under Fees & Commissions, enter a buy and sell commission as a percentage, a flat fee, or both, plus your Capital Gains Tax rate. Leave them at zero for a commission-free broker.

3

Or apply a preset

Tap a preset to fill the fees instantly: Zero Fee, Standard Broker (0.1% + 4.95 per trade), or Full Fees + Tax (standard fees plus 15% capital gains tax).

4

Read your results

The net profit or loss updates instantly, color-coded green for a gain or red for a loss. Check the ROI, total invested, total received, and break-even cards, then open the Cost Breakdown for the full picture.

Features

True Net Profit or Loss

Calculate the actual gain or loss on a trade after every cost, not just the gap between buy and sell price.

Buy & Sell Commissions

Set commission for buying and selling as a percentage, a flat fee per trade, or both combined.

Smart Capital Gains Tax

Tax applies only when the trade is a gain — a losing trade is never taxed, just like real tax rules.

ROI Percentage

See your return on investment as net profit divided by the total cost you actually put into the trade.

Break-even Sell Price

Find the minimum sell price that covers the buy price, buy commission, and sell commission so you don't lose money.

Invested & Received Summary

Quick cards show your total invested and the total amount received after commissions and tax.

Detailed Cost Breakdown

Expand a line-by-line view of buying costs, selling revenue, gross profit, tax, and final net profit.

One-Tap Broker Presets

Apply Zero Fee, Standard Broker, or Full Fees + Tax to load common fee structures in a single click.

Multi-Currency Support

Switch currency with the picker and every value and result reformats to match the symbol you choose.

Real-Time Results

Profit, ROI, and every metric recalculate as you type — there is no calculate button to press.

Frequently Asked Questions

How do I calculate stock profit?

Net profit is the net sale revenue minus your total buy cost, then minus any capital gains tax. The calculator does this for you: enter buy price, sell price, and share count, add your commissions and tax rate, and your net profit or loss appears instantly.

How is the stock profit percentage (ROI) calculated?

ROI is net profit divided by total buy cost, multiplied by 100. Total buy cost is the share purchase amount plus the buy commission, so the percentage reflects the return on what you actually spent — not just the headline price move.

How does the break-even price work?

The break-even price is the lowest sell price at which your net profit is zero. It accounts for the buy price, number of shares, buy commission, and sell commission. Sell above it and you are in profit; sell below it and you take a loss.

Why is tax zero when I have a loss?

Capital gains tax applies only to positive gains. If your gross profit (revenue minus all costs) is negative, the calculator charges no tax, mirroring how capital gains tax works in most jurisdictions.

What's the difference between gross profit and net profit?

Gross profit is your sale revenue minus all costs and commissions, before tax. Net profit is what you keep after capital gains tax is deducted from the gross profit — the final figure shown at the top of the results.

How do the commission fields work?

Enter a commission as a percentage of the trade value, a flat fee per trade, or both. For example, a broker charging 0.1% + 4.95 per trade uses both fields. Many modern brokers are commission-free, so you can leave these at zero.

Can I use this for options or futures trading?

This tool is built for straightforward stock buy-and-sell trades. You can use it to estimate profit on other instruments, but it does not model options premiums, margin requirements, or futures contract specifications.

Trade Details

$
$
shares

Fees & Commissions

%
+
$
%
+
$
%
Presets:
Net Profit / Loss
$0.00
ROI 0%
Total Invested $0.00
Total Received $0.00
Break-even Price $0.00
Enter your buy price, sell price, and number of shares to see instant results
Use presets to quickly apply common broker fee structures
Click Cost Breakdown to see a detailed analysis of all fees and costs
Tax is only applied on positive gains — losses are not taxed
The Break-even Price shows the minimum sell price needed to cover all costs
All calculations are done locally in your browser
Want to learn more? Read documentation →
1/7
Start typing to search...
Searching...
No results found
Try searching with different keywords