Stock Profit Calculator
Find your profit on a stock trade.
Result
How it is calculated
Profit is the price gain per share times the number of shares: profit = (sell − buy) × shares. The percentage return compares the gain with what you paid per share: return % = (sell − buy) / buy × 100. Prices are per share in one currency (shown in dollars), and shares is the count you hold. The buy price must be above zero and shares cannot be negative; a sell price below the buy price gives a negative profit and return. Brokerage commissions, taxes, dividends and currency changes are not included, so the figure is the gross price result only.
Worked example
Bought at 42.50, sold at 51.20, 100 shares. Gain per share = 51.20 − 42.50 = 8.70. Profit = 8.70 × 100 = $870.00. Return = 8.70 / 42.50 × 100 = 20.47%. The cost of the position was 4,250, so the 870 gain is about a fifth of it.
Common mistakes
- Ignoring commissions and taxes, so the real take-home result is lower than shown.
- Dividing the gain by the sell price instead of the buy price when working out the return.
- Entering the total position value instead of the price per share.
- Forgetting that a loss is the same formula; selling below the buy price gives a negative number, not a separate calculation.
Sources
- Holding Period Return — Corporate Finance Institute
About this calculator
This calculator finds your profit and percentage return on a stock trade from the buy price, sell price, and number of shares — profit = (sell price − buy price) × shares, as a gross result: brokerage commissions, taxes and dividends are not included.
Retail investors use it to check a trade's gross price return before deciding whether to sell (subtract commissions and taxes yourself), and it's also useful for quickly comparing two potential trades' payoff side by side without opening a full brokerage statement.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
The result is a gross price move, so build your costs in by adjusting the prices rather than the answer. Add the buy commission divided by the number of shares to the buy price, and subtract the sell commission divided by shares from the sell price: with 100 shares and a 10 fee each way, that is 0.10 on each side. Tax rules depend on your country and are not covered. How does your broker charge, a flat fee or a percentage?