Calculators.Life Calculator
Investing

Stock Market Average Calculator

Input Parameters

Scenarios
Number of shares purchased in the first transaction.
$
Price paid per share in the first purchase.
Number of shares purchased in the second transaction.
$
Price paid per share in the second purchase.

Computed Results

Average Price Per Share
$46.67
Total Shares150
Total Capital Invested$7,000.00
First Purchase Cost$5,000.00
Second Purchase Cost$2,000.00

The stock market average calculator helps you determine your average cost per share when you purchase the same stock at different prices. By entering the number of shares and the price paid for two separate transactions, you can quickly find your overall average price, total shares owned, and total capital invested.

Practical Use Cases

Investors often buy shares of the same company at different times and prices. This calculator is useful when you are adding to an existing position, whether you are buying more shares as the price drops (averaging down) or adding to a winning position as the price rises (averaging up). Knowing your average price per share is necessary for calculating your break-even point and tracking overall performance.

How to Use the Calculator

To calculate your average share price, follow these steps:

  1. Enter the First Purchase Shares (Units) and the First Purchase Price Per Share.
  2. Enter the Second Purchase Shares (Units) and the Second Purchase Price Per Share.
  3. Review the results, which will display your new Average Price Per Share, the Total Shares you own, and the Total Capital Invested. The visual chart breaks down the cost of each purchase.

Formula & Explanation

The calculator uses a weighted average formula to determine the average price per share. It calculates the total cost of all shares and divides it by the total number of shares.

Average Price = ( (Shares₁ × Price₁) + (Shares₂ × Price₂) ) ÷ (Shares₁ + Shares₂)

First, the cost of each transaction is calculated by multiplying the number of shares by the price per share. These costs are added together to find the total capital invested. Finally, the total capital invested is divided by the total number of shares to find the average price.

Verified Scenario Walkthroughs

Here are a few examples of how the calculator determines the average price based on different purchase scenarios:

Small Entry-Level Position Averaging

If you buy 10 shares at $15.50 and later buy 5 shares at $12.00, your total capital invested is $215.00 ($155.00 + $60.00). Dividing this by your 15 total shares gives an average price of $14.33 per share.

Buying the Dip with Equal Units

If you purchase 100 shares at $200.00 and another 100 shares at $150.00, your total cost is $35,000. Because you bought the exact same number of shares in both transactions, the average price is exactly in the middle at $175.00 per share.

Zero Units in Second Purchase

If you buy 50 shares at $45.00 and do not make a second purchase (0 shares at $0.00), your total shares remain 50, your total cost is $2,250.00, and your average price remains $45.00.

Inputs & Outputs Table

FieldTypeDescription
First Purchase Shares (Units)InputNumber of shares purchased in the first transaction.
First Purchase Price Per ShareInputPrice paid per share in the first purchase.
Second Purchase Shares (Units)InputNumber of shares purchased in the second transaction.
Second Purchase Price Per ShareInputPrice paid per share in the second purchase.
Average Price Per ShareOutputThe weighted average cost of all shares combined.
Total SharesOutputThe combined number of shares from both purchases.
Total Capital InvestedOutputThe total amount of money spent on both purchases.
First Purchase CostOutputThe total cost of the first transaction.
Second Purchase CostOutputThe total cost of the second transaction.

Disclaimer: This calculator provides mathematical estimates for informational purposes only and does not constitute financial or investment advice.

Frequently Asked Questions

What does it mean to average down?

Averaging down occurs when you buy additional shares of a stock at a lower price than your initial purchase. This lowers your overall average price per share.

Why is my average price not exactly in the middle of the two purchase prices?

The average price is a weighted average. If you buy more shares at one price than the other, the average price will be closer to the price where you bought the larger number of shares.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.