Crypto average cost calculator: average down with fees
Enter up to five buys with price and quantity, plus your fee rate, to see the average cost per unit, the total quantity and, with a current price, the profit or loss. Free, no sign-up required.
How is crypto average cost calculated?
Average cost is everything you paid, fees included, divided by the total quantity you received. Each buy counts by its size, so it is not the simple average of the prices.
Total bought = sum of (price × quantity)
Total fees = total bought × fee rate ÷ 100
Average cost = (total bought + total fees) ÷ total quantity
With a current price the calculator adds three rows:
Current value = current price × total quantity
Profit or loss = current value − (total bought + total fees)
Profit or loss % = profit or loss ÷ (total bought + total fees) × 100
The profit or loss here is unrealized and leaves out the fee you would pay on selling. For a sale with its own fee, use the crypto profit calculator.
Worked example
Hypothetical example: three buys of one asset at a 0.1% fee, with a current price of 1,400. These are the calculator's default values.
| Buy | Price | Quantity | Amount |
|---|---|---|---|
| 1 | 2,000 | 0.5 | 1,000.00 |
| 2 | 1,600 | 0.75 | 1,200.00 |
| 3 | 1,250 | 1.2 | 1,500.00 |
| Total | 2.45 | 3,700.00 |
Fees: 3,700 × 0.1% = 3.70 USDT, so the total cost is 3,703.70 USDT. Average cost: 3,703.70 ÷ 2.45 = 1,511.7143 USDT. Before fees the average is 3,700 ÷ 2.45 = 1,510.2041 USDT, while the simple average of the three prices would be 1,616.67.
At 1,400 the holding is worth 2.45 × 1,400 = 3,430.00 USDT, a loss of 273.70 USDT, or −7.39% of the cost.
Does averaging down reduce a loss?
No. Averaging down lowers the average price and raises the amount exposed; the loss already made on earlier buys stays where it is.
In the example, the first buy alone cost 1,001.00 USDT with its fee and is worth 700.00 USDT at 1,400, a loss of 301.00 USDT. That figure does not change when you buy more. The total of −273.70 USDT is the sum of three separate results: −301.00, −151.20 and +178.50 USDT.
What does change is the exposure. A further 10% fall from 1,400 is 140 per unit. On the first buy's 0.5 units that costs 70.00 USDT; on the full 2.45 units it costs 343.00 USDT. The percentage loss looks smaller only because the amount invested grew from 1,001.00 to 3,703.70 USDT.
The break-even price before selling fees does fall, from 2,002.00 to 1,511.7143, but it says nothing about whether the price will get there. Crypto can lose all its value: FINRA's investor page calls the risk of losing all of your investment significant. This page does not suggest whether to buy again or at what price.
Fees paid in the quote currency or taken from the coin
The calculator adds the fee on top of each buy in the quote currency. Platforms differ: some take the fee from the asset you receive, and Kraken's fee article, for example, says the order form lets you state a preferred fee currency that it may not always honor.
If the fee came out of the coin, enter the quantity you actually received, enter the amount paid ÷ that quantity as the price, and set the fee rate to 0. A hypothetical buy of 1 unit at 1,000 with a 0.1% fee taken from the coin delivers 0.999 units, so the price to enter is 1,000 ÷ 0.999 = 1,001.001, which is also the average cost. Paying the same fee on top gives 1,001.00. The averages are close, but the quantity you can sell later is not the same.
Your trade confirmations and the platform's order history show the price, the filled quantity and the fee for each fill. A single order that filled in parts can be entered as one row with its average price and total quantity, or as separate rows.
Average cost basis and decimals
The result is a running average for your own records, not a tax report. In the United States, IRS FAQ 8 on virtual currency says basis includes fees, commissions and other acquisition costs, and FAQ 39 to 41 let you identify the units you sold or else treat them as sold first in, first out, so a blended average may not match a tax form. Check the rule where you are taxed. The Turkey crypto tax guide covers what applies there as of November 2026.
Quantities can have up to 8 decimals in the result. Prices show up to 8 decimals below 1 and six significant digits below 0.0001, so low-priced assets keep their detail. The quote currency field changes the label only: mixing buys made in different currencies needs a conversion first.
For readers in Turkey, Article 99/A of Capital Markets Law No. 6362 treats foreign platforms' activity aimed at Turkish residents as unlicensed, and this page names a platform only as a source on how fees work. How the same calculation fits repeated buys in software is in DCA bot explained.
Which values to enter
- Quote currency: USDT, USD or TRY, as a label for the results.
- Fee rate: the rate you actually paid; the 0.1% default is only an example. If rates differed between buys, use the fee amounts to work out one blended rate.
- Price and quantity: one row per buy, up to five. Empty rows are skipped; a row with only one of the two values shows an error.
- Current price: optional. Leave it empty to see only the average.
To compare with a fixed amount spent each time rather than a fixed quantity, use the crypto DCA calculator.
Frequently asked questions
How do I calculate my average crypto price?
Multiply each buy's price by its quantity, add the results and the fees, then divide by the total quantity. Buys of 0.5 at 2,000, 0.75 at 1,600 and 1.2 at 1,250 with a 0.1% fee average 1,511.7143.
Does averaging down reduce my loss?
No. It lowers the average price and raises the amount exposed. The loss on earlier buys stays the same, and a further fall now costs more because you hold more units.
Should fees be included in the average cost?
Including them shows the price you need just to recover what you paid, before any selling fee. The calculator shows the average with fees and without them, side by side.
What if the fee was taken from the coin I received?
Enter the quantity you actually received, enter the amount paid divided by that quantity as the price, and set the fee rate to 0. The quantity then matches your real balance, and the average still carries the fee.
Is this the same as my cost basis for tax?
Not necessarily. Tax rules decide which units count as sold and which costs are included, and they differ by country. Use this as a running average and check the rule that applies to you.
Sources
- IRS: Frequently asked questions on virtual currency transactions (FAQ 7, 8 and 39 to 41) (opens in a new tab)
- FINRA: Crypto assets, risks (opens in a new tab)
- Kraken Support: How trading fees work (opens in a new tab)
- Capital Markets Law No. 6362, consolidated text, Article 99/A (Turkish) (opens in a new tab)
This calculator is general information, not tax, legal or investment advice. Results depend on the values you enter; fees, margin rules and tax rules differ by exchange and country and change over time, so check the official source and ask a licensed adviser about your own situation. Sources, checks and corrections: see the editorial policy.
Related guides
Send a short project brief
The form or an email is enough. You do not need to share your rules yet.
- The exchange or platform you use
- What the software should do
- Your target timeline
- Project briefs and business inquiriesinfo@fincodelabs.com
- WhatsApp (messages only)+90 545 697 41 15 (opens in a new tab)