CompyBit Tech

Stock Average Calculator

Add each time you bought a share. See your average price, profit or loss, and how to lower your average.

Your purchases
₹
Shows your profit or loss today.

Lower (or raise) my average

Uses the current market price if this is empty.
–
Average buy price
–

    Everything is calculated on your device. Nothing is sent or saved online.

    How the average price is calculated

    Average price = total amount paid ÷ total units

    Each purchase counts by how many units you bought, so a big buy moves the average more than a small one.

    How many shares to buy to lower the average

    Units to buy = (total paid − target × units held) ÷ (target − buy price)

    This works only if the target is between your current average and the price you will buy at.

    Example

    You bought 100 shares at ₹250 and 50 shares at ₹220. You paid ₹36,000 for 150 shares, so your average is ₹240.00. To bring the average down to ₹230 by buying at ₹200, you need 50 more shares (₹10,000).

    Common questions

    Are brokerage and taxes included?

    No. To include them, add the charges to the price of that purchase, or check the average shown in your broker's app.

    Does selling some shares change my average?

    No. Selling part of your shares doesn't change the average price of the shares you still hold. Only add your buys here.

    Can I use it for mutual funds or crypto?

    Yes. Units can have decimals, for example 12.345 units at ₹56.78.

    Is averaging down a good idea?

    It lowers your average, but it also puts more money in the same share. Only do it if you still believe in the company. This page is a calculator, not advice.

    For information only, not investment advice. Mutual fund and share returns are not guaranteed.

    More calculators

    Free tools

    Use this often? Press Ctrl + D (⌘ + D on a Mac) to bookmark this page.