Share Average Calculator

Buying shares at different prices is routine – whether you’re building a position gradually or averaging down during a dip. But keeping track of your true cost per share manually quickly becomes messy. A share average calculator gives you the exact weighted average price in seconds, including any commissions.

Use the calculator to enter each transaction: number of shares, price per share, and optional commission.

Share Average Calculator

Enter each purchase transaction below. The calculator computes your weighted average price including commissions.

Disclaimer: This calculator is for informational purposes only and does not constitute financial advice. Always consult with a qualified financial advisor before making investment decisions.

What Is a Share Average Calculator?

A share average calculator (also called a stock average calculator or cost basis calculator) takes multiple buy orders for the same security and returns the average price you’ve actually paid per share. Instead of guessing or using a rough average of the prices alone, it weights each price by the number of shares bought in that transaction.

For example, if you buy 10 shares at $50 and later 20 shares at $40, your average is not simply ($50+$40)/2 = $45. The calculator correctly weighs the 20-share lot more heavily, giving an average cost of $43.33. This is your cost basis per share – the number you need to calculate profit or loss accurately.

How to Calculate the Average Share Price

The formula behind every share average calculator is straightforward:

Weighted average price = (Total cost of all purchases) ÷ (Total number of shares purchased)

If you track costs manually, follow these steps:

  1. For each purchase, multiply shares × price per share.
  2. Add any commission or fee paid on the trade to that cost.
  3. Sum the costs of all purchases to get the total invested.
  4. Sum all shares acquired.
  5. Divide total cost by total shares.

The calculator above does all that instantly, even when you have 10 or more separate lots. Just enter the shares, price, and commission for each transaction.

Why Averaging Down Matters

Averaging down is a common strategy: you buy more of a stock as its price declines, lowering your overall average cost. If the price recovers to just above your new average, you break even or profit sooner than if you’d held the original shares alone.

However, averaging down increases your exposure to the same stock. If the price keeps falling, your total loss grows in dollar terms. That’s why knowing your exact average price is critical – you need to set realistic exit targets and stop-loss levels based on real data, not approximations.

How the Calculator Handles Commissions and Fees

Brokerage fees eat into returns, and they must be part of your cost basis. The share average calculator includes a commission field per transaction. When you enter a commission, it adds that fee to the total cost of that purchase before computing the average.

For example, a $100 purchase with a $5 commission becomes a $105 investment. The average price per share will be slightly higher than if fees were ignored. This precision matters when you’re calculating capital gains for tax purposes or comparing strategies.

Example: Averaging Down With Multiple Purchases

Assume you buy shares of a company three times as the price falls:

PurchaseSharesPrice per shareCommissionTotal cost
150$100$5$5,005
230$90$5$2,705
320$80$5$1,605
Total100$9,315

Total cost = $9,315, total shares = 100. Average price per share = $93.15. If you simply averaged the three prices without weighting or commissions you’d get $90 – a $3.15 per share error that could mislead your sell decisions.

The share average calculator eliminates this guesswork. Enter the three rows, and it immediately displays the correct $93.15 figure.


This article is for informational purposes only and does not constitute financial advice.

Frequently Asked Questions

What is a share average calculator?
A share average calculator computes the weighted average purchase price of a stock bought at different prices and quantities. It determines your true cost basis per share for accurate tracking of gains and losses.
How does averaging down work?
Averaging down means buying more shares when the price falls, lowering the overall average cost per share. If the stock recovers, gains are amplified. If the price drops further, the losses on the larger position increase.
Does the calculator include brokerage commissions?
Yes, most calculators let you add a commission for each transaction. The total cost including fees is divided by total shares, giving a more accurate average price.
What is cost basis in share investing?
Cost basis is the total amount you invested in a security across all purchases, including fees. The share average calculator splits that total cost by the number of shares to give the average price per share.
Can I use the calculator for ETFs or crypto?
Absolutely. The share average calculator works for any asset purchased in multiple lots, including ETFs, mutual funds, or cryptocurrencies.
How do I calculate average share price manually?
Multiply each purchase’s shares by the price per share, add all transaction costs, sum the total cost and total shares, then divide total cost by total shares. The calculator automates this process.
  1. FIRE Calculator – Plan Your Early Retirement
  2. Post Office Monthly Income Scheme Calculator
  3. Lump Sum Calculator: Future Value of a Single Investment
  4. Return on Investment Formula Calculator
  5. Rental Yield Calculator | Property Investment Returns
  6. Investment Calculator: Project Your Future Wealth (2026)