TALENTRE

Execution

Crypto position sizing: calculate your order size after fees

Metal caliper measuring a stack of black order cards beside the title Position Sizing

A fixed buy amount produces different losses on different trades. A wider exit level, another entry and transaction costs all change the exposure. Start with the amount you plan to risk, then calculate the position that fits it. A stop price is an assumption about the exit, not a guaranteed fill.

In this article

Separate the purchase amount from the planned loss

For an unleveraged spot purchase, record the intended entry price, the lower price at which you plan to exit, and a cash loss budget. Keep all three in the same currency. A percentage of your account becomes useful only after you convert it into that cash amount.

The purchase amount is the capital committed. The planned loss is the difference between entry cost and exit proceeds under your assumptions. With a thinly traded token, failure to exit can expose far more than that planned loss.

Choose the exit level from the condition that invalidates the trade. Moving it closer just to make a larger position fit the spreadsheet changes the strategy. There is no universal risk percentage suitable for every account or token.

Calculate token quantity and order value

Before costs, the spot position sizing formula is:

Token quantity = cash loss budget ÷ (entry price − planned exit price)

Multiply that quantity by the entry price to get the purchase value. Alternatively, express the distance as a fraction of entry: stop distance = (entry − exit) ÷ entry. Then purchase value = cash loss budget ÷ stop distance.

These expressions describe the same position in different units. Dividing dollars by a dollar price difference produces tokens, not dollars. Confusing the two is enough to oversize an order.

Use an entry above the planned exit for this long-spot model. Round the resulting token quantity down to the venue's permitted precision. Also cap the purchase at the cash actually available after charges; a very narrow stop can otherwise produce a position larger than the funded account.

Deduct costs before allocating the loss budget

For fees charged separately on each side's traded value, use the following fee-aware calculation. It assumes the whole position exits at the planned price, with no additional execution shortfall.

N = (R − C) ÷ [d + b + (1 − d) × s]

InputMeaning
NPurchase value before separately charged fees
RPlanned cash loss budget
CCombined fixed entry and exit costs in the same currency
dDistance from entry to planned exit, as a decimal fraction
b and sEntry and exit percentage fee rates, each expressed as a decimal

The denominator contains price loss, the entry fee and the fee on the lower exit value. If fixed costs already consume the loss budget, this model allows no positive position.

Run the candidate order value through Talentre's trading fee calculator to inspect the platform, network and other charges together. It models equal per-side fee settings and an unchanged trade value for its round-trip cost estimate. Use the formula above when sizing against a lower exit price or different entry and exit fee rates.

Do not add a fee again when it is already included in the effective execution price. If the app deducts fees from the tokens received, work from actual net token quantity and cash paid. The basic check remains: entry cash spent − expected net exit cash ≤ planned loss budget.

Check whether that quantity has a usable exit

The calculation assumes a sale at one price. A market stop can fill below its trigger; a stop-limit can remain unfilled when the market trades through its limit. On a decentralized venue, a triggered swap still needs a usable route and a transaction that lands.

Request a sell quote for the intended token quantity before funding the full position. Inspect the net amount received and the order's execution bound. That is a current liquidity check, not proof of what the market will pay after a sell-off.

If the quote cannot support the order size, reduce the quantity or leave the trade. A wider slippage setting authorizes a worse fill; it does not restore the original loss budget. The slippage and price-impact guide explains how those bounds differ.

Recalculate the whole position after another buy

Every additional fill changes both the token quantity and the average acquisition cost. Recalculate from total cash spent, total tokens held and expected net proceeds at the planned exit. Giving each buy a separate allowance can leave the combined position larger than the original plan.

After a partial sale, keep two records: realized proceeds from tokens already sold and the exposure of tokens still held. Update any exit order to the remaining quantity. A previous profit does not change the amount of capital still exposed to a failed exit.

Frequently asked questions

How do I calculate crypto position size?

For an unleveraged long spot trade before costs, divide the planned cash loss by the difference between entry and exit prices. The result is token quantity. Multiply by entry price for purchase value, then account for fees and available cash.

Is risking 1% of an account the same as buying with 1% of it?

No. The risk budget is the loss you plan around. The purchase amount depends on the distance to the planned exit and trading costs. A small purchase can still lose its full value when an exit fails.

Does a stop-loss guarantee my calculated loss limit?

No. A market stop can fill at a worse price, and a stop-limit can remain unfilled. The calculation is conditional on the assumed execution price and costs; it is not a maximum-loss guarantee.

How should network fees affect position sizing?

Include expected fixed entry and exit charges in the same currency as the loss budget. Deduct those costs before allocating the remainder to price loss and percentage fees. Use your route estimates rather than a universal network-fee amount.

Can I use the Talentre fee calculator as a position size calculator?

Use it for the cost component. It estimates entry, exit and break-even costs from your inputs. It does not choose a loss budget, stop level or position size; the formulas in this article connect those inputs.

Does this formula cover leveraged crypto positions?

This article covers unleveraged long spot positions. Derivatives also require contract specifications, margin, liquidation and funding costs. A spot purchase-value formula alone does not model them.

Questions or corrections? Contact the Talentre team.

← All articles