Stock Target Cost Calculator
This stock target cost calculator helps you plan purchases to reach a target stock position. Enter the stock price and your desired number of shares or dollar amount to calculate the total cost, shares needed, and investment breakdown.
Current Position
Target Position
Frequently Asked Questions
What is a stock target price?
A stock target price is the price level at which an investor plans to buy or sell a stock. For buying, it represents the ideal entry point based on fundamental or technical analysis. For selling, it is the price at which you expect to take profits. Analysts set target prices based on earnings projections, valuation models, and market conditions. Target prices help investors make disciplined decisions rather than reacting emotionally to market fluctuations.
How do you calculate total cost of stock purchase?
Total cost of a stock purchase equals the number of shares multiplied by the price per share, plus any commissions or fees. The formula is: Total Cost = (Shares x Price Per Share) + Commissions. For example, buying 200 shares at $75 with a $5 commission costs (200 x $75) + $5 = $15,005. If you are using a zero-commission broker, the total cost is simply the share count times the price.
How many shares should I buy?
The number of shares to buy depends on your total investment budget, the stock price, and your portfolio allocation strategy. A common approach is the position sizing method: decide what percentage of your portfolio to allocate to a single stock (typically 2-10%), then divide that dollar amount by the share price. For example, with a $50,000 portfolio and 5% allocation, you would invest $2,500. At $50 per share, that equals 50 shares.
What is position sizing?
Position sizing determines how much money to invest in a single stock or trade relative to your total portfolio. It is a key risk management technique that limits potential losses. Common methods include fixed percentage (investing a set percentage of portfolio per trade), volatility-based (adjusting size based on stock volatility), and Kelly criterion (optimizing size based on win probability). Most financial advisors recommend no more than 5-10% of your portfolio in any single stock.
How do commissions affect total purchase cost?
Commissions increase your total purchase cost and effectively raise your break-even price. While many major brokers now offer zero-commission stock trading, some brokers, international markets, and certain order types still carry fees. For frequent traders making small purchases, even small commissions can add up significantly over time. A $10 commission on a $500 purchase adds 2% to your cost, but on a $10,000 purchase it adds only 0.1%. Always factor commissions into your investment planning.
Should I buy stocks all at once or in stages?
Both approaches have merits. Buying all at once (lump sum) statistically produces higher returns about two-thirds of the time because markets tend to rise over time. Buying in stages (dollar cost averaging) reduces the risk of investing your entire amount at a market peak and can lower your average cost if prices decline. DCA also reduces emotional stress and is practical when investing from regular income. Consider your risk tolerance, time horizon, and conviction level when choosing.
How do I set a realistic price target?
Set realistic price targets using a combination of fundamental analysis (P/E ratio, revenue growth, industry comparisons) and technical analysis (support/resistance levels, moving averages). Research analyst consensus price targets for professional guidance. Consider setting multiple targets: a conservative target based on historical averages, a base case using moderate growth assumptions, and an optimistic target for best-case scenarios. Always reassess targets when the company reports earnings or market conditions change significantly.
How to Calculate Stock Target Cost and Required Shares
The Stock Target Cost Calculator helps investors estimate how many additional shares they need to buy to pull an existing position toward a target average cost per share. It is useful for averaging down, planning staged entries, and testing position-building scenarios before placing an order.
Table of Contents
Key Concepts
The calculator works from these core ideas:
- Average cost basis: The weighted average price paid across all shares in the position.
- Target cost: The average cost you want to reach after buying more shares.
- Required shares: The number of additional shares you need to purchase at the current market price.
- Required investment: The cash needed to buy those additional shares.
Calculation Formula
If the target cost sits between your current average cost and the current market price, the calculator solves the number of shares to buy using these formulas:
Required Shares
Required Shares = (Current Shares × (Current Cost - Target Cost)) ÷ (Target Cost - Current Price)
Required Investment
Required Investment = Required Shares × Current Price
New Average Cost
New Average Cost = (Current Total Value + Required Investment) ÷ (Current Shares + Required Shares)
Investment Strategy and Position Averaging
You can use this calculator when you want to:
- Average down after a pullback in a fundamentally sound company
- Build a position gradually instead of buying all at once
- Rebalance a concentrated stock position
- Compare whether the target price is actually achievable before committing capital
Real-World Example
Here is a simple averaging-down scenario:
Initial Position
- Current Shares: 1000
- Current Cost: $50.00 per share
- Target Cost: $45.00 per share
- Current Price: $40.00
Results
- Required Shares: 1000
- Required Investment: $40,000
- Final Position: 2000 shares at $45.00 average cost
This example reaches the target cost exactly because the target sits between the current average cost and the current market price.
Limitations and Considerations
Keep these constraints in mind:
- Transaction costs and commissions are not included in the calculation.
- Taxes can change the effective outcome of a trade.
- The calculator assumes the current market price is the execution price.
- If your current cost already equals the market price, the calculator cannot solve a new target.