About this tool
Stock Average Price Calculator is a free, in-browser tool that computes your weighted average cost per share across any number of purchases. Enter the quantity and price of each lot — add rows as needed — and the average, total shares and total invested update live.
The average is Σ(quantity × price) ÷ Σ quantity. With a current market price entered it also shows your position's value and unrealized profit or loss in absolute and percentage terms, and with a target average it solves how many shares to buy at the current price to pull your average to that level: x = (invested − target × shares) ÷ (target − current).
It is the classic averaging-down helper for retail investors juggling several fills of the same stock or fund. All prices are typed in by you and every calculation runs locally — nothing is uploaded.