average price calculator

Enter quantity and unit price for each purchase. This calculator returns your weighted average price, total quantity, and total cost.

Tip: The weighted average is usually the best number to use for investing and inventory decisions.

Why an Average Price Calculator Matters

If you buy the same thing more than once at different prices, knowing your average price helps you make better decisions. This is true whether you are investing in stocks, purchasing inventory for a business, comparing grocery costs, or budgeting household expenses.

Most people make the mistake of eyeballing their costs. But price decisions become much clearer when you know your exact average cost per unit. This calculator is designed to make that process quick and accurate.

Simple Average vs. Weighted Average

Simple Average Price

A simple average adds all prices and divides by the number of price points. It works when each price has equal importance.

  • Formula: (P1 + P2 + ... + Pn) ÷ n
  • Best when quantities are the same for every purchase

Weighted Average Price

A weighted average factors in the quantity purchased at each price. This gives a more realistic view of your actual cost basis.

  • Formula: (Q1×P1 + Q2×P2 + ... + Qn×Pn) ÷ (Q1 + Q2 + ... + Qn)
  • Best when quantities vary between purchases
  • Common for stock investing, wholesale buying, and inventory tracking

How to Use This Calculator

  1. Enter each purchase on a separate row.
  2. Add the quantity and unit price for each row.
  3. Optionally include extra fees and discounts.
  4. Click Calculate Average Price.

The result area will show total quantity, total base cost, adjusted total cost, and your weighted average price per unit.

Practical Use Cases

1) Investing and Dollar-Cost Averaging

If you buy shares over time at different prices, your weighted average purchase price is your true cost basis. Knowing this helps you evaluate gains, losses, and target sell prices.

2) Small Business Inventory

Businesses frequently restock at changing supplier prices. Tracking weighted average cost helps with pricing products correctly and protecting margins.

3) Household Budgeting

Comparing the average cost of recurring purchases (coffee, groceries, fuel, subscriptions) highlights spending trends and reveals opportunities to reduce waste.

Common Mistakes to Avoid

  • Ignoring quantities: This leads to misleading averages.
  • Forgetting extra costs: Fees and taxes can materially change your true cost.
  • Not updating regularly: A one-time calculation is less useful than a recurring habit.
  • Rounding too early: Keep precision until the final result.

Example Walkthrough

Suppose you purchased:

  • 10 units at $20
  • 5 units at $24
  • 15 units at $18

Total cost = (10×20) + (5×24) + (15×18) = 200 + 120 + 270 = 590.
Total quantity = 10 + 5 + 15 = 30.
Weighted average price = 590 ÷ 30 = $19.67 per unit.

If you also paid $12 shipping, adjusted average becomes (590 + 12) ÷ 30 = $20.07 per unit.

Final Thoughts

A good average price calculator gives you clear numbers, not guesses. Once you know your average cost, you can make smarter buy, hold, and sell decisions in both personal finance and business settings.

Use the tool above whenever prices vary over time. It takes seconds, and the clarity you gain is worth far more.

🔗 Related Calculators