Quantity comes first, value second
Position value is not "how much I put in" — it is "what these coins are worth at the current price".
So work out the total quantity first: divide each buy's amount by its price, then add the results.
Formulas
amount i ÷ buy price isum of coins across all buystotal invested ÷ total coinstotal coins × current priceholdings value − total investedunrealised P&L ÷ total invested × 100%Worked example (recompute it yourself)
Three buys of 1,000 USDT each, at 30,000 / 25,000 / 20,000 USDT, with the current price at 30,000 USDT:
Coins per buy = 0.033333 / 0.04 / 0.05, so total coins = 0.123333 and total invested = 3,000 USDT.
Average cost = 3,000 ÷ 0.123333 ≈ 24,324.32 USDT.
Holdings value = 0.123333 × 30,000 = 3,700 USDT; unrealised P&L = 3,700 − 3,000 = 700 USDT, a return of +23.33%.
Notes
Value here is book value: selling would incur fees and slippage, so the cash you receive would be below the figure shown.
With quantity unchanged, value moves only with price — it has nothing to do with your average cost. Average cost only sets the P&L baseline.
This is bookkeeping arithmetic and not a buy or sell recommendation.
FAQ
What is the difference between value and cost?
Cost is the 3,000 USDT you invested; value is what the position is worth at the current price, 3,700 USDT. The 700 USDT gap is the unrealised P&L.
Average cost 24,324 is below the 30,000 price — does that mean I am definitely in profit?
At the current price, yes on paper: 700 USDT, or +23.33%. But it is unrealised, and selling fees would reduce what you actually receive.
Do I have to enter every buy separately?
Yes. Enter the amount and price for each buy; the calculator converts each into coins and sums them. Only accurate inputs give an accurate value.