What is the Stock Profit Calculator?
The Stock Profit Calculator works out how much money you make or lose on a stock trade once buy and sell fees are paid. Enter the number of shares, your buy price, the sell price and your fees. It shows your net profit, your return on what you paid, and the sell prices you need to break even or reach a profit target.
Up 20%, but your profit isn’t the full 1,000
You bought 100 shares at 50, and the stock now trades at 60. Your broker app shows a 20% gain, and 100 × 10 says you made 1,000. Then the fees arrive. With 1% on the buy and 1% on the sell, 110 goes to charges, and you keep 890. That is a 17.62% return on the 5,050 you actually paid.
The gap matters most when you decide where to sell. With those fees you need to sell above 51.01, not 50, just to get your money back. This calculator shows the real profit, the break-even sell price and the price for your target. It does not include taxes on your gains, and it cannot tell you where the price will go. To plan extra buys at a lower price instead, use the Stock Average Down Calculator.
How to use the calculator

Enter the trade
Pick your Currency and enter the Number of shares. For Buy price per share, use what you paid or the average your broker shows. For Sell price per share, use today’s price, or a take-profit (TP) price you plan to sell at.
Add fees and a target
Enter Buy fees and Sell fees, and choose % of trade or Fixed amount for each. Type 0.25 for 0.25%, not 0.0025. Set the Profit target you want on your cost. To add dividends or a yearly return, open Optional: dividends and holding period and fill in Held for.
Read your result
Results update as you type. Start with the net profit or loss, then check the break-even and target sell prices. The next section walks through every number.
Your results, explained
Here are the results for the example values: 100 shares bought at 50 and sold at 60, a 1% fee on each side, and a 10% profit target. Each numbered explanation matches a highlighted area in the image.

1. Net profit: $890.00
What you keep after both fees: 5,940 from the sale minus the 5,050 you paid. The note underneath gives it as a 17.62% return on your cost and shows that the share price itself rose 20%. The gap between those two numbers is the fees.
2. What you paid: total cost $5,050.00
The shares cost 100 × 50 = 5,000, and the 1% buy fee adds 50. Your real cost per share is 50.50, not 50. Every profit and price on this page is measured against that full cost.
3. What you get back: proceeds $5,940.00
Selling 100 shares at 60 is worth 6,000, and the 1% sell fee takes 60 of it. The row below subtracts your cost to give the net profit of 890. If you entered dividends, the total return row adds them on top.
4. Break-even and target sell prices
You need to sell above 51.01, not 50, just to cover both fees: a 2.02% rise from your buy price. For a 10% profit on your 5,050 cost, which is 505, you need to sell at 56.11. Your planned 60 clears both.
5. The chart
The green line is your net profit or loss at every sell price. It crosses the dashed zero line at the break-even price, and the shaded red area below it is where you would lose money. The blue point is your sell price, and the amber diamond is your profit target. Hover or tap the line to read any price.
Worked example: 100 shares from 50 to 60
These are the calculator’s example values. The 1% fees are illustrative, so use your broker’s real rates.
Total cost = 100 × 50 + 1% buy fee = 5,000 + 50 = 5,050
Proceeds = 100 × 60 − 1% sell fee = 6,000 − 60 = 5,940
Net profit = 5,940 − 5,050 = 890
Return on cost = 890 ÷ 5,050 = 17.62%
Without fees, the same trade would make 1,000, a 20% return that matches the price change exactly. The 110 in fees is 11% of the gain. On a smaller price move, the same fees would take a much bigger share of it.
Break-even and target prices include both fees
Your break-even sell price is the price where the proceeds after sell fees equal everything you paid. With a percentage sell fee, every extra peso or dollar of price is also trimmed by that fee, so the calculator solves for the price directly:
Sell price = (total cost + net profit wanted + fixed sell fee) ÷ (shares × (1 − sell fee %))
Break-even = 5,050 ÷ (100 × 0.99) = 51.01
10% target = (5,050 + 505) ÷ (100 × 0.99) = 56.11
The target is a percentage of your total cost, so 10% of 5,050 is 505. Many traders set this as their take-profit (TP) order. Check the result against the price you were going to type into your broker, because a TP set at exactly 55 would leave you short of a true 10%.
The same 17.62% can be a great or a slow return
A return on its own does not say how long the money was tied up. Open Optional: dividends and holding period and fill in Held for, and the calculator adds a Yearly return: the compound rate per year that turns your cost into what you ended with.
Yearly return = (ending value ÷ cost)1 ÷ years held − 1
Held 3 months: (5,940 ÷ 5,050)4 − 1 = 91.42% a year
Held 3 years: (5,940 ÷ 5,050)1/3 − 1 = 5.56% a year
Use it to compare trades held for different lengths of time, or against a savings rate. Be careful with periods under a year. Turning three months into a yearly figure assumes you could repeat the same gain four times in a row, which is rarely realistic. Dividends you enter count as part of the ending value.
Small trades and fixed fees
Fixed fees hurt small trades the most. Buy 10 shares at 2.50 with a 20 fee on each side and the shares cost 25, but you pay 45. Sell them at 2.60, a 4% rise, and you receive 26 minus 20, which is 6. That is a 39 loss on a winning trade.
The break-even sell price is 6.50, a 160% rise. If your broker charges a fixed or minimum fee, enter it as a Fixed amount and check the break-even price before you buy.
Fees and the average your broker shows
When you buy, your broker usually adds the buying commission and other charges to your cost. That is why shares bought at 2.50 can show an average price of 2.52 in your portfolio. Your money went in at the same total, and the fees are spread over each share.
If you enter that broker average as your Buy price per share, set Buy fees to 0, or the fees will be counted twice. Sell fees still apply, because you have not sold yet. Fees and any tax on each sale vary by broker and country, so take the rates from your broker’s fee schedule.
Before relying on the result
- Counting buy fees twice. Use 0 for buy fees if your average price already includes them.
- A percentage typed as a decimal. Type 0.25 for 0.25%. Entering 0.0025 models almost no fee.
- Leaving out sell fees. They come off your proceeds even though they have not been charged yet.
- Reading the price change as your return. After fees, your return is always a little lower.
Before you place a sell order:
- Check your broker’s fee schedule, including any minimum fee and tax on sales.
- Confirm the number of shares you will actually sell.
- Compare your take-profit price with the target sell price shown here.
- Remember that taxes on your profit are not included.
Frequently asked questions
Why is my return lower than the price change?
Should I enter buy fees if my broker’s average already includes them?
Should I enter fees as a percentage or a fixed amount?
What is the break-even sell price?
How is the profit target price worked out?
Are dividends included in the profit?
What does the yearly return show?
Are taxes included?
Can I calculate selling only part of my shares?
Does changing the currency convert my amounts?
Related stock calculators
Keep planning with the tools that answer the next question.
- Daily Compound Interest CalculatorSee money grow with interest added every day, the days to a goal, or the daily rate needed. Open calculator
- Stock Average Down CalculatorFind your new average cost, or how many shares it takes to reach a target average. Open calculator
- Dollar-Cost Averaging CalculatorProject buying a fixed amount on a schedule and compare it with a lump sum. Open calculator
- Dividend Reinvestment CalculatorProject shares, value and income when every dividend buys more shares. Open calculator
- CAGR CalculatorTurn a start and end value into a yearly growth rate, or project one forward. Open calculator
- Stock Dividend CalculatorFind one year’s dividend income and yield from your shares. Open calculator