Stock Average Calculator Online — Free Stock Average Calculator Tool

CodexFuse Team · 2026-11-06T05:07:15.947Z · 8 min read min read

Average your buy price across multiple lots in seconds — and find exactly how many shares you need for your target price.

A stock average calculator is a free online tool that works out your average buy price when you buy the same stock in several lots at different prices. It also runs the calculation in reverse: given a target average and the current price, it tells you exactly how many more shares you need to buy to reach it.

Averaging down feels simple until you actually do it. You buy 100 shares at one price, 150 more when the price drops, and suddenly you cannot answer the only question that matters: what did I actually pay per share? Guessing leads to bad decisions — selling too early, buying too much, or holding a loser because the maths in your head says you are closer to break-even than you are.

The CodexFuse stock average calculator removes the guesswork. Add your lots, see your true average instantly, and plan your next buy with a target-price planner instead of a spreadsheet you will never open again.

What is a stock average calculator?

A stock average calculator takes every lot you bought — shares and price per lot — and returns one weighted average price: what you actually paid per share. It also runs the calculation in reverse, telling you how many shares to buy at the current price to reach your target average.

The key word is weighted. A simple average of your buy prices is wrong whenever your lots differ in size. Buying 10 shares at $100 and 90 at $50 does not average to $75 — it averages to $55, because the bigger lot dominates.

Why averaging down goes wrong without the maths

Most investors who average down are not making a strategy error — they are making an arithmetic error. The pain shows up in four familiar ways.

  • Wrong break-even point: you think you break even at $80 when your real average is $92.
  • Oversized follow-up buys: without a target, you keep adding until the position is far larger than planned.
  • Hidden concentration: three small top-ups can quietly turn a 5% position into a 25% one.
  • Spreadsheet fatigue: nobody re-opens a spreadsheet before every buy, so the numbers drift.

A calculator fixes the arithmetic. It does not fix the judgement — that part is still yours.

Important

A lower average price is not the same as a better investment. Averaging down only helps if the business is still worth owning. If your reason for buying has broken, a cheaper average just means you lose money more efficiently.

How do you use the CodexFuse stock average calculator?

Using the calculator takes under a minute, whether you hold two lots or ten. The tool is free and unlimited with a free CodexFuse account.

  1. Add your lots: enter the shares and price paid for each lot you own — as many lots as you hold.
  2. See your average: the calculator instantly shows your weighted average price, total shares, and total amount invested.
  3. Plan your target average: enter the average you want and the current market price, and the planner tells you how many shares to buy next.

That third step is the one most calculators skip. Knowing your average is useful; knowing the exact size of the buy that moves it to your target turns the number into a decision. Try the free stock average calculator before your next order, not after it.

Worked example: averaging down from $712 to $700

Sara is a fictional retail investor who bought shares of a fictional company, Northbridge Textiles, in two lots: 100 shares at $850, then 150 more at $620 when the price fell. Her portfolio app showed two separate positions, and she had no idea what she had actually paid per share.

She entered both lots. Here is what the calculator returned:

LotSharesPrice per shareAmount invested
Lot 1100$850$85,000
Lot 2150$620$93,000
Total250$712 average$178,000

Her true average was $712 — not the $735 a simple average of the two prices would suggest. Sara wanted to bring it down to $700, with the current price at $640. The planner told her to buy 50 more shares.

The check confirms it: 50 shares at $640 adds $32,000, taking her total to $210,000 across 300 shares — exactly $700 per share. Without the planner, Sara would have guessed. Most people buy 100 shares out of habit, which would have pushed her average to $694 and tied up $32,000 more than her plan required.

Pro Tip

Decide your target average before you open the calculator, not after. Enter the number that matches your plan — your break-even or the price your analysis supports — and let the tool size the buy. If the buy is bigger than you are comfortable with, that is the plan telling you something, not the calculator.

Stop guessing what you paid per share

Every extra lot without the maths makes your real break-even harder to see. CodexFuse keeps the tools you actually use in one managed place on credits, so the numbers are always one click away.

Get Started with CodexFuse

When should you average down — and when should you stop?

A calculator can size the buy. It cannot tell you whether the buy is wise. Use these rules before you act on any average it gives you.

  • Average down only on a thesis that still holds: the business and your reason for buying must be intact. A falling price alone is not a reason.
  • Cap the position first: decide the maximum share of your portfolio one stock may occupy, and refuse any buy that crosses it.
  • Size the buy to the target: use the planner's exact share count instead of rounding up.
  • Stop when the story changes: a dividend cut or a failed product is a reason to stop averaging, not to buy more cheaply.
  • Keep a written record: log every lot, the date, and the reason. A short note per buy beats a perfect memory — you can convert JSON to Excel online to keep your trade log sortable.

Price swings deserve a second look too. A standard deviation calculator shows how widely a stock has moved around its own average — useful context before you commit more money to a volatile name.

What this calculator does not do

Honest limits matter more than features. The calculator does not judge whether a stock is worth buying, and it never will. It does not include brokerage fees, taxes, or currency conversion, so your true all-in cost is slightly higher than the number it shows. It does not track dividends, splits, or bonus issues — if a corporate action changed your share count, adjust your lots first.

It also does not predict anything. A target average of $700 is a plan, not a promise the price will return there. Treat the output as precise arithmetic on your inputs: if the inputs are wrong, the average is wrong too. Double-check each lot against your broker statement, and check the gap to your target as a percentage with a percent error calculator.

Suggested Reading

The same careful maths applies off-market too — see how to split a bill fairly without the rounding arguments.

Frequently Asked Questions

How do I calculate my average stock price?

Multiply the shares in each lot by the price paid, add the totals, then divide by your total shares. For example, 100 shares at $850 plus 150 at $620 is $178,000 across 250 shares — $712 per share. The free calculator does this instantly and plans the shares for a target average too.

Is the CodexFuse stock average calculator really free?

Yes. The calculator is free and unlimited with a free CodexFuse account — no subscription and no per-calculation charge.

How many shares do I need to buy to reach my target average?

Enter your existing lots, your target average, and the current market price into the target planner. It returns the exact number of shares to buy — in the example above, 50 shares at $640 moved a $712 average to exactly $700.

Does averaging down include brokerage fees?

No. The calculator averages the share prices you enter. Brokerage fees, taxes, and currency charges sit outside that number, so your true all-in cost per share is slightly higher.

Should I always average down when a stock falls?

No. Average down only when your original reason for owning the stock still holds and the position stays within your size limit. If the business has deteriorated, a lower average just increases your exposure to a bad outcome.

Can I use the calculator for any stock market?

Yes. The maths is the same in every market. Enter prices in your own currency and the average comes back in that currency.

Put your next buy on solid maths

Your next buy should start with a number you trust, not a feeling you hope is right. Open the CodexFuse stock average calculator, enter your lots, and find your true average and the exact buy that reaches your target — before you place the order.

And if the rest of your setup is as scattered as your trade maths used to be — hosting on one subscription, email on another, security nowhere — move it to CodexFuse. One fully managed platform, on credits. Get started today.

Featured on Twelve Tools Hunt for Tools Featured on LaunchBuff Launch Llama Tools Launch your MCP Top Web Development Companies in the US - OnToplist.com Designer Listings Listed on SeeWhatNewAI Featured on SubmitMySaas