How the weighted average is calculated
Your current cost basis is the number of shares already owned multiplied by their average cost. The additional purchase cost equals new shares multiplied by the purchase price, plus any fee entered. Dividing the combined cost by the combined share count produces the new average.
How many shares are needed for a target average?
Target mode reverses the weighted-average equation. The desired average must be below your current average and above the planned purchase price. A target at or below the purchase price is not mathematically reachable with a finite purchase.
Worked example
Suppose you own 100 shares at an average cost of $50, for a $5,000 cost basis. Buying 50 more shares at $40 adds $2,000. You would then own 150 shares with a $7,000 total cost basis and an average cost of about $46.67 per share. To reach a $45 target at a $40 purchase price, you would need 100 additional shares before fees.
What the break-even percentage means
When you enter a current market price, the calculator compares it with the updated average cost. A positive break-even percentage is the gain required from the current price to reach the new cost basis. A negative percentage means the current price is already above that average. It does not include taxes or selling fees.
Frequently asked questions
Is averaging down the same as dollar-cost averaging?
No. Averaging down is an additional purchase made after an asset falls below your existing average. Dollar-cost averaging follows a recurring schedule regardless of short-term price direction.
Why are trading fees included in cost basis?
A purchase fee increases the money committed to the position, so including it produces a more complete per-share cost estimate. Tax treatment can vary by account and jurisdiction.
Can I use this calculator for crypto or fractional shares?
Yes. The arithmetic works for any asset measured in divisible units, including fractional shares and crypto. Confirm how your exchange reports fees and cost basis.
Why can’t the target equal the planned purchase price?
A weighted average approaches the new purchase price as more shares are bought but does not reach it with a finite purchase while the existing higher-cost position remains.
Why might my broker show a different average?
Brokers may use separate tax lots, FIFO or another disposal method, wash-sale adjustments, currency conversion, commissions, and corporate-action adjustments. Use brokerage records for reporting.
Does a lower average cost reduce investment risk?
No. Buying more increases exposure to the same asset. A lower break-even price does not guarantee recovery or improve the underlying investment.
Related tools: model long-term contributions with the Compound Interest Calculator, estimate doubling time with the Rule of 72 Calculator, or browse all Richerly calculators. See all assumptions in the methodology.