Stock Profit & Loss Calculator

Determine the outcome of your stock trade with this easy-to-use calculator. Enter your trade details, including any commission fees, to see your net profit or loss and the total return on your investment (ROI).

Trade Summary

Total Cost (incl. commission) $0.00
Total Proceeds (after commission) $0.00
Net Profit / Loss $0.00
Return on Investment (ROI) 0.00%

How Our Stock Profit Calculator Works

This stock profit and ROI (Return on Investment) calculator helps you quickly determine your net profit, loss, and overall return when buying and selling stocks. By entering the number of shares, your purchase (buy) price, your selling price, and any broker commissions or trading fees, the calculator provides an instant breakdown of your results. This is an essential tool for investors who want to plan their trades more effectively, compare potential investments, and understand the true profitability of a stock transaction.

The calculation process is simple and transparent, based on four main formulas:


Total Cost = (Number of Shares × Buy Price) + Buy Commission
Total Proceeds = (Number of Shares × Sell Price) - Sell Commission
Net Profit/Loss = Total Proceeds - Total Cost
ROI (%) = (Net Profit/Loss ÷ Total Cost) × 100
    

Total Cost represents the total amount you invested in the trade, including any fees paid when purchasing the stock. Total Proceeds is the amount you received after selling your shares, minus any selling commissions. Net Profit/Loss shows your actual gain or loss after accounting for all costs and proceeds. Finally, ROI expresses your profit or loss as a percentage of your initial investment, helping you compare the performance of different trades.

Frequently Asked Questions About the Stock Profit Calculator

Does this calculator include taxes?

No, this calculator does not factor in capital gains taxes, which can reduce your final profit. Tax obligations depend on several factors, such as your country of residence, income level, and the holding period of your investment (short-term vs. long-term capital gains). For accurate tax calculations, please consult a certified tax professional or financial advisor.

What if I purchased shares at different prices (cost averaging)?

This calculator is designed for single purchase and sale transactions. If you bought shares at multiple price points, you should first calculate your average purchase price per share (also known as your adjusted cost basis) before entering it in the "Purchase Price" field. To calculate your average price, sum the total cost of all purchases (including commissions) and divide it by the total number of shares purchased.

Can I use this calculator for other investments?

While this tool is primarily designed for stock trading, you can also use it for ETFs, mutual funds, and other securities as long as you have the required details—purchase price, selling price, number of units, and transaction fees.