Navid MoazzezNavid Moazzez

Free Stock Average Calculator (+ Guide)

A free stock average calculator for your average cost across buys, and the shares to reach a target average.

Navid Moazzezby Navid Moazzez·Updated Oct 3, 2026·3 min read·
1

Your numbers

2

Your result

Rate this tool

Embed this tool on your site

Paste the code into any page: WordPress, Webflow, Squarespace, Ghost or plain HTML. It's free with the credit under it, which links back to navid.me.

Theme
Background
Corners
Font

This free stock average calculator works out the average price you paid for a stock across all your buys, and how many shares a next buy takes to bring that average to a target.

Type each buy's shares and price, and the price now, and it shows your average cost, your gain or loss, and the shares to reach the average you want.

I built it because after a few buys at different prices, the average is the number that tells you where you really stand.

key_takeaways.mdTL;DR

Key takeaways

Your average cost is what you paid in all divided by the shares you own.
At the average price, your position is even, before fees.
Buying more below your average brings it down, and above it brings it up.
The shares a buy takes to reach a target average = (target × shares − total paid) ÷ (next price − target).

What is a stock average calculator?

A stock average calculator works out the average price you paid for a stock or fund you bought in several lots.

This one adds what it's worth now, and the shares a next buy takes to move the average to a target.

How it works

The calculator works it out on your device, and your numbers stay there.

Work out your average cost0/4

Averaging down and up

Averaging down means buying more below your average, so the average falls. Averaging up is buying above it.

The shares to reach a target come from setting the new average equal to it: (total paid + n × next price) ÷ (shares + n) = target.

The target has to sit between the next price and your average now, or no number of shares gets you there.

A worked example

Here's the example the calculator loads: 10 shares at $50 and 10 at $30, now trading at $35.

Your average is $40: $800 for 20 shares. At $35 you're down $100, or 12.5%.

To bring the average to $35 with a buy at $30, you'd buy 20 more shares for $600.

Mistakes to avoid

These are the slips that come up most.

  • Averaging down only because the price fell, with no new reason to own more
  • Leaving fees out of what you paid
  • Mixing buys from different accounts with different tax rules
  • Treating a lower average as a smaller loss, when the money at risk grew

Who is the stock average calculator for?

It's for investors who buy the same stock or fund more than once, and these tools help around it.

Know your average before the next buy, and decide on a reason, not a price.

Plan your money with your AI

Take your numbers further in

Stock Average Calculator FAQs

Questions about the stock average calculator? Here's what to know.

It works out the average price you paid for a stock across several buys, and the shares a next buy takes to reach a target average.

Add up what you paid for every buy, then divide by the shares you own.

Buying more shares below your average price, which lowers the average.

Use (target × shares − total paid) ÷ (next price − target).

The calculator works it out for you.

Before fees, yes.

Add fees to what you paid for a truer number.

No, the target has to sit between your next buy's price and your average now.

Yes, it works for anything you buy in shares or units.

Only if you add them to the prices you paid.

Yes, it's free with no sign-up.

It runs in your browser, and your numbers stay on your device.

I did.

I'm Navid Moazzez, and I made the stock average calculator as one of my free tools on navid.me.

More about me.

Navid Moazzez

AI business strategist & AI OS builder

Navid Moazzez helps creators and founders master AI and build their own AI Operating System (AI OS) to automate their business and life.

Navid.me is reader-supported. When you buy through links on this site, I may earn an affiliate commission. Read the affiliate disclaimer.

Related calculators

Related MCP servers & CLIs

Free AI newsletter

The most actionable AI newsletter for founders

Every week, get proven AI strategies, curated tools, and step-by-step systems to grow your audience, create better content, and build a profitable creator business.

No fluff, no filler, no BS. Just five minutes each week that might level up your online business and life.

P.S. Sign up now to get free access to my ultimate AI tools guide for creators.

Loved by 10,000+ readers
Loved by 10,000+ readers