Stock Market Calculators
Stock Average Price Explained: Weighted Lots and Fees
Calculate weighted average purchase price with fractional shares and explicit fees. Learn averaging-down limits, currency units and tax-basis distinctions.
- Published:
- Updated:
- Reviewed:
Editorial dates are calendar dates in India Standard Time.
Keywords
- stock average calculator
- average down
- average cost per share
- weighted average share price
What your average purchase price answers
A stock average price calculator combines purchases of the same security into one quantity-weighted price. It answers what each share cost on average across the purchases you enter. Buying different quantities at different prices means a simple average of the quoted prices can give the wrong answer.
The calculator reports a price-only average and a separate fee-inclusive purchase average. It also shows total shares, purchase consideration, supplied fees and outlay. These are records of the supplied purchases, not a valuation, a prediction or a recommendation to increase a position.
Shares, price and purchase fees
Each row is one purchase lot. Quantity is the number of shares, including supported fractional shares. Price is the amount paid per share before the separately entered fee. Purchase fee is the total monetary charge for that row, not a percentage and not a charge per share. Enter zero explicitly when no separate fee applies.
Use one identical security in consistent share units and one major currency unit. A price in pounds cannot be combined with another price in pence. A stock before and after a split also needs consistent units; this calculator does not infer or process corporate actions. Do not combine different companies simply because they trade in the same currency.
Average down and average up without assuming safety
If a new purchase price is below the existing price-only average, adding positive shares lowers that average. If it is above, the average rises. This follows from the weighting equation, not from a change in the quality or prospects of the investment. Fees can change the corresponding fee-inclusive comparison.
Averaging down adds capital exposure. A lower average does not erase losses, guarantee a recovery or show that another purchase is suitable. Review concentration, liquidity and your own objectives separately. This tool supplies arithmetic for a chosen scenario; it does not select a trade or identify a target price to buy.
The weighted-average formula
Multiply each quantity by its purchase price and sum those products to obtain purchase consideration C. Sum quantities to obtain Q and supplied purchase fees to obtain F. Price-only average is C/Q. Fee-inclusive purchase average is (C+F)/Q. Fees are added once to total outlay, not once per share.
The per-share fee increment is F/Q. It is calculated directly rather than by subtracting two rounded averages, which could hide small charges. There is no compounding, annual rate, holding period or contribution timing in this model. Reordering purchase rows does not change the totals when the same purchases are supplied.
Q=Σq; C=Σ(q×p); F=Σf; price-only=C/Q; fee-inclusive=(C+F)/Q; fee increment=F/Q
- q = positive shares; p = positive price per share; f = explicit nonnegative total purchase fee.
- One security, consistent share units and major currency; purchase-only arithmetic.
- No sale costs, tax method, currency conversion or corporate-action processing.
Verified example with unequal lots and fees
Consider ten shares at 100 and twenty shares at 80, with separate purchase fees of 2 and 3 in the same monetary unit. The quantity is 30, consideration is 2600, fees total 5 and outlay is 2605. Price-only average is 86.666666… and fee-inclusive average is 86.833333… per share. The direct fee increment is 0.166666… per share.
The simple midpoint of 100 and 80 is 90, which incorrectly gives the two purchases equal weight despite their different quantities. Another clear check is one share at 100 and nine at 50: total cost 550 over ten shares gives 55, not 75. The worked examples are hypothetical and do not represent actual market prices.
- Q=10+20=30 shares.
- C=10×100+20×80=2600; F=2+3=5; outlay=2605.
- Price-only=2600/30≈86.66666667; fee-inclusive=2605/30≈86.83333333.
- Direct fee increment=5/30≈0.16666667 per share.
Enter purchases and verify the accounting
Choose the display market and currency. Enter every quantity, price and purchase fee using an ungrouped decimal point, then confirm the consistent purchase-only basis. A blank fee is missing information; it never becomes zero automatically. Load the worked example to check the controls, then replace every assumption before interpreting your own purchases.
Add purchase creates a blank row and removes the old result until the row is complete. Remove purchase recalculates the remaining purchases and restores focus to a remaining quantity field. At least one row is retained. Review the quantity and outlay alongside the averages so an omitted row or a mistyped fee is easier to detect.
Read consideration, fees and outlay separately
Consideration measures quantity times price before separately supplied fees. Outlay includes those fees. Dividing either total by the same quantity gives the corresponding per-share purchase average. The currency result is rounded for display, while the calculation keeps more precision and provides separate significant-digit summaries.
The result is not an investment return, profit or exit break-even price. Selling commissions, taxes, spreads, future price movements and other adjustments are not modeled. Even if a sale price equals the fee-inclusive purchase average, additional exit costs can leave you with a loss. Use a suitable sale model when that is the question.
A purchase-only position in consistent units
All supplied lots must represent purchases of one identical security. Quantities and prices are positive, fees are nonnegative and every amount uses the same major currency unit. There is no live ticker lookup, automatic exchange rate, sales ledger, short position, borrowing cost or account synchronization.
This tool does not identify the shares that remain after sales. It does not process gifts, inheritance, transfers, return of capital, automatic dividend reinvestment or stock splits. If a provider has already embedded a purchase charge in its price, entering the same charge separately would double count it. Reconcile the inputs with your records before using the result.
Supported numbers, precision and rounding
The calculator accepts one through 100 purchase rows. Quantity and price range from 0.000000000001 through 1000000000000; fees range from explicit zero through 1000000000000. Strings are trimmed, limited to 48 characters and 12 fractional decimal places. Grouping separators, currency symbols, percentages, negative values and exponent notation are rejected rather than reinterpreted.
An isolated 120-significant-digit decimal context uses half-even rounding. Supported monetary totals are capped at 2e26 and averages at 2e24, with unsupported outputs rejected without clipping or a partial result. Currency display uses two places and marks tiny nonzero amounts. Eight-significant-digit summaries show averages and the direct fee increment; displayed numbers are not guaranteed to reproduce the full internal accounting when multiplied back.
Common mistakes that distort the average
Do not average prices without weighting quantities. Do not enter a total trade value as the price per share, a per-share charge as the total purchase fee, or a fee percentage as a monetary amount. A ten-share purchase with a total fee of 2 uses 2 in the fee field, not 20 and not 0.2 unless that is the actual total charge.
Do not mix GBP and GBX, different share classes or split-adjusted and unadjusted quantities. Do not treat a withdrawal or sale as a negative purchase row. Do not label the output as tax basis simply because your broker uses a similarly named display. Financial terminology can refer to different accounting and reporting conventions.
Purchase average versus return and tax basis
A purchase-weighted average describes acquisition amounts per share. Absolute Return compares a beginning amount and an outcome; ROI relates net profit to supplied costs; CAGR and Annualised Return add a time basis to a measured growth factor. These answer different questions and should not be inferred from this average alone.
Tax basis can require jurisdiction-specific lot identification, matching, pooling, currency and other adjustments. The US IRS explains that average basis is generally unavailable for ordinary stock-sale gains, with specified exceptions. A general purchase average cannot implement every applicable tax method. The calculator does not prepare a tax return or override a broker record.
USA, UK, Canada, Australia and India
Display options cover USD in the USA, GBP in the UK, CAD in Canada, AUD in Australia and INR in India. They change formatting only. No monetary conversion, local transaction tax or jurisdiction-specific benefit is applied. All prices and fees remain in the single major unit you supplied; the UK option does not convert pence to pounds.
HMRC describes matching and pooling rules for shares in the same company; CRA discusses adjusted cost base and identical properties. ASIC explains that shares can carry buying, holding and selling costs. Those contexts show why consistent inputs and reporting records matter, not that this purchase average is a complete local tax calculation. Indian readers should verify their local requirements and broker records; no Indian tax-lot rule or rate is implemented or inferred here.
Educational scope, privacy and review
The Capital Intelligence provides financial calculators and educational explanations, not personalized investment advice. It is personally operated by Arunangshu Das, an individual in India. An arithmetic average does not establish suitability, safety or future returns. Consult the appropriate professional for decisions that depend on personal circumstances.
Calculations run locally after loading. Financial inputs stay in browser memory and are not saved, transmitted or placed in URLs. Sources and model assumptions were reviewed on 2026-11-05. Content is prepared with AI assistance under operator editorial responsibility; no independent expert qualification or financial review is claimed. Contact support@thecapitalintelligence.com with a reproducible calculation question.
Companion calculator
Put the method into practice.
Frequently asked questions
Why is a midpoint of two prices often wrong?
Does averaging down reduce investment risk?
What if fees are already embedded in my trade price?
Can a broker display differ from this result?
Does a stock split happen automatically in the model?
Is the fee-inclusive purchase average enough to calculate a sale gain?
Sources and review
Sources reviewed . Consult current local rules before relying on time-sensitive information.
Continue learning
- Stock Average Price Calculator: Weighted Purchases and Fees
- Absolute Return Calculator: Gains, Losses and Cash Payouts
- Absolute Return: Formula, Cash Distributions and Losses
- ROI Calculator: Gross Benefit, Net Profit and Total Cost
- How to Calculate ROI: Costs, Net Profit and Limits
- Annualised Return Calculator: Holding Period to Annual Rate
- Annualised Return Explained: Total Return and Compounding
- Stock Profit and Loss Calculator: Net Gain After Fees
- Stock Profit and Loss Explained: Fees, Return and Break-Even
- Stock Return Calculator: Price Change and Cash Dividends
- Stock Return With Dividends: Cash Income and Price Gains