Free stock profit calculator. Enter buy price, sell price, shares and commission to get net profit, ROI, gross profit and total fees for long or short trades.
A stock profit calculator is a simple tool that shows how much money a share trade truly made or lost after costs, not just the sticker gap between your buy price and sell price. The calculator above takes five inputs (Buy Price, Sell Price, Shares, Direction, and Commission per side) and returns your Net Profit, Gross Profit, Total Commission, Return on Investment (ROI, meaning your gain shown as a percent of the money you put in), and a plain Outcome label. US stock and ETF traders use it three ways: to sanity-check a plan before entering, to confirm the real result after exiting, and to log honest numbers in a trading journal. It does not predict the market and it cannot promise a profit, because any trade can lose money and prices can move against you fast.
A stock profit calculator answers one direct question: if I buy this many shares at this price and sell them at that price, what do I actually walk away with? The word actually matters. A screen might show that AAPL rose from 180 to 195 while you held it, a 15 dollar move. But the money in your pocket depends on how many shares you owned, whether you were long or short, and what costs came out along the way. The calculator strips away the guesswork and gives you a single net dollar figure plus a percent return. It works for individual stocks like AAPL and for exchange traded funds (ETFs, baskets of stocks that trade like a single share) such as SPY, the fund that tracks the S&P 500 index.
This tool covers cash equity trades, meaning plain shares bought or sold. It is not built for the leverage math of futures contracts such as ES (the E-mini S&P 500), NQ (the E-mini Nasdaq 100), or CL (crude oil), where one contract controls a large dollar value and a small point move produces an outsized gain or loss. For shares, the relationship is straightforward and linear, which is exactly why a clean calculator is so useful for building discipline.
Each field on the calculator above maps to a real part of your trade. Understanding what each one does keeps your numbers honest and stops small errors from hiding a losing habit.
The math is intentionally simple, which makes it easy to trust. Gross Profit for a long trade is (Sell Price minus Buy Price) times Shares. For a short trade the sign flips, because you profit when the price drops, so Gross Profit is (Sell Price minus Buy Price) times Shares as well, but here the Sell Price is your higher entry and the Buy Price is your lower exit. Total Commission is Commission per side times 2. Net Profit is Gross Profit minus Total Commission. ROI is Net Profit divided by (Buy Price times Shares) for a long trade, then multiplied by 100 to read as a percent.
Two hidden costs never show up as a line item but still shrink your result. The first is the bid ask spread, the small gap between the highest price a buyer will pay (the bid) and the lowest price a seller will accept (the ask). You usually buy at the ask and sell at the bid, so a 0.03 dollar spread on 200 shares quietly costs 6 dollars every round trip even at a zero commission broker. The second, for short sellers only, is the borrow fee, an ongoing charge for borrowing the shares you sold short. Hard to borrow stocks can cost a lot per day, and that fee is subtracted from your net whether the trade wins or loses.
When you go long, the most you can lose is the money you put in, because a share cannot fall below zero. When you go short, there is no ceiling on how high a price can climb, so the loss is theoretically unlimited. A stock that doubles on you turns a 100 share short into a loss larger than your original sale proceeds, plus you keep paying borrow fees the whole time. Treat short positions with strict stops and small size.
You buy 50 shares of SPY at 560.00 dollars and sell at 580.00 dollars. Direction is long and your broker charges 0 dollars per side. Gross Profit is (580 minus 560) times 50, which is 1,000 dollars. Total Commission is 0 dollars, so Net Profit is also 1,000 dollars. Your cost basis is 560 times 50, which is 28,000 dollars, so ROI is 1,000 divided by 28,000, about 3.57 percent. Here gross and net are equal because there were no explicit fees, though the bid ask spread still nibbled a few dollars on the way in and out.
You buy 200 shares of a stock at 50.00 dollars and sell at 53.00 dollars. Direction is long and your broker charges a flat 5 dollars per side. Gross Profit is (53 minus 50) times 200, which is 600 dollars. Total Commission is 5 times 2, which is 10 dollars, so Net Profit is 590 dollars. Cost basis is 50 times 200, or 10,000 dollars. Net ROI is 590 divided by 10,000, or 5.90 percent, while the gross ROI would have looked like 6.00 percent. The 10 dollars of commission shaved a tenth of a percent off your return, and on a thinner move that drag can be the difference between a winner and a loss.
You short 100 shares of a stock at 200.00 dollars, expecting a decline, and later cover (buy back) at 185.00 dollars. Direction is short, commission is 1 dollar per side, and the borrow fee over your holding period totals 15 dollars. Gross Profit is (200 minus 185) times 100, which is 1,500 dollars. Total Commission is 2 dollars, and subtracting the 15 dollar borrow fee gives a Net Profit of 1,483 dollars. Now picture the opposite: the stock rallies to 260 instead. Your loss would be (260 minus 200) times 100, or 6,000 dollars, plus fees, and it could keep growing if you did not cover. That asymmetry is the whole reason short trades demand tight discipline.
| Direction | Buy Price | Sell Price | Shares | Comm/side | Gross Profit | Net Profit | ROI |
|---|---|---|---|---|---|---|---|
| Long | 560.00 | 580.00 | 50 | 0.00 | 1,000.00 | 1,000.00 | 3.57% |
| Long | 50.00 | 53.00 | 200 | 5.00 | 600.00 | 590.00 | 5.90% |
| Long | 180.00 | 195.00 | 100 | 1.00 | 1,500.00 | 1,498.00 | 8.32% |
| Short | 200.00 | 185.00 | 100 | 1.00 | 1,500.00 | 1,483.00* | 7.42% |
| Long | 48.50 | 46.00 | 300 | 0.00 | -750.00 | -750.00 | -5.15% |
| Short | 95.00 | 110.00 | 100 | 1.00 | -1,500.00 | -1,502.00 | -15.81% |
The most frequent error is confusing gross with net. A trader sees a 600 dollar gross move and mentally banks 600 dollars, then forgets the commissions, spread, and any borrow fee that already trimmed it. Over hundreds of trades those small gaps compound into a real difference between imagined and actual performance. A second mistake is only counting commission once instead of on both sides, which understates costs by half. A third is ignoring ROI and judging trades purely by dollar size, which rewards oversized positions that took on far more risk. A fourth, specific to shorts, is treating the loss as capped the way a long loss is capped; it is not, because the price can keep rising. Finally, some traders log only their winners, which turns the journal into a highlight reel rather than an honest record you can learn from.
A calculator is only as valuable as the habit around it. The discipline-first idea is simple: record every trade at its true net result, then review the pattern instead of the single outcome. When you log Net Profit and ROI rather than a rough gross guess, your equity curve reflects reality, your average win and average loss are trustworthy, and your win rate is not inflated by ignored costs. Over time this honest record shows whether your edge is real or whether fees and spread are eating it. It also removes emotion from the review: the numbers are what they are, win or lose, and there is nothing to advise you to do beyond keep sizing sensibly and keep recording. This tool gives you the number. Your journal gives you the story behind it.
Run your next trade through the calculator above, then write the net result and ROI straight into your journal on OneTradeJournal. One honest entry at a time is how a scattered set of trades becomes a clear, reviewable record you can actually learn from, in the wins and especially in the losses.
Free forex profit calculator. Enter entry, exit, direction and lot size to get profit or loss in your account currency and in pips, for standard and JPY pairs.
Track IPO timeline from bid dates to listing. Calculate allotment date, refund date, and expected listing date for upcoming IPOs.
Calculate probability of profit for options strategies. Estimate win rates for Nifty and Bank Nifty options using delta-based probabilities.
Free trading expectancy calculator. Enter win rate and risk-reward to see expected profit per trade and edge per ₹100 risked. Test your system instantly.
Calculate absolute returns on your investments. Simple point-to-point return calculation for stocks, mutual funds, and trading positions in India.
Track and analyze trading emotions. Identify patterns between emotional state and trading performance. Improve trading psychology.
The trading journal built for Indian F&O traders. Track your trades, spot patterns, build discipline.
Yearly ₹2,499 · No broker credentials
Net profit and ROI for a stock trade after commissions.