πŸ† US-Registered Digital Marketing Agency Trusted by 200+ brands Β· USA Β· UK Β· Canada Β· AUS
STOCK TRADING

Stock Profit Calculator β€” net gain after fees

Enter your buy price, sell price, share count, and commissions to see exactly what you made β€” or lost β€” on a trade.

Most online brokers charge $0 per trade today, but some still bill flat fees or per-share charges β€” enter whatever you actually paid.
Net Profit
$0
 
0%
Total Return %
$0
Total Buy Cost
$0
Total Sell Proceeds
$0
Profit Per Share
Tip: Commissions eat a bigger percentage of small trades β€” always check net profit, not just the price move.
Advertisement

The stock profit calculator on this page answers one question every trader eventually asks after clicking "sell": how much did I actually make? Not the headline percentage the price ticker shows, not the round number you eyeballed in your head β€” the real, after-fees, cash-in-your-account number. It takes your buy price, sell price, share count, and any commissions you paid on either side of the trade, and turns them into a single, honest figure: net profit.

We built this tool because the gap between "gross" and "net" trips up more investors than almost anything else in the early stages of a portfolio. Arb Digital works with clients across finance, e-commerce, and content, and the pattern is always the same β€” the number that looks good on paper and the number that actually lands in your account are rarely identical. This calculator closes that gap in seconds.

What This Stock Profit Calculator Does

At its core, the tool runs a simple subtraction: what you paid to buy the shares, subtracted from what you received when you sold them, minus whatever commissions or fees applied on either leg of the trade. But "simple" doesn't mean "obvious." Most people mentally calculate profit as just (sell price βˆ’ buy price) Γ— shares, and stop there. That ignores two things that can meaningfully change your result: transaction costs and the difference between a price move and a dollar move.

For example, a stock that rises from $50 to $75 looks like a 50% gain β€” and it is, on a per-share price basis. But your actual dollar profit depends on how many shares you held and what it cost you to get in and out. This calculator separates those two ideas cleanly: it shows you the percentage return on your capital and the raw dollar profit side by side, so you're never confusing one for the other.

How to Use It

  1. Enter your buy price. This is the price per share you paid when you opened the position, before any commission.
  2. Enter your sell price. The price per share you received when you closed the position.
  3. Enter the number of shares. Use decimals if your broker supports fractional shares.
  4. Add any buy-side commission. If your broker charged a flat fee or per-share cost to open the trade, enter the total dollar amount here.
  5. Add any sell-side commission. Same idea, but for the closing trade β€” some brokers charge on the way out even if the way in was free.
  6. Click Calculate Profit. The tool instantly updates your net profit, return percentage, total cost, total proceeds, and profit per share.

The Formula Behind the Numbers

The math is straightforward once it's laid out. Total buy cost equals buy price multiplied by shares, plus the buy commission. Total sell proceeds equals sell price multiplied by shares, minus the sell commission. Net profit is simply total sell proceeds minus total buy cost. Return percentage is net profit divided by total buy cost, expressed as a percent.

This is the same accounting logic brokers use on your trade confirmations, just made visible and editable. For a deeper walkthrough of how brokerage cost basis and capital gains are calculated for tax purposes, the SEC's Investor.gov is a solid, unbiased starting point β€” it explains how markets and trade settlement work without trying to sell you anything.

Advertisement

Why Commissions Matter More Than You Think

Zero-commission trading has become the norm at most major US brokers, which has lulled a lot of newer investors into thinking fees are a non-issue. They're not gone β€” they've just changed shape. Payment for order flow, wider bid-ask spreads on illiquid stocks, options contract fees, wire transfer charges, and foreign transaction costs on international shares can all quietly reduce your net result even when the trade ticket says "$0 commission."

The size of your position also matters enormously. If you buy 10 shares at $50 and pay a $5 flat commission on each side, that's $10 in fees against a $500 position β€” 2% of your capital gone before the stock has even moved. Buy 1,000 shares of the same stock and that same $10 in fees is a rounding error, just 0.02% of the position. This is exactly why the stock profit calculator asks for commissions on both the buy and sell side separately: fee drag is not a fixed cost, it's a cost that shrinks in relative importance as your position size grows, and understanding that relationship helps you decide when small, frequent trades actually make financial sense.

Gross Return vs. Net Return: The Number That Actually Matters

It's tempting to brag about a "50% winner," but that headline number is your gross price return β€” it says nothing about what landed in your pocket. Your net return, the one this tool calculates, accounts for every dollar that left your account on the way in and out. Two traders can both buy the same stock at the same price and sell at the same price, and still end up with different net profits purely because of what they paid in fees, taxes withheld, or currency conversion costs.

