Home › Calculators › Stock Profit Calculator

Stock Profit Calculator

Find out how much you make or lose on a stock trade. Enter the number of shares, buy and sell prices and your broker's commissions to get the net profit, percentage return and the price you need to break even.

Last updated:

Net profit–
Return on investment–
Break-even sell price–covers both commissions
Total cost (buy)–
Net proceeds (sell)–
Total commissions–
Annualized return–

Profit vs sell price

Sell price scenarios

Sell priceChangeNet proceedsNet profitReturn

Estimates only, not financial or tax advice. Real trades can include spreads, exchange and regulatory fees, currency conversion and taxes that depend on your holding period and country.

Advertisement
Advertisement

How to use the Stock Profit Calculator

  1. Enter the number of shares and the price per share you paid.
  2. Enter the sell price, or a target price you are thinking about.
  3. Set the commissions for buying and selling as a flat fee or a percentage of the trade. Use 0 for commission-free brokers.
  4. Optionally add the holding period in days and a tax rate on gains.
  5. Press Calculate profit to see the profit, % return and break-even price, and check the chart and table for other sell prices.

Stock profit formulas

  • Total cost = shares × buy price + buy commission
  • Net proceeds = shares × sell price − sell commission
  • Net profit = net proceeds − total cost
  • Return = net profit ÷ total cost × 100
  • Break-even price = (total cost + flat sell fee) ÷ shares, or total cost ÷ (shares × (1 − sell fee %))
  • Annualized return = (net proceeds ÷ total cost)365 ÷ days − 1

How commissions change the result

100 shares bought at $50 and sold at $65.

CommissionsTotal costNet proceedsNet profitReturnBreak-even
None$5,000.00$6,500.00$1,500.0030.00%$50.00
$5 flat each way$5,005.00$6,495.00$1,490.0029.77%$50.10
$5 buy, 1% sell$5,005.00$6,435.00$1,430.0028.57%$50.56
0.5% each way$5,025.00$6,467.50$1,442.5028.71%$50.50

Tips for tracking stock gains

  • Include every cost in the buy price: commissions, exchange fees and currency conversion if you buy foreign shares.
  • If you bought in several lots, use your average cost per share as the buy price.
  • Dividends received are not part of this calculation. Add them to your profit for the total return.
  • Small trades are hit hardest by flat commissions. A $5 fee on a $200 trade is 2.5% before the price even moves.

Frequently asked questions

How do I calculate profit on a stock?

Net profit = (shares × sell price − sell commission) − (shares × buy price + buy commission). For 100 shares bought at $50 and sold at $65 with $5 commissions each way, the profit is $6,495 − $5,005 = $1,490.

How is the percentage return calculated?

Return = net profit ÷ total cost × 100, where total cost includes the buy commission. In the example above, $1,490 ÷ $5,005 = 29.77%, a little less than the 30% rise in the share price because of commissions.

What is the break-even sell price?

It is the price at which selling returns exactly what you paid, including both commissions. With a flat sell fee: (total cost + sell fee) ÷ shares. With a percentage fee: total cost ÷ (shares × (1 − fee %)).

What does annualized return mean?

It converts your return into a yearly rate: (proceeds ÷ cost)^(365 ÷ days) − 1. It helps compare trades held for different lengths of time, but for short holds it extrapolates and can look very large.

Does this include taxes?

Only if you enter a tax rate, which is applied to positive gains. Real capital gains tax depends on your country, income and how long you held the shares, so treat it as a rough estimate.

Is my trade data stored?

Your last inputs are saved only in this browser for convenience. Nothing is sent to a server. This is an estimate, not financial or tax advice.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

