Cost Averaging Calculator

Figure out your new average cost basis after buying more of a position at a different price ("averaging down" or dollar cost averaging), plus the break-even price you'd need to get back to even. Works for stocks, crypto, and options — all math runs in your browser.

Stocks · Crypto · Options Multi-lot table Break-even & target-gain price Free · no account

Enter your position

SharesPrice paid ($)
Add one row per historical buy — the running average updates live.
⭐ Pro — $5.99 one-time: save this calculation (and others) in your browser to reload later, and export a clean, print-ready PDF of your results with ads and navigation stripped out. The calculator above is fully free with no limits — Pro only adds saving/export.

Not financial advice. This is a math/educational tool — it does not tell you whether averaging down is a good idea for any specific position. See the about page and privacy policy.

How the average cost basis formula works

When you buy more of a stock, crypto asset, or options position at a price different from what you originally paid, your overall average cost basis changes. The formula is simple: multiply each lot's quantity by its price, add those up across every lot (your original position plus every additional buy), then divide by the total quantity — new average = Σ(shares × price) / Σ(shares). This calculator applies that formula to a quick 2-lot scenario (your starting position plus one new buy) or to a full multi-lot table if you've bought in more than twice.

"Averaging down" vs. dollar cost averaging

Averaging down usually means buying more of a position after its price has fallen, which lowers your average cost basis and reduces the price you need the asset to recover to before you're profitable again. Dollar cost averaging (DCA) is the more general strategy of buying at regular intervals regardless of price, which naturally produces the same kind of blended average cost over time. The underlying math — total cost divided by total quantity — is identical either way; this tool works for both framings, whether you're deliberately buying a dip or just tracking a recurring buy schedule.

Break-even and target price

Once you know your new average cost, the price you need the asset to reach just to break even is exactly that average. Want to know what price gets you to a specific gain instead — say, back to break-even plus 10%? Set the "target gain" field and the calculator multiplies your average by (1 + target gain% / 100) to show that target price directly, so you don't have to do the percentage math by hand.

Works for stocks, crypto, and options

The asset-type selector only changes the wording on the page (shares vs. coins vs. contracts) — the underlying arithmetic is the same for a stock position, a crypto holding, or an options contract's average premium paid. If you're tracking an options position, enter contracts as "shares" and your per-contract premium as "price"; the same average-cost and break-even formulas apply.

What the multi-lot table adds

The quick view covers the most common case — an original position plus one new buy. If you've bought in three, five, or more times, switch to the multi-lot table, add a row per historical buy, and the running average, total quantity, and total cost basis update live as you type. Enter a current market price to also see your unrealized gain or loss in dollars and percent.

FAQ

Is averaging down always a good idea?
No — this tool only does the arithmetic. Averaging down lowers your average cost and break-even price, but it also increases your total dollars at risk in a position that has already moved against you. Whether that's a sound decision depends on your own view of the asset's fundamentals and risk tolerance, which this calculator has no opinion on.
How is this different from a simple average of the two prices?
A plain average of prices ignores quantity. If you bought 100 shares at $50 and only 10 more at $30, your true average cost is much closer to $50 than a simple average of $40 would suggest — that's why the formula weights each price by how many shares/units you bought at it.
Does this account for trading fees or commissions?
No — it uses the price you enter as-is. If your broker or exchange charges a per-trade fee, add it into your effective price per share/unit before entering it (e.g. total dollars spent including fees, divided by shares received) for a fully accurate cost basis.
Can I use this for options?
Yes — enter your contract count as "shares" and the premium you paid per contract as "price." The average-cost and break-even math is identical; just remember options premiums are typically quoted per share of the underlying (so one contract usually represents 100 shares) — be consistent about which convention you're using.
Does my data get saved or uploaded anywhere?
No. Everything you type is calculated locally in your browser and is not sent to any server. See the privacy policy for full detail.
Is this tax or cost-basis-for-IRS-reporting advice?
No. Real tax cost basis (for reporting capital gains/losses) can involve wash-sale rules, lot-selection methods (FIFO/LIFO/specific-lot), and broker-reported basis that may differ from a simple weighted average. Consult your broker's statements and a tax professional for anything you're filing.

Educational tool only — not financial or tax advice. Always verify with your own brokerage or exchange statements before making investment decisions.