Skip to content
Calcipedia

Stock Profit Calculator

Calculate stock-trade profit or loss from share count, buy and sell prices, fees, dividends, and holding period.

Last updated

Stock trade profit planner Combine share count, entry and exit prices, fees, dividends, and holding period to see total return and annualized return.

Display currency

Switch the reporting currency without changing the trade assumptions.

Result

$1,010.00

Total stock-trade return after fees and dividends on 100 shares.

Total return
24.02%
Annualized return
20.32%
Break-even sell price
$40.90
Total fees
$10.00
Trade finishes ahead Price movement contributes $890.00, while cash income contributes $120.00.

Transaction summary

Cost basis is $4,205.00 on the way in. Net sale proceeds are $5,095.00 on the way out. Profit per share is $10.10.

Holding period

Holding period: 425 days.

← All Saving & Investing calculators

Trade P&L

Stock profit calculator guide: share-trade gain, dividends, fees, and annualized return

A stock profit calculator shows what happened between the day shares were purchased and the day they were sold after the effects of commissions or platform fees and any dividends received are included. That fuller picture matters because raw price change is only one part of an equity investment result. Costs reduce the trade outcome, while dividend income can improve it.

What total return means on a stock trade

Price return compares what the shares were sold for with what they cost to buy. Total return goes a step further by adding any cash dividends received during the holding period and subtracting the fees paid when entering or exiting the trade. That is why a trade can show a different result from the headline share-price move alone.

For long-term investors, this difference is important. A stock that appears to have produced only a modest price gain can still generate a stronger total return once dividends are counted. The opposite can also happen when repeated trading costs or a weak exit price offset the income received during the holding period.

Core maths behind stock-trade profit

The buy side starts with shares multiplied by buy price, then adds any buy-side fees to reach total cost basis. The sell side starts with shares multiplied by sell price, then subtracts sell-side fees to reach net sale proceeds. Dividends received are added afterward to convert pure price return into total return.

Break-even sell price is the price at which the shares would have needed to be sold so that net sale proceeds plus dividends exactly matched the original cost basis. Annualized return goes a step beyond total return by converting the overall gain or loss into a yearly equivalent rate for the actual holding period entered.

Total cost basis = Shares x Buy price + Buy-side fees

Measures the full cash amount committed when the stock position is opened.

Total return = Net sale proceeds + Dividends - Total cost basis

Combines realized price result and cash income after fees are applied.

Annualized return = ((Ending value / Cost basis)^(365.25 / Days held) - 1) x 100

Converts the total holding-period result into an annual equivalent rate when valid dates are entered.

Why annualized return is useful

Two trades can have the same total return percentage but very different holding periods. A 12% gain earned over four months and a 12% gain earned over two years are not equivalent results. Annualizing the return helps compare trades or investments held for different lengths of time more fairly.

Annualized return still has limits. It assumes the observed result can be expressed as a constant yearly rate, which is a simplification. Use it as a comparison tool, not as a forecast of what the same stock or strategy will keep earning year after year.

What this stock profit estimate does not cover

The calculator does not include taxes, wash-sale adjustments, foreign withholding, stock splits, DRIPs, margin financing, or slippage. It assumes the entered buy and sell prices are the actual executed prices and that all dividends are entered directly as cash received.

Use it as a realized-trade or planned-trade arithmetic tool only. If tax treatment matters, pair the result with a separate capital gains tax calculation and your own record of basis adjustments.

Further reading

  • FINRA — Stocks — High-trust investor overview of common-stock investing, dividends, and basic stock-market mechanics.
  • FINRA — Cost basis basics — High-trust investor guidance on basis tracking, reinvested distributions, and tax-record concepts.

Frequently asked questions

Why can total return differ from the stock's price return?

Because total return includes dividends received and fees paid, while simple price return only compares the entry and exit prices of the shares.

What if I leave the dates blank or invalid?

The calculator can still show total profit or loss, but it will not annualize the result unless a valid purchase date and later sale date are entered.

Does break-even sell price include dividends?

Yes. Dividends reduce the sell price needed to break even because they are part of the total return received from the trade.

Does this calculator include capital gains tax?

No. It shows pre-tax trade arithmetic only. If tax matters in your jurisdiction, the after-tax result can be materially different.

