Trading & Investing
Cost and proceeds (Stock Profit)
The two sides of the trade before fees.
Last updated
The Formula
Cost = Shares x Buy; Proceeds = Shares x Sell
The two sides of the trade before fees.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| n | Shares | count | Number of shares traded. |
| B | Buy price | currency | Price paid per share. |
| S | Sell price | currency | Price received per share. |
What Each Symbol Means
ncount
Shares
Number of shares traded.
Bcurrency
Buy price
Price paid per share.
Scurrency
Sell price
Price received per share.
See It Worked With Real Numbers
A formula on its own does not tell you which number goes where. The how to calculate stock profit page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.
Where This Formula Appears
This equation is the working core of How To Calculate Stock Profit, filed under Finance. Every number the guide produces comes from substituting into this one line.
Common Questions
What is the formula for Cost and proceeds (Stock Profit)?
The formula for Cost and proceeds (Stock Profit) is Cost = Shares x Buy; Proceeds = Shares x Sell. The two sides of the trade before fees.
What units should I use with Cost and proceeds (Stock Profit)?
Substitute n as a plain count, B in money (any currency, as long as every money input uses the same one), S in money (any currency, as long as every money input uses the same one). Convert every input to those units before you start, because the equation only returns the right answer when the units on both sides agree.
What is a common mistake when using Cost and proceeds (Stock Profit)?
Ignoring the commission. A ten dollar round trip on a five hundred dollar position is two percent. Leaving it out turns a losing trade into an apparent gain.