Free tool

AVERAGE DOWN CALCULATOR.

Your average cost per share across several buys, what the position is worth now, and the price that gets you back to even.
Your numbers
SharesPrice
$
Result
Average cost —
—
Total shares—
Total cost—
Value at current price—
Unrealised P&L—
Break-even price—
Move needed to break even—

Free calculator by TradePiko

Nothing you type here is sent anywhere — it is calculated in your browser and never leaves it.

How to use it

Type each buy as a number of shares and the price you paid. Add a row for every extra buy, up to ten. Type today's price as well if you want to see where the position stands.

The average cost is the price at which the whole position breaks even, before commissions. Selling every share above it is a profit; below it, a loss.

The formula

Average cost = Total cost ÷ Total shares
Total cost = (shares × price) added up across every buy
Unrealised P&L = (Current price − Average cost) × Total shares

Buy 100 shares at $50 and another 100 at $44 and you hold 200 shares that cost $9,400 in total. The average is $47. At $46 the position is down $200, or 2.1%, and needs a 2.2% rise to get back to even.

An honest note on averaging down

Averaging down means buying more of a stock that has gone against you, so the average cost falls. It makes the break-even price closer, which feels like progress. What it really does is put more money into the idea the market is currently telling you is wrong.

Most momentum swing traders avoid it on losing trades. They set a stop before entry, size the position from that stop, and take the loss if it is hit. Adding below the entry breaks that link: the risk you planned is no longer the risk you have. How position sizing for swing trading works. Why the stop decides the size, not the other way round.

The alternative is the opposite move: adding to winners, often called pyramiding. You add only once the trade has proved itself, usually with the stop on the first buy raised so the total risk stays within plan. Your average cost rises, but every add is made with the market on your side. This calculator works for that too: put the higher-priced adds in as extra rows.

There is one case where averaging down is a deliberate plan rather than a reaction: long-term investing in a broad index fund on a fixed schedule. That is a different activity from swing trading single stocks with stops.

Embed this calculator

You are welcome to put this calculator on your own site or blog. Copy the code below and paste it into your page's HTML where you want it to appear. It works out everything in your reader's browser.

STOP GUESSING.
START KNOWING.

TradePiko shows every add to a position from your broker fills, and Trade Simulation lets you exclude trades or use the By Mistake preset to see what averaging down has really cost you.

Start Free Trial →