$5,000.00
$7,500.00
$2,500.00
50
%
14.47
%
$2,125.00
$25.00
$5,000.00
$7,500.00
$2,500.00
50
%
14.47
%
$2,125.00
$25.00
The Stock Calculator helps investors quickly calculate the profit or loss on a stock position by comparing the purchase cost basis to the current market value. Whether you are evaluating a potential trade, reviewing your portfolio performance, or calculating realized gains for tax purposes, this tool provides instant, accurate results.
Stock investing is one of the primary wealth-building methods available to individual investors. Over the past century, the U.S. stock market has returned approximately 10% annually on average, outpacing inflation, bonds, and most other asset classes. However, individual stock returns vary enormously, and understanding your actual position performance is crucial for informed decision-making.
This calculator accounts for the complete transaction cost picture, including buy and sell commissions. While many brokerages now offer commission-free trading, some transactions still incur fees, especially for international stocks, options exercises, or large block trades. Including commissions in your calculation gives you the true net return on your investment.
The calculator computes four key metrics: total cost basis (what you paid including commissions), current value (what your shares are worth now minus sell commissions), profit/loss in dollar terms, and return percentage. These metrics are essential for portfolio management, tax planning (distinguishing short-term from long-term capital gains), and performance evaluation against benchmarks.
For accurate results, use the actual purchase price (not the current price) and include all associated costs. If you purchased shares at different times and prices, consider using the Stock Average Calculator for a more comprehensive analysis of your position.
The formulas are: Total Cost = Shares × Buy Price + Buy Commission. Current Value = Shares × Current Price - Sell Commission. Profit/Loss = Current Value - Total Cost. Return % = (Profit/Loss / Total Cost) × 100.
A positive profit/loss indicates a gain; negative indicates a loss. Compare your return percentage against the S&P 500 return over the same period to evaluate whether your stock pick outperformed the market. For tax purposes, gains held over 1 year qualify for lower long-term capital gains tax rates in the US.
Inputs
Results
100 shares bought at $50, now at $75
Inputs
Results
500 shares with $9.95 commissions each way
Stock profit = (Current Price × Shares - Sell Commission) - (Buy Price × Shares + Buy Commission). This gives your net dollar profit or loss on the position.
Cost basis is the total amount you paid for an investment, including the purchase price and any commissions or fees. It is used to calculate capital gains or losses for tax purposes.
Yes, in most countries. In the US, short-term capital gains (held less than 1 year) are taxed as ordinary income. Long-term gains (held over 1 year) receive preferential tax rates of 0%, 15%, or 20% depending on income.
The S&P 500 averages about 10% annually. Returns above this benchmark are considered good. However, higher returns often come with higher risk. Evaluate returns relative to the risk taken.
This calculator measures price return only. For total return, add all dividends received to your current value before calculating. Total return is a more accurate measure of investment performance.
Use the Stock Average Calculator to find your average cost per share across multiple purchases. This gives a weighted average cost basis for the entire position.
Commissions reduce your effective return. On small positions, commissions can significantly impact performance. For example, $10 commission on a $100 trade is a 10% cost, but on a $10,000 trade it is only 0.1%.
Unrealized gains are paper profits on positions you still hold. Realized gains occur when you sell. Only realized gains are taxable. This calculator shows unrealized gains/losses unless you have actually sold.
After a stock split, your number of shares increases and the price per share decreases proportionally. Your total value remains the same. Adjust your buy price and share count accordingly.
A stop-loss is an automatic sell order triggered when a stock drops to a specified price, limiting your potential loss. While not part of this calculation, stop-losses are an important risk management tool.
Roboculator Team
The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.
How helpful was this calculator?
Be the first to rate!
Investment Calculator
Investment & Retirement Calculators
Compound Interest Calculator
Investment & Retirement Calculators
Simple Interest Calculator
Investment & Retirement Calculators
CAGR Calculator
Investment & Retirement Calculators
ROI Calculator
Investment & Retirement Calculators
Stock Average Calculator
Investment & Retirement Calculators