Everyday financial tools

Stock average calculator

Calculate the weighted cost per unit for two purchases, including entered fees.

Home / Tools / Stock average calculator

Your inputs

Inputs stay in your browser. Changing the display currency does not convert the amounts.

Your estimate

Rates and returns are editable assumptions. Results are estimates, not a quote or guarantee.

How this calculation works

Average cost = (quantity 1 × price 1 + quantity 2 × price 2 + fees) ÷ total quantity.

Method reviewed: November 2, 2026. Reference: Investor.gov compound-interest calculator ↗

When to use this calculator

Combine two purchases and explicitly entered fees to calculate a weighted average unit cost. A simple average of the two prices is wrong when the quantities differ.

Choosing the inputs

Enter the quantity and price of each purchase. Use a single currency and add the fees you want included in cost. The tool does not adjust for sales, splits, dividends or jurisdiction-specific tax-lot rules.

Worked example

Buying 10 units at 100 and 20 at 130 costs 3,600 before fees. The weighted cost is 120 per unit; it is not the unweighted price average of 115.

How we document methods and assumptions · Report a calculation issue

More calculators