Stop guessing what you actually paid.

Average cost is not the number on your first buy, or the one your broker shows after a partial fill. Put your holding and each add in here and see the real blended cost, the exact price you need to break even after fees, and the target that gets you the profit you are after.

βœ“ Any number of buys βœ“ Fees baked in both ways βœ“ Stocks, ETFs, coins βœ“ Works offline
1

What you hold

β€”
Leave the units at 0 if this is a brand new position.
Lotshare of position
    One fee figure, applied to the buy and to the sell.
    Long Β· you own the units
    2

    Blended position

    ● live
    Your average cost
    $0.00 β€”
    β€”
    Total units
    β€”
    Total invested
    β€”
    Value today
    β€”
    Where the price sitsvs your break-even
    Price ladder from break-even to target
    Price that breaks even after fees
    β€”
    Your average cost
    β€”
    Price today
    β€”
    Price for +20% profit
    β€”
    If you buy more at $158.30today's price
    ExtraNew avgBreak-evenChange
    What is inside the number: every buy is grossed up by the fee %, then the break-even price is the sale price that returns that whole amount after selling fees. It does not include tax on the gain, currency conversion, spread, or the difference between the price you see and the price you get filled at.
    Partner Check the level before you add TradingView Β· charts, moving averages and alerts on every market, in one place Open charts

    Average cost, honestly

    Why is my average cost different from what my app shows? οΌ‹

    Three usual reasons. Fees β€” many apps show the raw price average and keep commission outside it, so the real break-even sits slightly higher. Partial fills β€” one order can fill at several prices, and a summary line often rounds. Currency β€” if you bought in another currency, the app may store the average at the exchange rate of each trade while showing today's value at a different one. This tool lets you put fees in and shows the break-even as its own number, so you can see which of the three explains it.

    Does buying more really lower my break-even? οΌ‹

    It lowers your average cost, and that is arithmetic, not an opinion. But it only helps if the price later comes back to that average β€” averaging down into something that keeps falling just makes a bigger position at a lower, still-losing price. The honest test is to ask whether you would buy the same amount today if you held nothing: if the answer is no, the buy is about your feelings about the first purchase, not about the asset. The table on this page shows the effect of a few sizes so the decision is at least not a guess.

    What exactly is β€œbreak-even after fees”? οΌ‹

    Take everything you put in β€” every unit times its price, plus the commission you paid to buy it. Break-even is the sale price per unit at which the money you receive, after the selling commission, equals everything you put in. Because the sell fee is a percentage of the sale, the break-even price is slightly above the raw average cost: at a 0.1% fee on a $170 average, that is about 17 cents a unit. Small, but it is the difference between red and black on the day you exit.

    Should I use the average or the total-return number? οΌ‹

    They answer different questions. Average cost tells you where your position stands today and what price ends the loss on paper. Total return β€” which adds dividends and subtracts every fee β€” tells you whether the decision to own it was any good. For a dividend-paying stock the two can look very different after a few years, because cash you received is real profit that a cost-based number ignores. This calculator deliberately does only the first.

    Does this handle short positions or crypto with decimals? οΌ‹

    It is built for long positions β€” units you own β€” because that is what β€œaverage down” means. It accepts fractional units down to a ten-thousandth, so a 0.0035 BTC lot works the same as 50 shares of an ETF. For a short, the arithmetic flips: break-even is where the price falls to the entry minus costs, and averaging up is the risky move. Use the numbers here as a sanity check but do the signs by hand, or in the platform that will actually execute.

    Where is my data stored? οΌ‹

    Nowhere. There is no account, no cookie carrying your positions and no request to a server β€” the page is one HTML file that does arithmetic in your browser's memory. Close the tab and the numbers are gone. That is deliberate: cost basis is one of the more personal numbers in your financial life, and it does not need to travel anywhere to be added up.