📈 Free Stock Calculator — No Sign-up

Stock Average & Profit Calculator

Calculate your new average price after buying shares, plan a target average with a step-by-step buying plan, or compute profit & loss. Works for stocks, ETFs, mutual funds, and crypto.

$
$
New Average Price

What This Calculator Does

📊

Average Calculator

Enter your current holdings and a new purchase to instantly see your new average cost per share, total investment, and how much the average changed.

🎯

Target Average Planner

Set a target average price and see exactly how many shares to buy and at what price. If the market is too high, it shows what price to wait for.

📋

Buying Plan in Portions

Get a step-by-step DCA buying plan — multiple price levels with exact shares and cost at each stage to systematically reach your target average.

💰

Profit & Loss

See your total P&L, per-share gain/loss, and percentage return on your stock investment instantly.

🌐

Any Asset, Any Currency

Works for stocks, ETFs, mutual funds, and crypto. Supports USD, AED, INR, GBP, EUR, or any currency.

🔒

No Sign-up, 100% Free

All calculations run locally in your browser. No data is stored, no account needed, no usage limits. Completely free forever.

How It Works

1

Enter Your Holdings

Number of shares you own and your current average buy price.

2

Set Your Goal

New purchase details, target average price, or current price for P&L.

3

Get Instant Results

New average, shares to buy, required price, profit/loss — with a detailed buying plan.

Frequently Asked Questions

Average price = Total amount invested ÷ Total number of shares. For example, if you bought 100 shares at $50 and 50 shares at $40: Average = (100×$50 + 50×$40) ÷ 150 = $46.67 per share. This is also known as your cost basis per share.
Averaging down means buying more shares after the price has fallen, which reduces your overall average cost per share. For example, if you own 100 shares at $50 and buy 100 more at $40, your new average drops to $45. This strategy is beneficial if the stock recovers, but increases risk if the price keeps falling. Always evaluate the company's fundamentals before averaging down.
Averaging up means buying more shares after the price has risen, which increases your average cost but lets you add to a winning position. For example, if you own 100 shares at $40 and buy 50 more at $60, your new average becomes $46.67. Traders often average up when a stock breaks through resistance levels and they expect continued upward momentum.
Shares needed = (Current Shares × (Current Avg − Target Avg)) ÷ (Target Avg − Buy Price). For example, if you own 200 shares at $50 and want to reach $45 by buying at $35: Shares = 200 × (50−45) ÷ (45−35) = 100 shares. Our Target Average mode does this calculation instantly. If the market price is too high, it also tells you what price to wait for.
Profit/Loss = (Current Price − Average Buy Price) × Total Shares. If the result is positive, you're in profit; negative means a loss. Percentage return = ((Current Price − Avg Price) ÷ Avg Price) × 100. For example, 200 shares at $45 average, current price $54: Profit = (54−45) × 200 = $1,800 or +20%.
Dollar cost averaging is an investment strategy where you invest a fixed amount at regular intervals, regardless of the stock price. When prices are low, you buy more shares; when prices are high, you buy fewer. Over time, this smooths out the average purchase price and reduces the impact of market volatility. Our "Buying Plan in Portions" feature helps you plan a DCA strategy toward a target average.
Only average down if the stock's fundamentals remain strong and you believe the price drop is temporary. Never average down just to lower your cost basis — that's a common trap that leads to larger losses. Ask yourself: "Would I buy this stock at today's price if I didn't already own it?" If the answer is no, consider cutting your losses instead. Always prioritise diversification and risk management.
When the current market price is too high to reach your target average, the calculator generates a step-by-step plan. It divides the price gap into multiple levels and calculates exactly how many shares to buy at each price point, the cost at each stage, and your running average after each purchase. This helps you prepare in advance — save the required amount and execute each portion when the price reaches that level.
Yes. The average price formula is universal — it works for individual stocks, ETFs, index funds, mutual funds, cryptocurrency (Bitcoin, Ethereum, etc.), commodities, and any asset where you buy units at different prices. Just enter the number of units and the price per unit.
Cost basis is the total amount you paid for an investment, including the average price per share. It's essential for calculating capital gains tax when you sell. A lower cost basis means more profit (and potentially more tax) when you sell at a higher price. Accurate cost basis tracking is required for tax filing in most countries, including the US (IRS Schedule D) and India (LTCG/STCG).
Your data is completely safe. All calculations run locally in your browser — no data is sent to any server, no information is stored, and no cookies are used. You can even use this calculator offline once the page has loaded.

Related Calculators

⚠️ Disclaimer: This calculator provides estimates for informational purposes only. Actual returns depend on market conditions, brokerage fees, taxes, and other factors. This is not financial advice. Consult a certified financial advisor before making investment decisions.