JJippyVest

Plan an investment before you make it. Invest in a Jippy!

Stock profit guide

How to calculate stock profit and loss.

Stock profit is more than the change in a share price. To get a useful estimate, include the number of shares, your purchase cost, trading commissions, and any dividends you choose to model.

Updated October 2026 · Educational information only

A stock position gains value when the price you could sell at is higher than your purchase price. It loses value when it is lower. That simple idea becomes more useful when you separate the inputs instead of relying on a single headline number.

The basic stock profit formula

For a simplified position with no commissions or dividends, the calculation is:

(Future share price − Purchase price) × Number of shares

For example, if you buy 10 shares at $50 and later use a future price of $65, the share-price gain is ($65 − $50) × 10 = $150. This is a hypothetical illustration, not a prediction of what a stock will do.

When you start with a dollar amount instead of an exact share count, estimated shares are the dollar amount divided by the purchase price. Some brokers support fractional shares; others do not, so an actual order can differ from a calculator estimate.

Worked example: 10 shares with commissions

Suppose you buy 10 shares at $50 each. You pay a $2 buy commission. Later, you model selling those shares at $65 with a $2 sell commission.

Share cost10 × $50 = $500
Cost basis$500 + $2 = $502
Gross proceeds10 × $65 = $650
Net sale proceeds$650 − $2 = $648
After-fee profit$648 − $502 = $146

In this example, the modeled return is $146 ÷ $502, or about 29.1%. The cost basis is $502 rather than $500 because the buy commission is part of the modeled cost. The sell commission reduces proceeds.

Where costs and dividends fit in

Fees can make a meaningful difference, especially on smaller positions. A buy commission raises the cost basis. A sell commission reduces proceeds. Real transactions can also involve bid-ask spreads, regulatory charges, currency conversion, margin interest, or broker-specific fees that a simple illustration might not include.

Dividends are separate from a share-price gain or loss. In the JippyVest Stock Profit Calculator, an annual dividend per share and holding period can be used to estimate dividends for an illustration. Actual dividends are never guaranteed, may change, and can have different eligibility and tax treatment.

A note on taxes

The optional tax estimate on the calculator is deliberately limited. It uses the rate you enter on a positive after-fee stock gain and does not determine your tax liability. It does not account for your full tax situation, dividend taxation, offsets, filing status, state rules, or changing tax law.

How to think about break-even price

A break-even sell price is the future price at which the modeled sale proceeds cover the share cost and the commissions you entered. In the worked example, the calculation is:

($500 share cost + $2 buy commission + $2 sell commission) ÷ 10 shares = $50.40

That is a planning reference, not a target price or recommendation. Real-world execution, fees, taxes, and spreads can make the result different.

Important limitations before using any result

  • A future stock price is an assumption, not a forecast.
  • Market quotes can be delayed, cached, unavailable, or different from a price at which you could trade.
  • Stock splits, dividends, taxes, and corporate actions can affect real-world returns and cost basis.
  • A calculator cannot account for every personal financial, tax, legal, or investment consideration.

Use a calculator to understand the math, then verify important information independently before making a decision.

Try it with your numbers

Build a hypothetical stock scenario.

Enter a purchase price, amount or share count, commissions, and a future price to see the components of a result side by side.

Open the Stock Profit Calculator