Stock Average Calculator
This calculator takes a share position you already hold and a purchase you are adding to it, and returns the average cost per share afterwards. Enter the shares held and their average cost, then the shares and price of the new buy, and it gives the new average, the total invested, the position value at that price and the gain needed to break even. A second mode works backwards: it says how many shares at the current price would move the average to a figure you pick. Everything on the page is the arithmetic of a weighted average, so it describes a position rather than recommending one.