Calculate price per coin, dollar-cost average, and break-even sell price from coin cost, quantity, and optional sale fees for crypto purchases.

Optional settings


Calculator Functions

FunctionWhat it doesWhat it requires
Basic ยท price per coinFinds the price paid for each coinRequires the total cost and the number of coins
Basic ยท total costFinds the total cost of a purchaseRequires the price per coin and the number of coins
Basic ยท number of coinsFinds how many coins an amount buysRequires the total cost and the price per coin
Average ยท 1โ€“3 purchasesFinds the average cost per coin across up to three purchases of the same coinRequires the cost and coin count of the first purchase. A second and third purchase are optional
Break-even ยท sell priceFinds the sell price per coin that returns the acquisition cost after a percentage sell feeRequires the total cost, the number of coins and the sell fee in percent
Break-even ยท recoverable costFinds the acquisition cost that a sale at a given price would recover after the feeRequires the price per coin, the number of coins and the sell fee in percent
Break-even ยท number of coinsFinds how many coins must be sold at a given price to recover a cost after the feeRequires the total cost, the price per coin and the sell fee in percent

All amounts are in US dollars and fractional coins are allowed. Buying fees belong in the total cost. A blank sell fee counts as no fee.

Price Per Coin Formulas

P = C รท n
PPrice per coin ($)
CTotal cost, including buying fees ($)
nNumber of coins

Basic ยท price per coin

The formula above applies directly. Paying $500 for 100 coins is $500 รท 100 = $5 per coin.

Basic ยท total cost

C = P ร— n

Buying 100 coins at $5 each costs $500.

Basic ยท number of coins

n = C รท P

A budget of $500 at $5 per coin buys 100 coins. Both the cost and the price must be above zero.

Average ยท 1โ€“3 purchases

Pavg = (Cโ‚ + Cโ‚‚ + Cโ‚ƒ) รท
(nโ‚ + nโ‚‚ + nโ‚ƒ)

The combined cost is divided by the combined number of coins, so each purchase counts in proportion to its size. Buying 100 coins for $500 and then 50 coins for $300 gives $800 รท 150 = $5.33 per coin, not the $5.50 midpoint of the two prices. Dollar-cost averaging means investing equal amounts at regular intervals, which buys more when the price is low and less when it is high [1]. This function averages any purchases entered, equal or not.

Break-even ยท sell price

S = C รท n รท (1 โˆ’ f)

S is the sell price per coin and f is the sell fee as a decimal. A percentage fee is taken from the sale, so net proceeds are S ร— n ร— (1 โˆ’ f), and break-even is the price at which they equal the cost. For 100 coins that cost $500 and a 1% fee, S = 5 รท 0.99 = $5.0505 per coin.

Break-even ยท recoverable cost

C = S ร— n ร— (1 โˆ’ f)

Selling 100 coins at $5 with a 1% fee brings in $500 before the fee and $495 after it, so $495 is the largest acquisition cost the sale covers.

Break-even ยท number of coins

n = C รท S รท (1 โˆ’ f)

Recovering $500 at $5 per coin with a 1% fee takes 500 รท 5 รท 0.99 = 101.01 coins.

Limits of This Estimate

  • The break-even functions cover a percentage sell fee only. Taxes, flat fees, withdrawal fees and price movement while an order fills are left out.
  • Exchanges accept prices in fixed steps. A break-even sell price should be rounded up to the next valid step, or the sale falls slightly short.
  • There is no live market price and no currency conversion. The average cost says what was paid, not how the investment will perform.

Sources