Axonix Tools
Cost Basis Engine

Average Cost Calculator

Calculate your DCA average buy price, cost basis, and break-even in seconds. Built for stocks and crypto with zero APIs or accounts.

Buy Price

Quantity

Fees

Entry total$4,202.50

Buy Price

Quantity

Fees

Entry total$5,702.50

Buy Price

Quantity

Fees

Entry total$3,762.50
$41,416.67

Cost basis per BTC unit

$1,182.50

8.65% vs. cost basis

Position Summary

Total Invested

$13,667.50

Total Units

0.33

Total Fees

$7.50

Current Value

$14,850.00

Based on $45,000.00 per unit

ROI

8.65%

Break-even at $41,416.67

DCA Clarity

Aggregate multi-buy positions into a single cost basis.

Fee Inclusive

Include broker or exchange fees for true break-even.

Instant P/L

Update prices and see profit or loss in real time.

Built With Care

Understanding your true 'average cost' is critical for trading psychology. Many beginners only track their buy price, ignoring exchange fees (0.1% - 1.5%), which raises their actual break-even point. This tool factors in those hidden costs, ensuring you don't exit a trade prematurely thinking you are in profit when you are actually just covering fees.

Average Cost & DCA Calculator

Calculate your Dollar Cost Averaging (DCA) average buy price, total cost basis, and break-even point for stocks and crypto. Axonix's free calculator accounts for trading fees to give you the true profitability of your position.

average cost calculatorstock average calculatorcrypto DCA calculatorcost basis calculatorbreak even calculator
How to Use Average Cost & DCA Calculator
  • 1Enter your asset ticker or name (for example, BTC or AAPL).
  • 2Add each purchase with the buy price, quantity, and any fees paid.
  • 3Set a current price to calculate unrealized profit or loss instantly.
  • 4Review the average cost, break-even price, and total invested amount.
  • 5Copy the summary to share or save your cost basis snapshot.
Key Features
  • Multi-buy Cost Basis: Calculates a single average price across all purchases.
  • Fee-aware Break-even: Includes trading fees so your break-even is accurate.
  • Instant Profit/Loss: See P/L and ROI update in real time as you edit values.
  • Stock + Crypto Ready: Works for shares, tokens, or any unit-based asset.
  • Instant Calculations: Results update in real time as you enter new data points.

Average Cost & DCA Calculator Specs

Limits

  • DCA-style entries (price × quantity + fee)
  • Tracks cost basis and average price

Formats

  • Output: total invested, average price, current value, P&L

Defaults

  • 3 BTC entries prefilled

How it works

  • Plain JS arithmetic on entry array

Honest caveats

  • Does not pull live prices — current price is manual
  • Fees are added to cost basis

Real Ways People Use This

Dollar Cost Averaging (DCA)

Determine your new average entry price after buying more of an asset as its price drops (buying the dip).

Tax Planning

Estimate your total cost basis to calculate potential capital gains or losses before making a sale.

Exit Strategy

Find the exact price you need to sell at to break even or hit a specific profit target after multiple buy-ins.

Crypto Accumulation

Track the average price of your Bitcoin or Ethereum stack across multiple exchanges and fee tiers.

Important Notes
  • Fees are included in the cost basis calculation, but the tool does not model commissions, spreads, or slippage that may occur during actual trades.
  • Rounding to two decimal places means the final average cost may differ by a fraction of a cent compared to a spreadsheet using full precision.
  • Current price is entered manually. The tool does not fetch live market data, so P/L figures depend on the accuracy of the value you provide.
  • This tool is for informational purposes only and should not be used as the sole basis for investment decisions.
Quick Checklist
  • 1Include every purchase — quantity and buy price for each order, including fees — so the average is not skewed.
  • 2Enter today's market price manually to get a current profit or loss reading.
  • 3Cross-check the break-even price against your broker's cost-basis records.

Questions That Usually Come Up

More Tools You’ll Actually Use