Skip to main content
StocksFree

Stock Profit Calculator — Shares Gain & Loss

Stock profit compares sale proceeds with acquisition cost and transaction charges. A holding-period return is different from an annualized return, and neither automatically includes taxes or dividends. The stock calculator does not automatically process taxes, dividends, splits, short borrowing or multiple tax lots. Adjust quantity and prices consistently for a split before calculating. Tax treatment and broker execution quality need jurisdiction-specific and dated evidence rather than a universal assumption.

Updated · Reviewed by Foysal Mostafa

Stock Profit CalculatorResults update instantly
$
$
$

Leave 0 for zero-commission brokers

$

✓ Profitable Trade

Net Profit

+$1,500.00

ROI

+30.00%

Total Invested

$5,000.00

Total Commission

$0.00

Gross Profit+$1,500.00
Gross Proceeds$6,500.00

Why Use the Stock Profit Calculator?

Stock profit compares sale proceeds with acquisition cost and transaction charges. A holding-period return is different from an annualized return, and neither automatically includes taxes or dividends. Compare the displayed result with the worked example and confirm the assumptions before using it.

Net stock P&L = (sell − buy) × shares − buy commission − sell commission

Buy 100 shares at $50 and sell at $65 with $5 commission on each side. Gross profit is $1,500, net profit $1,490 and cash invested $5,005. ROI is about 29.7702%. A 21% total return over two years annualizes to 10%, not 10.5%.

How to Use the Stock Profit Calculator — Step by Step

  1. 1

    Enter the stated inputs

    Use the units shown next to each field. Replace sample rates and rules with values applicable to your instrument and account.

  2. 2

    Check a worked example

    Buy 100 shares at $50 and sell at $65 with $5 commission on each side. Gross profit is $1,500, net profit $1,490 and cash invested $5,005. ROI is about 29.7702%. A 21% total return over two years annualizes to 10%, not 10.5%.

  3. 3

    Interpret the result

    The stock calculator does not automatically process taxes, dividends, splits, short borrowing or multiple tax lots. Adjust quantity and prices consistently for a split before calculating. Tax treatment and broker execution quality need jurisdiction-specific and dated evidence rather than a universal assumption.

What Your Stock Profit Calculator Results Mean

Calculation basis

Net stock P&L = (sell − buy) × shares − buy commission − sell commission

Interpretation and limits

The stock calculator does not automatically process taxes, dividends, splits, short borrowing or multiple tax lots. Adjust quantity and prices consistently for a split before calculating. Tax treatment and broker execution quality need jurisdiction-specific and dated evidence rather than a universal assumption.

Stock Profit Calculator — Frequently Asked Questions

Q.How is this calculated?

Net stock P&L = (sell − buy) × shares − buy commission − sell commission

Q.What example can I use to check the arithmetic?

Buy 100 shares at $50 and sell at $65 with $5 commission on each side. Gross profit is $1,500, net profit $1,490 and cash invested $5,005. ROI is about 29.7702%. A 21% total return over two years annualizes to 10%, not 10.5%.

Q.What assumptions or limitations matter?

The stock calculator does not automatically process taxes, dividends, splits, short borrowing or multiple tax lots. Adjust quantity and prices consistently for a split before calculating. Tax treatment and broker execution quality need jurisdiction-specific and dated evidence rather than a universal assumption.

Foysal Mostafa

Foysal Mostafa

Forex Trader & Software Developer · Founder, TradeCalc

Active forex trader since 2019, specializing in risk management and systematic position sizing. Built TradeCalc to replace manual spreadsheets used in live trading. Calculator formulas are checked with worked examples and automated regression tests. Broker-specific rules and execution outcomes still need independent confirmation.