Stock Profit Calculator
Enter how many shares you bought, the buy and sell prices and the total fees you paid. You see your net profit or loss, your return and the price you needed to break even.
Your numbers
Estimate for information only, not professional advice. Last reviewed .
How we calculate it
Gross profit is shares × (sell price − buy price). Net profit is the gross profit minus the fees you paid. Return is the net profit divided by what you paid for the shares, times 100.
The break-even sell price is the buy price plus the fees divided by the number of shares. With 100 shares bought at 50 and sold at 60 and fees of 20, the net profit is 980, the return is 19.6% and the break-even price is 50.20.
Assumptions and limits
- Enter the total of all fees for buying and selling together.
- Taxes on gains and dividends received are not included.
- The calculation covers one purchase and one sale. For several purchases at different prices, use your average buy price.
Frequently asked questions
How is stock profit calculated?
Multiply the number of shares by the difference between the sell and buy prices, then subtract fees. A negative result is a loss.
What is the break-even price?
It is the sell price at which you neither gain nor lose after fees. Because fees are spread over the shares, the break-even price is slightly above your buy price.
Does this include taxes?
No. Tax on gains depends on where you live and how long you held the shares. Check the rules that apply to you or ask a tax professional.
Related calculators
- ROI CalculatorMeasure how much you gained or lost relative to what you put in.
- Dividend Yield CalculatorEnter the share price, the dividend paid per share each year and how many shares you own.
- CAGR CalculatorCAGR smooths uneven growth into one steady yearly rate.
- Percent Change CalculatorEnter a starting value and an ending value to see the percent increase or decrease and the absolute difference.
Worked example (a fixed example using the starting numbers, it does not change as you type)
Inputs: Number of shares = 100; Buy price per share ($) = 50; Sell price per share ($) = 60; Total fees and commissions ($) = 20.
- Net profit $980.00
- Gross profit $1,000.00
- Return on your purchase 19.6%
- Break-even sell price $50.20
- Amount you paid for the shares $5,000.00
Embed this calculator
Add this calculator to your own page. Paste the code where you want it. The small link keeps credit to the source.
More financial calculators
- Loan Payoff Calculator
- Mortgage Calculator with Extra Payments
- Car Loan Calculator
- Credit Card Payoff Calculator
- Compound Interest Calculator
- Simple Interest Calculator
- ROI Calculator
- CAGR Calculator
- Rule of 72 Calculator
- Finance Calculator
- Interest Rate Calculator
- Annuity Calculator
- CD Calculator
- Bond Calculator
- Refinance Calculator
- APR Calculator
- HELOC Calculator
- Loan Calculator
- Mortgage Payment Calculator
- Savings Goal Calculator
- Future Value Calculator
- Present Value Calculator
- Inflation Calculator
- Debt-to-Income Ratio Calculator
- Dividend Yield Calculator
- NPV Calculator
- Down Payment Calculator
- Debt Payoff Calculator
- Rental Property Calculator
- Auto Lease Calculator
- GDP Calculator
- Currency Converter
- Canadian Mortgage Calculator
- UK Mortgage Calculator
- RMD Calculator
- FIRE Calculator
- 529 College Savings Calculator
- 401(k) Calculator
- Roth vs Traditional Calculator
- HSA Calculator
- Social Security Estimate Calculator
- Retirement Savings Calculator
- Student Loan Payoff Calculator
- FHA Loan Calculator
- VA Loan Calculator
- Rent vs Buy Calculator
- Home Affordability Calculator
- State Income Tax Calculator
- Property Tax Calculator
- Paycheck Calculator
- Federal Income Tax Calculator
- Self-Employment Tax Calculator
- State Sales Tax Calculator
- Capital Gains Tax Calculator