Browser-local calculator

Stock Profit Calculator

Compare an entered stock purchase and sale with explicit transaction fees and no market-data lookup.

Enter trade assumptions

Enter values and select Calculate.

Trade-specific model

Purchase cost = shares × buy price + buy fee. Net sale proceeds = shares × sell price − sell fee. Profit or loss is proceeds minus cost; return divides that difference by purchase cost.

Market and tax boundary

Prices are entered by the user. No ticker, brokerage, tax-lot, wash-sale, capital-gains, or live-price data is used, and the result is not investment advice.

Worked example

The editable example above demonstrates the complete formula with visible assumptions. Select Calculate to inspect the resulting values.

Related calculators

Browse all calculators.