Stock Profit Calculator
This stock profit calculator shows what a trade has earned after everything: enter the buy price, sell price, number of shares and fees, and the profit or loss with its return appears at once. If you like, the tool also counts dividends, tax and holding period, and names the price above which you no longer lose money after fees.
Source: U.S. SEC, Investor.gov – Compound annual growth and returns (return and annual return). Updated: .
How it is calculated
The profit on a stock trade is the sale proceeds minus the capital invested, both after fees. Buy 100 shares at 40 and sell at 55 and the price gain is 1,500. With a fee of 5 per order, 1,490 is left, which is 37.2 percent on the 4,005 invested.
How the tool calculates
- Capital invested: buy price times shares plus the buying fee. Proceeds: sell price times shares minus the selling fee.
- Fees: a fixed fee per order and optionally a percentage of the order value. Both apply to the purchase and the sale.
- Dividends: payouts received are added to the profit and raise the total return.
- Tax: you enter your own rate; it is applied to a positive total gain, while a loss stays untaxed. Special rules such as allowances or loss offsetting are not modelled.
- Break-even price: the sell price at which, after fees, there is neither profit nor loss.
- Return per year: with a holding period the total return is converted to one year using (1 + return) to the power of (1 ÷ years) minus 1.
What to keep in mind
The calculator looks at a single purchase and sale. If you bought several times at different prices, first combine them into an average buy price. The figures are neither investment advice nor tax information. Check a share’s yearly payout with the dividend yield calculator, the average over several years with the CAGR calculator and regular saving with the monthly investment calculator.
Frequently asked questions
How do I calculate the profit from selling a stock?
(Sell price − buy price) times shares, then subtract all fees and add any dividends received. Example: (55 − 40) × 100 = 1,500, minus 10 in fees = 1,490.
What is the return on a stock trade?
The profit after fees divided by the capital invested including the buying fee. With a profit of 1,490 on 4,005 invested that is about 37.2 percent.
What is the break-even price?
The sell price from which a trade is no longer in the red after fees. Because of fees it lies slightly above the buy price; dividends lower it.
How do fees affect the result?
Fixed fees weigh heavily on small amounts, percentage fees grow with the order value. Both hit you twice: on the purchase and on the sale.
How do I get a return per year?
Enter the holding period in years. The tool converts the total return into a yearly figure: a 100 percent return over 5 years equals about 14.9 percent per year.
Sources and legal basis
- U.S. SEC, Investor.gov – Compound annual growth and returns (return and annual return)
- Wikipedia – Capital gain (Kursgewinn = Verkaufs- minus Kaufpreis)
- Wikipedia – Rate of return (Rendite, Annualisierung)
As of: · Editorial policy
Related tools
- Dividend Yield CalculatorDividend yield calculator: enter price and dividend to see the yield, income per year and month, yield after tax and yield on cost with dividend growth.
- CAGR Calculator – Average Annual ReturnCAGR calculator: average annual return from a beginning and ending value, or from yearly returns – geometric, not arithmetic, with a year-by-year table.
- Monthly Investment CalculatorMonthly investment calculator for an ETF savings plan: end value from start amount, monthly deposit, return and fees, with inflation and three scenarios.
- Pivot Point CalculatorPivot point calculator: enter the previous high, low and close to get pivot, support and resistance levels by Classic, Fibonacci, Woodie and Camarilla formulas.
- ROI calculatorROI calculator: return on investment, profit and annualized ROI for any holding period, plus a DuPont mode splitting ROI into profit margin and asset turnover.
- Percentage CalculatorFree percentage calculator: find X% of a number, what percent one number is of another, percentage change, increase and discount – with formula and steps.
- Mortgage calculatorMortgage calculator: monthly payment with taxes, insurance, PMI and HOA from home price, down payment and rate – extra payments, 15 vs 30 years, amortization.
- Bid-ask spread calculatorBid-ask spread calculator for stocks, ETFs and crypto: enter bid and ask, get the spread in percent, the cost of buying and selling and the break-even.
- Prorated Rent CalculatorProrated rent calculator: enter the monthly rent and the days occupied to get the amount by days in the month, 30-day month and yearly method.