CAGR CalculatorCompound annual growth rate, or solve for a target end value.Percentage Change CalculatorPercent increase or decrease between two values, and reverse.Compound Interest CalculatorSee how savings and investments grow over time.Profit Margin CalculatorGross margin, markup, cost or price: solve for any one, single or bulk.Stock Beta CalculatorPaste stock and market prices or returns to get beta, correlation, R-squared and a regression chart.Covered Call CalculatorCovered call returns: if-called and static return, annualized yield, breakeven and max profit.Forex Profit CalculatorProfit or loss of a forex trade in pips and in your account currency, after commission.Graham Number CalculatorGraham number √(22.5 × EPS × BVPS), Graham intrinsic value and margin of safety.Receipt MakerFill in a receipt template with items and tax, then print or save PDF.Car Depreciation CalculatorEstimate your car's value over time and its projected resale price.CTR CalculatorCalculate click-through rate and compare it with industry benchmarks.Conversion Rate CalculatorCalculate e-commerce conversion rate, revenue per visitor and goals.CPM CalculatorSolve CPM, cost, impressions, CTR and CPC for ad campaigns.Quote Estimate GeneratorCreate a quote or estimate with line items and tax, then save as PDF.ROAS Calculator (Return on Ad Spend)Calculate ROAS, break-even ROAS and profit for each ad channel.Customer Lifetime Value CalculatorCalculate customer lifetime value, LTV:CAC ratio and CAC payback from ARPU and churn.Churn Rate CalculatorCalculate customer churn and retention rates and convert monthly churn to annual.YouTube Money CalculatorEstimate YouTube earnings per day, month and year from views and RPM by niche.Instagram Engagement Rate CalculatorCalculate Instagram engagement rate by followers or reach and compare it to benchmarks.Ecommerce Profit CalculatorNet profit, margin, markup and break-even ROAS per order after fees, ads and returns.Amazon FBA CalculatorEstimate Amazon FBA fees, profit per unit, margin, ROI and break-even price.Etsy Fee CalculatorEtsy listing, transaction, processing and Offsite Ads fees, payout and net profit.eBay Fee CalculatoreBay final value fee, per-order fee, ad fees, payout and net profit on any sale.Dollar Cost Averaging CalculatorSee units bought, average cost, value and profit for regular buys at your own price list.Startup Runway CalculatorProject cash, burn rate and runway month by month, with growth, break-even and zero-cash date.Break Even CalculatorFind break-even units and revenue, contribution margin, margin of safety and a cost-volume chart.SaaS Pricing CalculatorModel flat, per-seat, tiered and volume plans with annual discounts to get MRR, ARR and ARPU.Employee Cost CalculatorWork out the true cost of an employee: payroll taxes, benefits, overhead and real hourly cost.Inventory Turnover CalculatorInventory turnover ratio and days inventory outstanding from COGS or sales and average stock.Markup CalculatorFind the selling price from cost and markup, or the markup and margin from cost and price.Unit Price CalculatorCompare up to 4 products by price per ounce, pound, liter or item and find the best deal.Cap Rate CalculatorCalculate a rental property's NOI, cap rate and optional cash-on-cash return.Depreciation CalculatorStraight-line, declining balance, double declining and sum-of-years depreciation schedules.Crypto Profit CalculatorCalculate crypto trade profit, ROI and break-even price after buy and sell fees.PayPal Fee CalculatorWork out PayPal fees, what you receive, and how much to ask for to get an exact amount.Stripe Fee CalculatorCalculate Stripe fees and payouts, or how much to charge to receive an exact amount.Net Promoter Score CalculatorCalculate NPS from promoter, passive and detractor counts or pasted 0–10 survey scores.CPC CalculatorCalculate cost per click from ad spend and clicks, plus CPM, CTR, CPA and ROAS.Cost Per Unit CalculatorUnit production cost from materials, labor, overhead, setup and waste, plus a price at your margin.Quick Ratio CalculatorAcid-test ratio from cash, securities and receivables vs current liabilities, explained.Resale Profit CalculatorGet flipping profit, margin and ROI after platform and payment fees, shipping and supplies.Sales Forecast CalculatorProject 12-36 months of revenue from baseline, growth rate, churn and seasonality.70% Rule CalculatorHouse flipping maximum allowable offer: ARV × 70% − repairs, with adjustable % and wholesale fee.Silver Melt Value CalculatorSilver melt value from weight, purity and spot price, with sterling and US coin presets.Startup Cost CalculatorTotal capital to start a business: one-time and monthly costs, runway buffer and contingency.Stop Loss CalculatorFind your stop-loss price from a % or dollar risk, the loss per share and trailing stop levels.TAM SAM SOM CalculatorSize a market top-down or bottom-up: TAM, SAM and SOM in revenue and customers, plus a chart.Tariff CalculatorImport tariff and duty owed, landed cost per unit and the price rise needed to absorb it.Wholesale to Retail Price CalculatorSet wholesale price and MSRP from unit cost and margins, with an optional distributor tier.ARR CalculatorAnnual recurring revenue from MRR or contracts, with an ARR bridge, NRR and GRR.Asset Turnover Ratio CalculatorRevenue ÷ average total assets, plus fixed asset turnover, ROA and a benchmark check.Burn Multiple CalculatorNet burn divided by net new ARR, with a rating from amazing to bad and runway.CPV Calculator (Cost Per View)Cost per view from spend and views, views from a budget, and CPV to CPM conversion.Crypto Liquidation Price CalculatorLiquidation price of a leveraged long or short crypto position with isolated margin.Depreciation Recapture CalculatorTax on selling depreciated property: §1250 gain at up to 25%, §1245 recapture and capital gain.Discount Impact on Profit CalculatorHow many more sales you need after a discount to keep the same profit, from your margin.DuPont Analysis CalculatorSplit ROE into profit margin, asset turnover and leverage, with 3-step and 5-step models.Email Marketing Metrics CalculatorOpen rate, CTR, click-to-open, bounce, unsubscribe and revenue per email from campaign counts.Enterprise Value CalculatorEV from market cap, debt, preferred, minority interest and cash, plus EV/EBITDA and EV/Sales.Financial Advisor Fee CalculatorSee what a 1% (or tiered) AUM advisor fee costs your portfolio over the years.Forex Margin CalculatorRequired margin for any forex trade from lot size, leverage and price, in your account currency.Founder Equity Split CalculatorWeight idea, time, role, risk and cash to suggest a fair co-founder equity split.Free Shipping Threshold CalculatorFind the minimum order for free shipping that covers its cost, from AOV, shipping and margin.GMROI CalculatorGross margin return on inventory: gross margin ÷ average inventory cost, with turnover.Impermanent Loss CalculatorImpermanent loss of a 50/50 liquidity pool, LP vs HODL value and the fees needed to break even.Inventory Carrying Cost CalculatorAnnual cost of holding inventory: capital, storage, insurance and obsolescence and the rate.Inventory Valuation Calculator (FIFO/LIFO)Compare ending inventory and COGS under FIFO, LIFO and weighted average from purchases and sales.Invoice Factoring CalculatorAdvance, reserve rebate, factoring fees and effective APR for selling an invoice.
See all 209 Business & Marketing Calculators →