Stock Average Calculator
Calculate the weighted average price you paid for a stock, then compare that cost basis to the current share price. This page also keeps the formula, examples, FAQs, and references close by so you can check the result with confidence.
What This Stock Average Calculator Helps You Do
Average stock price = total cost basis divided by the number of shares purchased. Review the formula and examples below if you want to see how the result is derived.
This page is meant to give you a fast answer, but it also helps you double-check the math before you make a decision. Start with the inputs that you already know, run the calculation, and then compare the output with the formula, examples, and FAQs below so you can see whether the answer fits the situation you are modeling.
If the result looks off, the usual causes are a unit mismatch, a missing decimal, the wrong scenario, or a value that needs to be entered as a rate instead of a total. The notes on this page are designed to make those checks easy without forcing you to leave the calculator and search for context elsewhere.
- Use the calculator first for a quick estimate.
- Use the formula to understand how the result is built.
- Use the examples to compare common use cases.
- Use the references when the answer depends on a standard or assumption.
Common Checks
A quick result is useful, but the best result is one that still makes sense when you look at it a second time. If you are comparing scenarios, try changing one input at a time so you can see which variable has the biggest impact on the final answer. That makes it much easier to spot whether the calculation matches your expectations.
It also helps to keep the context of the problem in mind. A calculator can tell you the math, but you still need to decide whether the input represents a total, a rate, an average, or a category-specific assumption. When in doubt, start with a simple example from the page and scale up from there.
- Check that every unit matches the rest of the problem.
- Keep rates, totals, and averages separate.
- Adjust one variable at a time when testing scenarios.
- Use the smallest realistic input first, then scale upward.
Scenario Planning
This calculator is especially useful when you want a quick answer before you commit time, money, or effort. Try one baseline input set, then change a single number and compare the result so you can see how sensitive the answer is to that variable.
That makes the page useful for more than just arithmetic. It becomes a small decision aid that helps you compare options, test assumptions, and explain the final number with confidence when you need to share it with someone else.
Result
--
How to Calculate Stock Average Calculator
- Enter each purchase lot: List each buy price and quantity on a new line, such as 85,1 or 77,1.
- Add the current price: Enter the latest stock price if you want value or profit and loss results.
- Review the result: The calculator gives you the weighted average cost basis and the portfolio comparison.
Stock Average Calculator Formula
| Variable | Meaning | Unit |
|---|---|---|
| p | Purchase price for each lot | $ |
| q | Quantity of shares in each lot | shares |
| n | Total shares purchased | shares |
Worked Examples
- Purchase lots: 85,1;84,1;83,1;75,1;77,1;75.5,1
- Current stock price: $100
Result: $79.92 average price
Buying at several price points produces a weighted average cost basis.
- Purchase lots: 20,50;25,50
- Current stock price: $30
Result: $22.50 average price
The average price reflects how much you paid across all shares.
How to Interpret Your Results
| Range | Meaning | Action |
|---|---|---|
| Current price below average | The position is at a loss | Consider whether to hold, average down, or exit. |
| Current price near average | Break-even region | A small move up or down changes the result meaningfully. |
| Current price above average | The position is profitable | Use the result to estimate profit and percentage gain. |
Frequently Asked Questions
References
Last reviewed: April 2026