Average cost & additional purchase calculator

Inputs stay in page memory and reset on reload. Files and clipboard copies are created only on request.
Changing currency or asset resets inputs.

Changing currency or asset resets inputs.

Enter the actual fee, or explicitly enter 0. Fees deducted from the purchased asset reduce net quantity and are not added again to quote costs.

A calculation increment, without verified venue rules. Risk quantity rounds down; break-even price and target quantity round up.

Purchases 1

Enter the actual fee, or explicitly enter 0. Fees deducted from the purchased asset reduce net quantity and are not added again to quote costs.

Results

Enter values to calculate.

Calculation basis
Execution average = Σ(price × gross quantity) / Σ(gross quantity)
Cost per unit = total quote spent / net quantity
Target quantity = ceil to increment [ (target × D₀ − N₀) / (c − target × u) ]

Purchases of 1 at 100 and 1 at 80 average 90. Adding 1 at 60 without fees produces total spending of 240, quantity 3 and average 80.

Purchases of the same asset and quote currency

References