Simple investing clarity

Know your true average stock cost.

Calculate your dollar cost average, total investment, current position value, and profit or loss in seconds.

1. Add purchasesEnter each purchase price and shares bought.
2. See average costInstantly see your average cost per share.
3. Check positionView total value and profit or loss.
Advertisement space

Stock average calculator

Add every purchase to calculate your blended cost basis.

Purchase price ($)
Shares bought
Average cost per share
$0.00
Total invested
$0.00
Total shares
0
Current value
$0.00
Profit / loss
$0.00
0.00%

Results update automatically as you type β€” no button needed.

Current position

Sell calculator (optional)

Advertisement space
The simple guide

What is dollar cost averaging?

Dollar cost averaging, commonly called DCA, is an investing approach where you buy an asset in multiple transactions over time rather than investing everything at once. Since market prices move constantly, each purchase is likely to have a different entry price. This stock average calculator combines those purchases into one clear view of your position.

Knowing your average stock price helps you understand when your investment reaches breakeven and how strongly price changes affect your portfolio. It is especially useful for long-term investors who add to positions during market pullbacks, recurring investment plans, or periods of uncertainty.

Average cost = Total invested Γ· Total shares

To use the calculator, enter the price and number of shares for each purchase. Add as many rows as needed, then optionally enter the current share price to see your market value, dollar profit or loss, and percentage return. You can also enter a sale to estimate remaining shares and realized profit or loss. Results are estimates and do not account for commissions, taxes, dividends, or currency conversion.

Frequently asked questions

What is dollar cost averaging?

Dollar cost averaging is a strategy of investing a fixed amount or making regular purchases over time, regardless of market price. It can reduce the impact of short-term market volatility.

How do I calculate my average stock price?

Multiply each purchase price by its share quantity, add the purchase amounts together, and divide the total investment by the total number of shares.

What is the difference between average price and cost basis?

Average price is your cost per share. Total cost basis is the total amount invested in the shares you currently hold.

Does this calculator include trading fees?

No. It does not automatically include commissions, taxes, dividends, or currency conversion costs. Include applicable fees in your own purchase records for a more complete estimate.

Can I use this calculator for fractional shares?

Yes. Enter fractional quantities such as 0.25, 1.5, or 3.75 in the shares field.

Is my investment data stored anywhere?

During ordinary calculator use, calculations happen locally in your browser and StockDCA does not receive the values you type. If you create or open a share link, the inputs are encoded in the URL (base64), not encrypted, and the URL may appear in browser history or hosting logs. Only share links with people you trust.

Advertisement space