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 break-even sell price.

Stock Profit Calculator

The Stock Profit Calculator helps you determine the actual profit or loss from buying and selling stocks. Unlike simple calculators that only show price difference, this tool accounts for real-world costs that significantly impact your returns.

Why accuracy matters: When trading stocks, the difference between buy and sell price is rarely your actual profit. Brokerage commissions, platform fees, and capital gains taxes all eat into your returns. This calculator gives you a clear picture of your true net profit after all costs.

What It Calculates

Net Profit/Loss

Your actual gain or loss after all fees and taxes are deducted from the transaction.

ROI

Return on Investment as a percentage of your total cost, showing efficiency of your trade.

Break-even Price

The minimum sell price needed to avoid a loss, accounting for all transaction costs.

Cost Breakdown

Detailed view of every fee and cost component affecting your final return.

Your Data Stays Private

100% Client-Side Processing

All calculations happen directly in your browser. Your financial information never leaves your device.

  • No server uploads
  • No data storage
  • Complete privacy

Zero Tracking

We don't collect, store, or analyze any usage data from your calculations.

  • No cookies
  • No analytics
  • No monitoring

How to Use

1

Enter Trade Details

Fill in the basic information about your stock trade:

  • Buy Price — The price you paid per share
  • Sell Price — The price you sold (or plan to sell) per share
  • Number of Shares — How many shares you traded
2

Add Fees (Optional)

Include any trading costs that apply to your broker:

  • Buy Commission — Fee charged when purchasing shares (percentage + flat fee)
  • Sell Commission — Fee charged when selling shares (percentage + flat fee)
  • Capital Gains Tax — Tax rate applied to your profit (only on gains, not losses)
3

Read Your Results

The calculator instantly shows:

  • Your net profit or loss prominently displayed with color coding (green for profit, red for loss)
  • ROI percentage, total invested, total received, and break-even price in summary cards
  • A detailed cost breakdown showing every component (click to expand)
Quick Start with Presets: Use the preset buttons to quickly apply common fee structures — Zero Fee for commission-free brokers, Standard Broker for typical fees (0.1% + $4.95), or Full Fees + Tax for standard fees plus 15% capital gains tax.

Features

Accurate Profit Calculation

Get the true net profit from your stock trades by accounting for all costs.

  • Percentage-based commissions
  • Flat-fee commissions
  • Capital gains tax
  • Combined fee structures

Smart Tax Handling

Capital gains tax is only applied when you have a positive gross profit.

  • Tax on gains only
  • No tax on losses
  • Real-world tax rules
  • Accurate net calculations

Break-even Analysis

Instantly see the minimum sell price you need to cover all your costs.

  • Includes purchase price
  • Factors in buy commission
  • Accounts for sell commission
  • Realistic price targets

Detailed Cost Breakdown

Expand the cost breakdown to see every component of your trade.

  • Buying costs section
  • Selling revenue section
  • Tax calculations
  • Final profit summary

Multi-Currency Support

Switch between different currencies using the currency picker.

  • Multiple currency symbols
  • Automatic formatting
  • Real-time updates
  • Global compatibility

Real-Time Updates

Results update instantly as you type or change any input.

  • No calculate button needed
  • Instant recalculation
  • Live profit updates
  • Dynamic ROI display

Frequently Asked Questions

How is ROI calculated?

ROI (Return on Investment) is calculated as: Net Profit ÷ Total Buy Cost × 100.

Total buy cost includes the share purchase price plus any buy commission. This tells you the percentage return on the money you actually spent, giving you a clear measure of your investment efficiency.

Example: If you invested $10,000 (including fees) and made a net profit of $1,200, your ROI would be 12%.

How does the break-even price work?

The break-even price is the minimum sell price where your net profit equals zero. It factors in:

  • The buy price per share
  • Number of shares purchased
  • Buy commission (percentage + flat fee)
  • Sell commission (percentage + flat fee)

Selling above this price means profit; below means a loss. This helps you set realistic price targets before entering a trade.

Why is tax zero when I have a loss?

Capital gains tax is only applied to positive gains. If your gross profit (revenue minus all costs) is negative, no tax is charged.

This mirrors how capital gains tax works in most jurisdictions — you only pay tax on actual profits, not on losses. In fact, capital losses can often be used to offset other capital gains for tax purposes.

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

Gross profit is your sale revenue minus all costs and commissions (before tax). It represents your gain before any tax obligations.

Net profit is what you actually keep after capital gains tax is deducted from the gross profit. This is your true, take-home profit.

Gross Profit

Before Tax

  • Sale revenue
  • Minus buy cost
  • Minus commissions
  • Before tax deduction
Net Profit

After Tax

  • Gross profit
  • Minus capital gains tax
  • Final take-home amount
  • True investment return

Can I use this for options or futures trading?

This calculator is designed for simple stock buy-and-sell transactions. While you could use it to estimate profits on other instruments, it doesn't account for:

  • Options premiums and strike prices
  • Margin requirements and interest
  • Futures contract specifications
  • Complex derivatives structures
Important note: For accurate calculations on options, futures, or other derivatives, use specialized calculators designed for those specific instruments.

How do commission structures work?

You can enter commissions as a percentage of the trade value, a flat fee per trade, or both combined:

Percentage Only

0.1% of trade value
Common with discount brokers

Flat Fee Only

$4.95 per trade
Traditional broker model

Combined

0.1% + $4.95
Hybrid fee structure

Many modern brokers offer zero-commission trading, which means you can leave both commission fields at 0%.

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
Can't find it? Build your own tool with AI
Start typing to search...
Searching...
No results found
Try searching with different keywords