Also in Saving & Investing

🇺🇸 403(b) Calculator 🇺🇸 529 Plan Calculator AFFO Calculator After-tax Cost of Debt Calculator Altman Z-Score Calculator Annuity Calculator APC Calculator Appreciation Calculator Basis Point Calculator Beta Stock Calculator Bitcoin ETF Calculator Black Scholes Calculator Bond Calculator Budget Calculator CAGR Calculator Call Option Calculator Capital Gains Yield Calculator CAPM Calculator Carried Interest Calculator Cash Back Calculator 🇺🇸 CD Calculator CD Ladder Calculator Cell Phone Plan Calculator College Cost Calculator College Value Calculator Compound Interest Calculator Cost of Capital Calculator Cost of Equity Calculator 🇺🇸 Cost of Living Comparison Calculator Covered Call Calculator Credit Spread Calculator Cross Price Elasticity Calculator Current Ratio Calculator DCF Calculator Debt Service Coverage Ratio Calculator Debt to Asset Ratio Calculator Debt to Equity Ratio Calculator Debt-to-Capital Ratio Calculator Defensive Interval Ratio Calculator Discount Rate Calculator Dividend Calculator Dividend Discount Model Calculator Dividend Payout Ratio Calculator Dividend Yield Calculator Dollar Cost Averaging Calculator Dream Come True Calculator DRIP Calculator DuPont Analysis Calculator Earnings per Share Calculator Earnings Per Share Growth Calculator EBITDA Multiple Calculator Economic Value Added Calculator Effective Annual Rate Calculator Effective Duration Calculator Effective Interest Rate Calculator Enterprise Value Calculator Equivalent Rate Calculator EV to Sales Calculator Expected Utility Calculator Expense Ratio Calculator FIRE Calculator Fixed Deposit (FD) Calculator Forex Compounding Calculator Forward Premium Calculator Forward Rate Calculator Free Float Calculator Future Value Calculator Futures Contracts Calculator Graham Number Calculator Hedge Ratio Calculator Index Return Calculator Interest Calculator Interest Coverage Ratio Calculator Interest Rate Calculator Intrinsic Value Calculator Inventory Turnover Calculator Investment Calculator Investment Fee Calculator Investment Return Calculator Jensen's Alpha Calculator LGD Calculator Liquid Net Worth Calculator Long-Term Care Calculator Lottery Annuity Calculator Margin Call Calculator Margin Interest Calculator Margin of Safety Calculator Market Capitalization Calculator Maturity Value Calculator Maximum Drawdown Calculator 🇺🇸 Mega Millions Payout Calculator Million to Billion Converter Millionaire Calculator MIRR Calculator Money Counter Money Market Account Calculator Money Weight Calculator Moving Average Calculator MVA Calculator NAV Calculator Net Worth Calculator Operating Cash Flow Ratio Calculator Opportunity Cost Calculator Optimal Hedge Ratio Calculator Options Profit Calculator Options Spread Calculator PayPal Fee Calculator PEG Ratio Calculator 🇺🇸 Pennies to Dollars Calculator Portfolio Beta Calculator Position Size Calculator 🇺🇸 Powerball Calculator Present Value Calculator Price Elasticity of Demand Calculator Price Elasticity of Supply Calculator Price to Book Ratio Calculator Price to Cash Flow Ratio Calculator Price to Earnings Ratio Calculator Price to Sales Ratio Calculator Put Call Parity Calculator Quick Ratio Calculator Residual Income Calculator Retention Ratio Calculator Return on Capital Employed Calculator Rule of 72 Calculator Sabbatical Calculator Savings Calculator Savings Goal Calculator Savings Interest Rate Calculator Savings Plan Calculator Scrap Gold Calculator Scrap Silver Calculator Sinking Fund Calculator SIP Calculator Stock Average Calculator Stock Calculator Stock Split Calculator Sustainable Growth Rate Calculator Tax Equivalent Yield Calculator Unit Price Calculator Unlevered Beta Calculator US Income Percentile Calculator Value at Risk Calculator Wedding Budget Calculator Zakat Calculator

Related

More from nearby categories

These related calculators come from the same leaf category, nearby sibling categories, or the same top-level topic.