How to use
Click "Add buy" and enter the amount invested and price for each purchase. Optionally enter the current price to see floating P&L.
Results show total invested, coins held, average cost, current value, floating P&L and return.
Formulas
Σ (investment ÷ buy price) per buyTotal invested ÷ coins heldCoins held × current price − total investedExample
Buy 1,000 USDT each at 3,000 / 2,500 / 2,000: total 3,000 USDT, coins ≈ 1.2333, average cost ≈ 2,432 — below the simple average of 2,500, showing the effect of buying more at lower prices.
Average cost example table
| Buy legs | Total invested | Coins held | Average cost |
|---|---|---|---|
| 500 @ 90 + 500 @ 110 | 1,000 USDT | 10.10101 | 99 |
| 600 @ 80 + 400 @ 120 | 1,000 USDT | 10.833333 | 92.31 |
| 1,000 @ 100 | 1,000 USDT | 10 | 100 |
Average cost = total invested ÷ coins held ("Buy legs" format: amount @ price).
Notes
Fees are excluded. A lower average cost does not shrink losses — floating P&L depends on current price vs total invested.
FAQ
How is average cost calculated?
Average cost = total invested ÷ coins held, where coins = Σ (investment ÷ buy price). It is weighted by money, not a simple price average.
Why does buying more at lower prices lower the average?
The same dollar amount buys more coins at a low price, tilting your cost basis down. In the example the simple average is 2,500 but the weighted cost is ≈ 2,432.