InvestCal

Stock Average Calculator

Compute average cost basis from multiple purchase lots.

Purchase lots

One hundred rupees

One hundred twenty rupees

Average cost

₹106.67

Per share

Total shares

15

Total cost

₹1,600

Tips for cost averaging

  • 1Dollar/rupee cost averaging works best with fundamentally strong stocks or index funds — don't average down on speculative bets that are deteriorating.
  • 2Keep records of each purchase lot with date, quantity, and price — you'll need this for accurate tax reporting (FIFO vs specific lot identification).
  • 3Set a maximum allocation per stock (e.g. 5–10% of portfolio) — averaging down can accidentally make one position too large.
  • 4Compare your average cost to the 52-week range and fundamental valuation, not just the recent price dip.
  • 5If buying in lots over time (SIP in stocks), spread purchases across different market conditions rather than all at once.
  • 6Use this average cost as your breakeven price — any sale above this (minus charges and taxes) is a net profit.

Related calculators

Explore tools that pair well with this one—loans, investing, and planning.

What is this?

When you buy the same stock at different prices, your true cost per share is a weighted average of all purchases. This tool totals quantities and amounts so you get one blended buy price—handy for tracking position cost against live quotes or for reconciling with broker statements.

Formula

Average price = Σ(quantity × price per lot) / Σ(quantity).

How to use

Add a row per purchase with shares and price. The tool computes total shares and weighted average price.

FAQ

How is average price calculated?

Total cost (sum of quantity × price per lot) divided by total shares. All lots are weighted by size.

Does this include brokerage and taxes?

Include them in your per-lot price if you want a fully loaded average; the math is the same as long as costs are embedded consistently.

What about bonus or split shares?

Adjust quantities to post-split equivalents before averaging, or enter lots as actually transacted—consistency matters.

Can I use this for mutual funds?

Yes for multiple purchases at different NAVs—weighted average cost per unit works the same way.

Why track average buy price?

It helps compare your basis to the current market price for quick unrealized P&L context—use the P&L calculator for charges and sale scenarios.

Deeper guide

Use these notes to stress-test the calculator, understand what drives the result, and choose the right tool for the decision you are making.

Key assumptions

The average-price math assumes each entered lot belongs to the same security and should be weighted only by quantity and cost. Corporate actions, taxes, and exact broker contract-note adjustments need to be normalized by you if you want a fully loaded basis.

Worked example

If you buy 10 shares at 100 and later 20 shares at 80, your average is not the midpoint of 90. The second lot carries more weight, so the blended cost moves closer to 80 than 100.

How to interpret the result

Your weighted average price is mainly a bookkeeping anchor. It helps you judge break-even level and unrealized return, but it does not tell you whether the business is worth buying more of today.

When to use this vs Stock P&L

Use Stock Average when your challenge is combining multiple buy lots into one cost basis. Use Stock P&L once you know that cost basis and want to estimate realized or unrealized gain after charges.

The stock market is a device for transferring money from the impatient to the patient.

Warren Buffett