Multiple fills / One true cost basis

Crypto Average Entry Price Calculator

Combine multiple buys or same-direction futures fills into one weighted entry price, then measure fees, break-even, current PnL, and the size needed to reach a target average.

Weighted average Flexible fill rows Fees & break-even Target-average sizing
Average entry setup

Build the position

Position type
Amount input

Add each fill separately. Larger fills carry more weight than smaller ones.

01
Position value$700.00
02
Position value$1,360.00
Up to 12 fills per setup

Choose a possible next fill and the average price you want to reach.

The target must sit between your current average and the next fill price.

01 / Weighted averaging

Your largest fill should move the average the most

A simple average treats every price equally. A trading position does not. The correct average weights each entry by the quantity filled, so a large order changes the cost basis more than a small order.

Keep each fill separate

Enter every execution with its own price and size. Partial fills at different prices should not be merged before calculation.

Choose the right unit

Use asset quantity when the exchange shows coins or contracts. Use USDT amount when you know how much quote currency each entry used.

Use one direction

The weighted formula applies to spot buys and to scaling into a long or short. Reductions and direction flips require realized-PnL accounting.

02 / Formula

Weighted average and target-size formulas

Calcoring converts every entry to asset quantity and quote value before combining it. Fees are kept separate from the displayed weighted entry, then added to the break-even and net-PnL estimates.

01Average entry = Σ(Entry price × Quantity) ÷ Σ(Quantity)
02Total position value = Σ(Entry price × Quantity)
03Long break-even = (Entry value + Entry fees) ÷ [Quantity × (1 − Exit fee rate)]
04Quantity to add = Current quantity × (Current average − Target average) ÷ (Target average − New fill price)
03 / Fees and position changes

Cost basis and exchange position history are not always identical

The calculator is designed for entries that add exposure in the same direction. Trading platforms may use different realized-PnL and position-reset rules after partial closes or a direction flip.

  • Entry fees increase the effective cost of a spot or long position and reduce the proceeds of a short.
  • The estimated exit fee depends on the current price, because closing notional changes with price.
  • Funding and slippage are not part of the weighted entry price and should be evaluated separately.
  • After a partial close, use the exchange statement as the authoritative record of realized PnL and remaining position cost.
04 / Worked example

Two BTC entries with different sizes

Buying 0.01 BTC at $70,000 and 0.02 BTC at $68,000 creates 0.03 BTC with $2,060 of entry value. The larger second fill pulls the weighted average down to $68,666.67. At a 0.05% entry and exit fee, break-even is about $68,735.37. If BTC is $72,000, estimated net PnL is $97.89.

First fill0.01 BTC × $70,000
Second fill0.02 BTC × $68,000
Total quantity0.03 BTC
Weighted average$68,666.67
Fee-adjusted break-even≈ $68,735.37
Net PnL at $72,000≈ +$97.89
05 / Frequently asked questions

Average-entry questions

Why is the result not the simple average of my prices?

Because each price must be weighted by the quantity bought there. If two entries have different sizes, adding the prices and dividing by two is incorrect.

Can I enter USDT amounts instead of coin quantities?

Yes. Calcoring converts each USDT amount to quantity using that row’s price, then applies the same weighted-average formula.

Does the average entry include fees?

The main average shows the execution-weighted market price. Fees are shown separately and included in the fee-adjusted break-even and net-PnL results.

Does the formula work for shorts?

Yes for entries that add to the same short direction. The weighted entry formula is unchanged, while PnL direction and fee-adjusted break-even are reversed appropriately.

How much should I add to reach a target average?

The target tool solves for the quantity required at your proposed next fill price. The target must lie between the current average and that new price.

What happens after a partial close?

A partial close realizes some PnL, and exchanges can account for the remaining position differently. This page does not reconstruct realized trade history; use the exchange statement for that task.

Continue the position check

Project the exit and net result