Skip to main content

Stock Profit Calculator

Enter your shares, buy price, sell price and fees. See what you really keep, your return on cost, and the prices you need to break even or hit your profit target.

Your trade

Results update as you type. Use one currency for every amount.

Changes the symbol only. Nothing is converted.

The shares you bought or plan to sell, without commas.

USD

What you paid, or your average price.

USD

Today’s price, or the price you plan to sell at.

Fees and target

Commissions and charges on each side of the trade. Use 0 if you pay none.

Use 0 if your buy price already includes fees.

Include any tax charged on the sale.

%

The return you want on your cost. Type 10 for 10%, or 0 to skip.

Optional: dividends and holding period
USD

Total cash dividends these shares paid you while you held them.

How long you held the shares. Adds a yearly return. Leave blank to skip.

Your result

Showing the example values. Replace them with your own.

Net profit

$890.00

A +17.62% return on the $5,050.00 you paid after $110.00 in fees. The share price itself moved +20%.

From what you paid to what you keep
Bought: 100 × $50.00$5,000.00
Buy fees (1%)+$50.00
Total cost$5,050.00
Sold: 100 × $60.00$6,000.00
Sell fees (1%)−$60.00
Proceeds$5,940.00
Net profit+$890.00
Price change vs your return+20% vs +17.62%
Break-even sell price$51.01 (+2.02% from buy)
Sell price for a 10% profit$56.11

Your sell price of $60.00 already reaches your 10% target.

Profit or loss at each sell price

The line crosses zero at your break-even price. Tap a name under the chart to hide or show it.

Taxes on your profit and dividends are not included unless you add them to the fees. This is a calculation, not investment advice.

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

The calculator's inputs with two highlighted areas. Area 1 covers Currency, Number of shares, Buy price per share and Sell price per share. Area 2 covers Buy fees, Sell fees with their fee type, Profit target and Optional: dividends and holding period.
The numbered areas match Step 1 and Step 2. Select the image to open it full size.
Step 1

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.

Step 2

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.

Step 3

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.

The calculator's results for the example, with five numbered areas: 1 the net profit of $890.00; 2 the bought, buy fees and total cost rows; 3 the sold, sell fees, proceeds and net profit rows; 4 the price change, break-even and target sell price rows; 5 the profit chart.
The results panel for the example values. Select the image to open it full size.
  1. 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. 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. 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. 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. 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?
Because fees come off both ends of the trade. In the example the price rises 20%, but 1% fees on the buy and the sell bring the return on your cost down to 17.62%. With no fees, the two numbers are equal.
Should I enter buy fees if my broker’s average already includes them?
No. Many brokers add buying fees to the average price they show, so 2.50 can appear as 2.52. If you enter that average, set Buy fees to 0 so the fees are not counted twice. Still enter Sell fees, because they have not been paid yet.
Should I enter fees as a percentage or a fixed amount?
Use whichever your broker charges. Choose % of trade for a commission that is a share of the trade value, or Fixed amount for a flat fee per order. If your broker has a minimum fee, check which one applies to the size of your trade.
What is the break-even sell price?
It is the lowest price you can sell at without losing money once both the buy and sell fees are paid. It is always a little above your buy price when you pay fees, and it can be far above it for small trades with fixed fees.
How is the profit target price worked out?
The calculator adds the target percentage of your total cost to that cost, then finds the sell price that leaves that much after sell fees. In the example, 10% of 5,050 is 505, so you need proceeds of 5,555, which takes a sell price of 56.11.
Are dividends included in the profit?
Only if you enter them. Dividends received shows as a separate total return line, so you can see the trade profit on its own and with dividends added. They do not change the break-even or target sell prices.
What does the yearly return show?
It converts your return on cost into an equivalent compound rate per year, using Held for. The example’s 17.62% is about 91.42% a year if you held the shares for 3 months, but about 5.56% a year over 3 years. It includes any dividends you enter.
Are taxes included?
Only those you include in your fees. If your country charges a tax on each sale, add it to Sell fees. Taxes on your profit or dividends are not included, because they depend on your own situation.
Can I calculate selling only part of my shares?
Yes. Enter only the number of shares you plan to sell, with your average buy price. The calculator then shows the profit on that part of your position.
Does changing the currency convert my amounts?
No. The currency only changes the symbol shown on amounts. Enter every amount in the currency you choose.

Keep planning with the tools that answer the next question.