This distinction becomes especially important for active or short-term traders. If you're making dozens of trades a month, even small per-trade fees compound into a real drag on annual performance. Long-term, buy-and-hold investors feel this far less, since they pay commissions only twice β€” once in, once out β€” across years of holding. Knowing your true net return, trade by trade, is one of the simplest habits that separates disciplined investors from people who are just guessing at their own performance.

Short-Term vs. Long-Term Holding: Another Layer to Consider

This calculator focuses purely on the trade math β€” price in, price out, fees β€” but real-world profit also depends on how long you held the position and where you live for tax purposes. In the US, gains on stocks held for one year or less are typically taxed as ordinary income, while gains on positions held longer than a year usually qualify for lower long-term capital gains rates. That means two identical trades, one closed after eleven months and one after thirteen, can leave you with meaningfully different after-tax profit even though the calculator above would show the same pre-tax number. Resources like Investopedia's guide to capital gains tax are a good next stop if you want to understand how holding period interacts with your bottom line.

A Worked Example, Step by Step

Say you bought 100 shares of a stock at $50 each, paying no commission because your broker offers free trades. Your total buy cost is $5,000. Six months later the stock trades at $75, and you sell all 100 shares, again with no commission. Your total sell proceeds are $7,500. Subtract the cost from the proceeds and your net profit is $2,500, for a return of exactly 50%. That's the easy case, and it's the default scenario preloaded into the calculator above so you can see the mechanics before plugging in your own numbers.

Now change one variable: your broker charges a flat $10 fee to open the position and another $10 to close it. Your total buy cost becomes $5,010 and your total sell proceeds drop to $7,490. Net profit falls to $2,480 and your return dips slightly to 49.5%. Not a dramatic difference at this position size, but notice what happens if you'd only bought 10 shares instead of 100 β€” the same $20 in combined fees would have taken a $250 gross profit down to $230, cutting nearly 8% off your return instead of half a percent. That's the exact relationship the calculator is designed to expose: fees matter in absolute dollars, but their damage to your percentage return depends heavily on how large your position is.

Want more tools like this?

Arb Digital builds fast, high-converting websites and free calculators for businesses that want to earn trust before the sales pitch. Explore the rest of our toolkit below.

Try the Stock Average Calculator All Free Tools

Common Mistakes to Avoid

  • Forgetting fees entirely. Even a small commission can turn a marginal trade into a losing one once you account for both sides.
  • Confusing price return with dollar return. A 50% price gain on 5 shares is a tiny dollar amount compared to the same gain on 500 shares.
  • Ignoring taxes. This calculator shows pre-tax profit; your actual take-home depends on your holding period and tax bracket.
  • Not tracking partial sells. If you sold shares in batches at different prices, calculate each batch separately, then add the results together.
  • Using average market price instead of your actual fill price. Slippage between your order and the executed price can change your real numbers slightly.

Related Free Tools From Arb Digital

If you're evaluating a single trade, you may also want to check your average cost basis across multiple buys, work out your total return including dividends, find your break-even share price, or estimate your annualized return if you held the position for several years. You can also browse our full free online tools hub for more calculators covering investing, business, and everyday finance.

Frequently Asked Questions

Does this calculator account for taxes?

No. It calculates your pre-tax net profit after commissions. Your actual after-tax profit depends on your holding period and personal tax situation β€” short-term and long-term capital gains are taxed differently in the US.

What if I bought shares in multiple batches at different prices?

Run this calculator once per batch using each batch's actual buy price and shares, then add the net profit figures together. Or use our stock average calculator first to find your blended cost basis.

Why does my broker's app show a different number?

Broker apps sometimes include unrealized gains, dividends, or use a different cost-basis method (like FIFO vs. average cost) than a simple buy-to-sell calculation. This tool isolates just the trade math you entered.

Should I include dividends in this calculation?

This tool covers price-based trade profit only. If you received dividends while holding the stock, use our stock return calculator to see your total return including dividend income.

What's the difference between profit per share and total profit?

Profit per share is your net profit divided by the number of shares β€” useful for comparing trades of different sizes. Total profit is the full dollar amount across your whole position.

Can I use this for options or crypto trades?

The underlying math (buy cost vs. sell proceeds minus fees) works the same way, but options contracts typically represent 100 shares each and crypto often has network fees this tool doesn't separately model β€” treat the results as an approximation for those asset types.

This tool provides general estimates for educational purposes only and is not financial, tax, legal, or medical advice. Figures are illustrative; consult a licensed professional for decisions.

Advertisement

πŸ‘‹ Hey! Want to grow your business? Ask me anything β€” a free marketing proposal is on the table!