Stock Calculator

Created by Bogna Szyk
Reviewed by Małgorzata Koperska, MD and Jack Bowater
Based on research by
Brigham, E.F.; Ehrhardt, M.C. Financial Management: Theory and Practice (2016)
Last updated: Mar 14, 2022

Whether you're a professional trader or a total newbie in the stock market, this stock calculator will surely come in handy. Basing on the purchase stock price and selling price, it determines the stock return - or, in plain terms, how much money you will earn on your transactions. This stock profit calculator will also provide you with two important parameters: the return on investment (ROI) and the break-even price.

If you're interested in stock investment and trading, make sure to check out the earnings per share calculator, too!

What are stocks?

By definition, stocks are certificates that entitle you to partial ownership of a given company. For example, if a company issues 100 shares of stock outstanding and you buy five shares, you would be entitled to 5% of the company's assets and earnings.

Unlike bonds, stocks make you an "owner" of the company. In the event of bankruptcy, stocks rank below bonds (and other debt instruments), making them a riskier financial instrument than bonds, reflected by a higher rate of return.

There are two main types of stocks: common stock, which give you a right to vote at shareholders' meetings, and preferred stock, which typically has no voting rights.

Common stocks are riskier financial instruments than preferred stocks (failing to provide preferred dividend pay-outs blocks payment of common dividends), so the former typically yield higher returns than the latter.

How is the stock price determined?

When a company enters the market, it undergoes valuation during an initial public offering (IPO). After this event, the total value of the company is determined. Dividing this total value by the number of issued stocks gives you a price of a single share.

Once the company is out on the stock market, though, the stock prices fluctuate according to the principles of supply and demand. For example, if the demand skyrockets, the prices will probably increase drastically, too!

How to calculate the stock profit?

The main idea behind this stock return calculator is that you buy stocks when they are cheap, and sell them once their value increases. The profit is the difference between the expenses and revenue. You can calculate it according to the following formula:

Profit = [(SP * No) - SC] - [(BP * No) + BC]


  • SP stands for selling stock price,
  • No is the number of stocks you trade,
  • SC is the selling commission that you have to pay,
  • BP is the buying stock price, and
  • BC is the buying commission.

This stock investment calculator accepts commissions expressed both as fixed monetary values and as a percentage of the price. Once you type in one of these two values, the other one will be calculated automatically.

Is stock investment a good idea?

Now that you know your stock profit, you already have an idea of how much sense it makes to invest in stocks. However, there are some indicators that you can calculate to check the profitability of such an investment.

One of these indicators is ROI - return on investment. It tells you what percentage of the initial investment will return to you in the form of profit. You can calculate it with the formula below:

ROI = Profit / [(BP * No) + BC]

ROI is expressed as a percentage. For example, an ROI of 100% means that if you spend a certain sum on stocks, your revenue will be two times higher than that sum.

When should I sell my stocks?

Last but not least, this stock price calculator gives you a clear indication of when you should refrain from selling your stocks. If the price is lower than the break-even price, every selling transaction will only bring you losses. That's why it's essential to sell your stocks only if the price exceeds this value.

To calculate the break even price, use the equation below:

Break even =[(BP * No) + BC] / [No * (1 - SC%)]

where SC% is the selling commission expressed as a percentage of the selling price.

We also recommend checking our systematic investment plan calculator to explore other investment opportunities.

Finally, you can increase your odds of making gains from the stock market if you check the price trend. One way to do it is bycalculating the moving average of the price. Normally if the price is above its moving average, it is very likely to continue that trend and produce positive returns.


How much is a good stock return?

The market has returned approximately 10% per year over the last 25 years. Investors consider any annual stock profit above this value to be a good stock return. Besides, some stocks can return a hundred times your initial investment, such as Amazon, Apple, and Nvidia. A single investment in such a company may mean you surpass the market average, ending with significant stock returns.

When to sell stocks/investments?

You should consider when selling your stock:

  • When the business's financial strength is diminished;
  • When the primary assumption for the company to grow (investing thesis) is no longer valid; and
  • When the company faces accounting scandals.

What are stonks?

Stonk is an intentional misspelling of stocks. It is a slang that tries to make fun of speculative stocks or cryptocurrencies that do not have any fundamental value but still return 100% ,200%, 300%, or even more. The intention is to show how ridiculous stock market pricing can be in the short term.

How do I buy stocks?

  1. Open an investing account in a registered broker.
  2. Put money into your investment account. Depending on your broker, you will have to transfer money or link your bank account.
  3. Choose the company in which you want to invest. Google its name plus the words: ''ticker symbol''. Record the ticker.
  4. Ask your broker to help you buy the company's stocks that have the ticker symbol obtained in the last step.
  5. Enjoy the profits.
Bogna Szyk
Number of shares
Purchase of shares
Buying price
Buying commission
Buying commission
Net buying price
Selling shares
Selling price
Selling commission
Selling commission
Net selling price
Stock profit
Return on investment (ROI)
Break-even selling price
Check out 148 similar investment calculators 📈
401kAfter-tax cost of debtAltman Z-Score… 145 more
People also viewed…

Bond price

This bond price calculator will help you to calculate the price of bonds issued by governments or corporations.

Economic profit

Use the economic profit calculator to quickly assess economic profit using the total revenue as well as explicit and implicit costs.

Plant spacing

Planning out your garden? Try the plant spacing calculator.

Secretary problem (Valentine's day)

Use the dating theory calculator to enhance your chances of picking the best lifetime partner.
Omni Calculator
Copyright by Omni Calculator sp. z o.o.
Privacy policy & cookies
main background