Stock Profit and Loss Calculator
Profit or loss from a stock trade.
Calculate profit or loss from a stock trade including buy price, sell price, shares, and commissions. Shows net profit or loss from the values you enter.
What this tool does
Enter buy price, sell price, shares, and commissions. The tool shows net profit or loss.
Enter Values
Formula Used
Spotted something off?
Calculations, display, or translation — let us know.
Disclaimer
Results are estimates for educational purposes only. They do not constitute financial advice. Consult a qualified professional before making financial decisions.
100 shares bought 12, sold 15, 20 commission: (15-12) × 100 - 20 = 280 profit. 23.3% return on 1,200 cost. Commissions eat return especially on small trades — brokerage matters.
A worked example
Try the defaults: buy price of 12, sell price of 15, shares of 100, total commissions of 20. The tool returns 280.00. You can adjust any input and the result updates as you type — no submit button, no reload. That's the real power here: seeing how sensitive the output is to one or two assumptions.
What moves the number most
The result responds to Buy Price, Sell Price, Shares, and Total Commissions. Not every input has equal weight. Flip one at a time toward extreme values to feel which ones move the needle most for your situation.
Why investors run this
Most people's intuition for compounding is wrong — not because the math is hard, but because linear thinking doesn't account for curves. Running numbers through a calculator like this one is the cheapest way to recalibrate that intuition before making an irreversible decision about contribution rate, asset mix, or retirement age.
What this doesn't capture
Steady-rate math ignores real-world volatility. Actual returns are lumpy; sequence-of-returns risk matters most in drawdown; fees and taxes drag on compound growth; and behaviour changes in drawdowns can reduce outcomes below the projection. Treat the number as one scenario, not a forecast.
What to calculate alongside this
One figure by itself is fragile. The equity return calculator, the total investment return calculator, and the stock profit calculator cover adjacent ground — the answer to any one of them changes how you read the output from this tool. Worth a few minutes each, honestly.
Stock P&L produces a net figure based on the inputs provided.
Inputs
This example uses typical values for illustration. Adjust the inputs above to match a specific situation and see how the result changes.
Sources & Methodology
Methodology
Standard trade P&L.
References
Frequently Asked Questions
What else to subtract?
Taxable?
Small trades worth it?
Still holding?
Related Calculators
Equity Return Calculator
Calculate total equity return from share price change and dividend yield. Enter buy price per share and sell price per share to see total return.
Total Investment Return Calculator
Calculate total investment return combining capital growth and income returns. Enter initial value and final value to see total return.
Stock Profit Calculator
Calculate stock trade profit and ROI after commissions from buy and sell prices. Enter buy price per share to see net profit and roi percentage.
More Investing Calculators
Investing
100 Minus Age Asset Allocation Calculator
Calculate stock vs bond allocation using 100-minus-age rule. Shows stock and bond allocation percentages from the values you enter.
Investing
409A Valuation Impact Calculator
Calculate 409A valuation impact on stock option exercise and exit profits. Enter strike price and 409a fmv for an instant result.
Investing
Active vs Passive Investing Calculator
Compare active and passive investment strategies accounting for fees over long horizons. Enter initial investment to see difference and passive.
Investing
Hotel ADR Calculator
Calculate hotel ADR, RevPAR, and occupancy from revenue and rooms data. Enter room revenue and rooms sold total for an instant result.
Investing
After Repair Value (ARV) Calculator
Calculate real estate flip profit with ARV, repair costs, and the 70% rule check. Enter purchase price and after repair value arv for an instant result.
Investing
Agricultural Land Calculator
Calculate agricultural land investment IRR including lease income and appreciation. Enter land purchase price and lease rate for an instant result.
Explore Other Financial Tools
Productivity & Time-Value
Overtime Pay vs Free Time Logic
Calculate whether working overtime is financially worthwhile after tax, fatigue costs, and time value considerations. Instant result with methodology shown.
Money Insights
Financial Age Calculator
Calculate financial age based on net worth relative to age-adjusted target benchmarks. Enter biological age and income for an instant result.
Money Insights
How Much Is Your Time Worth Calculator
Calculate fully-loaded hourly rate including commute hours to compare against outsourcing cost decisions. Enter salary and see the result instantly.