Stock Share Price Average Calculator Online

Stock Average Calculator

Easily calculate your average cost per share and total investment value. Enter your multiple stock purchases (with different quantities and prices) below.

Purchase Entries

# Shares Price per Share ($) Total ($) Action
No purchase entries yet

Results

Total Investment
$0.00
Total Shares
0
Average Cost / Share
$0.00
Number of Purchases
0

Visualize Your Purchases

To export your calculation as a PDF, use your browser's Print (Ctrl+P / Cmd+P) and choose Save as PDF. This page is optimized for clean single-page export without scrollbars or page breaks.

Investors rarely buy a stock just once. Most people build their positions over time, purchasing shares at different prices across multiple transactions. When you do this, knowing your true average cost per share is essential — it tells you where your break-even point sits, how your portfolio is performing, and whether a position is currently profitable or not.

The Stock Average Price Calculator is a free online tool that makes this calculation effortless. Enter the number of shares and price per share for each of your purchases, and the calculator instantly computes your total investment, total shares held, average cost per share, and number of transactions — all displayed clearly in a table alongside a visual chart. Whether you have made two purchases or twenty, the tool handles them all and updates in real time as you add or remove entries.

How to Use the Stock Average Price Calculator

Using this calculator is simple and does not require any financial background. Follow these steps to get your results.

Step 1: Enter Your First Purchase

In the Number of Shares field, enter how many shares you purchased in your first transaction. Then enter the price you paid per share in the Price per Share field.

Step 2: Add the Purchase

Click the Add Purchase button to record your entry. It will appear immediately in the purchase table below, showing the number of shares, price per share, and total value for that transaction.

Step 3: Add More Purchases

Repeat the process for each additional time you bought shares in the same stock. There is no limit to how many entries you can add, making this tool suitable for tracking long-term positions built up over many months or years.

Step 4: Review Your Results

As you add each entry, the results section updates automatically. You will see your total investment amount, total number of shares held, average cost per share, and the total number of purchase transactions recorded.

Step 5: Read the Chart

The calculator also generates a visual chart that plots your individual purchase prices, share quantities, cumulative investment, and total values across all transactions. This gives you a clear picture of how your position has developed over time.

Step 6: Remove Entries if Needed

If you made an error or want to remove a transaction, click the trash icon next to that entry in the table. The results and chart will update instantly.

Step 7: Export as PDF

To save or share your calculation, use your browser’s Print function and select Save as PDF. The page is optimised for clean single-page export with no scrollbars or broken layouts.

Why Knowing Your Average Cost Per Share Matters

When you buy shares at different prices over time, no single purchase price tells you how your overall position is performing. Your average cost per share is the true baseline — the price the stock needs to reach before you are in profit across your entire holding.

This figure is particularly important when using strategies like dollar-cost averaging, where investors buy a fixed dollar amount of a stock at regular intervals regardless of the price. Over time, this approach can lower the average cost per share compared to making one large purchase at a high price. The calculator lets you see exactly how each new purchase affects your overall average, helping you make more informed decisions about when and how much to buy.

Knowing your average cost also matters for tax purposes. In many countries, capital gains calculations depend on your cost basis — the average price you paid for the shares you are selling. Having an accurate, documented record of your purchases and average cost can save time and confusion when reporting investments.

Who Should Use This Calculator

Individual Investors and Traders

Anyone building a stock position across multiple purchases needs a reliable way to track their average cost. This tool removes the need for spreadsheets or manual calculations and gives you an instant, accurate result every time you add a new transaction.

Dollar-Cost Averaging Investors

If you invest a fixed amount in a stock or fund at regular intervals, this calculator shows you exactly how each contribution affects your average entry price — helping you understand the real benefit of your strategy over time.

Long-Term Portfolio Holders

For investors who have accumulated shares in the same company over several years, tracking total investment and average cost through a single tool is far more practical than searching through old transaction records.

Students and Finance Learners

The calculator is also a useful educational resource for anyone learning how weighted average cost works in practice, with real-time results and a visual chart that makes the concept easy to understand.

Why This Calculator Stands Out

Most stock average calculators online accept only two or three purchases and present a single number as the result. This tool goes further by supporting unlimited purchase entries, displaying a full transaction table, generating a visual chart of your investment history, and producing clean PDF-ready output — all in a free, browser-based tool that works on any device without requiring an account or download. It is built for investors who want clarity and detail, not just a quick figure.

Scroll to Top