Manual ROI Calculator

Enter your buy price, sell price, initial investment, and optional fees. See ROI %, profit or loss, break-even sell price, and shares purchased — for stocks, crypto, forex, or any asset. Results update instantly.

Runs in your browser. No sign-up. No data sent to any server.

How to use this ROI calculator

Enter your initial investment (e.g. $10,000), buy price per share or unit, and sell price. Optionally add trading fees to see net profit and ROI after costs. The tool shows ROI percentage, profit or loss in dollars, shares (or units) purchased, final value, and the break-even sell price needed to cover your cost and fees.

ROI
Profit (after fees)

Instant estimate

Shares purchased
Final value
Break-even sell price

Estimates only. Fees/taxes vary.

What is ROI (return on investment)?

ROI is the percentage gain or loss on the money you put into an investment. You invest a sum, buy at one price, and sell at another. The difference between what you get back and what you put in is your profit or loss. ROI expresses that as a percentage of your initial investment. This manual ROI calculator works for stocks, crypto, forex, indexes, or any asset — you enter the numbers; no historical data is required.

Example: Invest $10,000, end with $12,000. Profit = $2,000. ROI = ($2,000 ÷ $10,000) × 100 = 20%. A negative ROI means a loss (e.g. end with $8,000 → −20% ROI).

How the ROI calculation works

  • Shares = initial investment ÷ buy price
  • Final value = shares × sell price
  • Profit (before fees) = final value − initial investment
  • Profit (after fees) = profit − trading fees
  • ROI % = (profit ÷ initial investment) × 100

This assumes a single purchase at one price and one sale. It does not account for multiple buys, dividends, or taxes.

Worked example

$5,000 at $50/share → 100 shares. Sell at $75 → final value $7,500. Profit before fees $2,500. With $20 total fees, profit after fees $2,480. ROI = ($2,480 ÷ $5,000) × 100 = 49.60%.

Fees, slippage and limitations

Trading fees reduce net profit; enter your best estimate in the optional field. Slippage means you might not get the exact price you expect when you buy or sell — the calculator uses the prices you enter. Taxes and dividends are not included. This tool is for education and planning only. Not investment advice. Past performance does not guarantee future results.

Frequently asked questions

What is ROI in investing?
ROI (return on investment) is the percentage gain or loss on the money you put in. It is calculated as (profit ÷ initial investment) × 100. A positive ROI means you made money; a negative ROI means you lost money relative to what you invested.
How do I calculate profit and ROI?
Shares (or units) = initial investment ÷ buy price. Final value = shares × sell price. Profit = final value − initial investment − fees. ROI % = (profit ÷ initial investment) × 100. This calculator does all of that when you enter your numbers.
Can I use this for crypto or forex?
Yes. Enter your initial investment and buy/sell prices in the same currency (e.g. USD). For forex, use the rate or notional value per unit. The formula is the same for stocks, crypto, forex, or any single buy/sell position.
Does the calculator include trading fees?
Yes. You can enter an optional trading fees amount in dollars. The calculator subtracts fees from your profit, so the profit and ROI shown are after fees. Leave fees at 0 if you want to see gross returns.
Why might my actual return differ?
Real returns can differ due to slippage (getting a different price than expected), additional fees, taxes on gains, dividends not included here, and rounding. Use the tool for planning and estimates, not as a guarantee.
Is this for one trade or multiple purchases?
It works for any single buy-and-sell scenario. You enter one initial investment, one buy price, and one sell price. For multiple purchases over time (e.g. dollar-cost averaging), run separate calculations or use our DCA calculator when it launches.
Is this ROI calculator free?
Yes. No sign-up required. It runs in your browser and no data is sent to our servers. Use it as often as you like for stocks, crypto, forex, or any asset.