This cost per share calculator adds commissions and fees to your purchase price to give the true cost of each share, then finds the price you must sell at to break even. Buying 120 shares at $48.50 with $6.90 in fees costs $5,826.90 in total, or $48.5575 per share. With another $6.90 to sell, the break-even price is $48.615 per share.
Your cost per share including fees and commissions, and the price needed to break even.
How to Use the Cost Per Share Calculator
- Cost per share mode: enter the shares bought, the price per share and the total commission and fees. You get cost per share and total invested.
- Break-even mode: enter the shares, the price, the fees on the buy and the fees you expect on the sale. You get the sale price per share that leaves you with no gain or loss.
Enter fees as one total in dollars for the whole order, not per share. Fractional share counts work too.
Cost Per Share Formula
Cost per share = (shares × price + fees) ÷ shares
Break-even price = (shares × price + buy fees + sell fees) ÷ shares
For the defaults: 120 × $48.50 = $5,820, plus $6.90 in fees is $5,826.90. Divided by 120 shares, that is $48.5575 per share. Adding $6.90 of sale fees gives $5,833.80 ÷ 120 = $48.615.
What Cost Per Share Includes
For US tax purposes, the IRS says the basis of stocks or bonds you buy is generally the purchase price plus costs such as commissions and recording or transfer fees. That makes cost per share including fees the figure you compare a sale against. It is also the honest measure of what each share cost you.
It does not include the bid and ask spread, currency conversion charges or account fees that are not tied to the trade. If your broker charges no commission, the cost per share equals the price you paid.
Why Fees Matter More on Small Orders
A fixed fee is spread across every share in the order, so small orders feel it most:
| Shares bought at $48.50 | Total with $6.90 fees | Cost per share | Fees as % of price |
|---|---|---|---|
| 5 | $249.40 | $49.8800 | 2.845% |
| 10 | $491.90 | $49.1900 | 1.423% |
| 50 | $2,431.90 | $48.6380 | 0.285% |
| 120 | $5,826.90 | $48.5575 | 0.119% |
| 500 | $24,256.90 | $48.5138 | 0.028% |
| 1,000 | $48,506.90 | $48.5069 | 0.014% |
On 5 shares, a $6.90 fee adds 2.85% to the price, so the stock has to rise that much before you break even. On 1,000 shares, the same fee adds less than 0.015%. If you pay a flat commission, fewer and larger orders keep your cost per share closer to the market price.
Break-Even Sale Price
Selling usually costs a fee too, so the break-even price includes both sides of the trade:
| Sale fees | Break-even price | Above purchase price by |
|---|---|---|
| $0.00 | $48.5575 | $0.0575 |
| $4.95 | $48.5987 | $0.0987 |
| $6.90 | $48.6150 | $0.1150 |
| $20.00 | $48.7242 | $0.2242 |
With $6.90 to buy and $6.90 to sell, the stock must reach $48.615, which is 11.5 cents above the purchase price. The break-even figure is before tax, which only applies to the gain above it.
Average Cost Per Share Across Several Purchases
When you buy the same stock more than once, add up every lot’s cost, including fees, and divide by the total shares:
| Lot | Shares | Price | Fees | Lot cost |
|---|---|---|---|---|
| Purchase 1 | 50 | $40.00 | $4.95 | $2,004.95 |
| Purchase 2 | 30 | $46.00 | $4.95 | $1,384.95 |
| Purchase 3 | 40 | $52.00 | $4.95 | $2,084.95 |
| Total | 120 | $5,474.85 |
The average cost per share is $5,474.85 ÷ 120 = $45.6238. Run the cost per share calculator once per lot if you want each lot’s own figure, since tax rules may let you identify the specific shares you sell.
Stock Splits and Reinvested Dividends
A split changes the share count but not your total cost. Divide the total basis by the new number of shares: after a 2-for-1 split, 120 shares at $48.5575 become 240 shares at about $24.2788. Reinvested dividends buy new shares, so they add to both your total cost and your share count.
Common Mistakes
- Entering a per-share fee in the fees box, which expects the total for the order.
- Forgetting sale fees when setting a break-even target.
- Mixing lots of different prices without adding their full costs.
- Using the cost per share figure as an after-tax result.
After the Purchase
If the price falls below your cost per share, the recovery percentage calculator shows the gain needed to get back to even. For your overall result, the stock return calculator measures the return on the position, and the position size calculator sizes a new trade to a chosen risk.
Limits
The cost per share calculator handles one purchase at a time with fees entered as a total. It does not track lots, wash sales, currency or taxes, and your broker’s cost basis records are the ones that count for tax reporting. This is general information, not financial or tax advice.
Frequently Asked Questions
How do I calculate cost per share?
Multiply shares by price, add the commission and fees, and divide by the number of shares. For 120 shares at $48.50 with $6.90 in fees: $5,826.90 ÷ 120 = $48.5575.
Do commissions count in my cost basis?
Yes. The IRS says the basis of stock is generally the purchase price plus costs of purchase such as commissions and recording or transfer fees.
What is the break-even price per share?
The sale price that covers what you paid, the purchase fees and the sale fees. For the default order it is $48.615.
How do I find the average cost per share for several buys?
Add the full cost of every purchase, including fees, and divide by the total number of shares.
Why is my cost per share higher than the price I paid?
Because fees are added to the purchase. A fixed fee raises the cost per share most on small orders.
What happens to cost per share after a stock split?
Your total cost stays the same, so divide it by the new number of shares. A 2-for-1 split halves the cost per share.
