Weighted average · up to five fills
Average entry price calculator
Combine multiple fills correctly using quantity-weighted cost instead of a simple average of prices.
Calculate
Inputs
Result
Total cost—
Total quantity—
Weighted average entry—
Results update as you type.
Formula and assumptions
Weighted average = sum(price × quantity) ÷ sum(quantity). Zero rows are ignored.
Worked example
A simple average is wrong whenever fills have different quantities. This calculator weights every fill by the amount actually purchased.
Related mathematical tools
Important: TradingHub provides informational tools and scenario estimates, not financial advice. Verify fees, margin rules, availability and current terms with the relevant venue before acting.