Calculate the total cost of opening, holding, and closing a perpetual swap position including entry fees, exit fees, and cumulative funding payments.
Trading perpetual swaps involves multiple layers of costs that many traders overlook: entry fees (opening the position), exit fees (closing the position), and funding rate payments (paid or received while holding). Each layer chips away at your profitability, and together they can represent a significant drag on returns.
This calculator provides a complete cost breakdown for a perpetual swap trade. By entering your position details, fee rates, and expected holding period, you'll see exactly how much the trade costs before any profit or loss from price movement. This helps you set realistic profit targets that exceed your total trading costs.
Understanding all-in costs is especially important for high-frequency traders, scalpers, and anyone using significant leverage, where costs represent a larger percentage of the expected profit.
Crypto traders, long-term holders, and DeFi participants benefit from transparent crypto perpetual swap cost calculations when planning entries, exits, or portfolio rebalances. Revisit this calculator whenever market conditions shift to keep your strategy grounded in accurate data.
Knowing your total trading cost ensures you set profit targets high enough to cover all fees. A trade that makes 0.5% on paper but costs 0.3% in total fees only nets 0.2% — a 60% reduction. This calculator prevents the common mistake of ignoring cumulative costs that erode trading profitability.
Entry Fee = Position Size × Entry Fee Rate Exit Fee = Position Size × Exit Fee Rate Funding Cost = Position Size × Funding Rate × Number of Periods Total Cost = Entry Fee + Exit Fee + Funding Cost Break-Even Move = Total Cost / Position Size × 100
Result: Total cost: $70 | Break-even: 0.14%
Opening a $50,000 position: Entry fee = $50,000 × 0.04% = $20. Exit fee = $20. Funding over 6 periods (2 days) = $50,000 × 0.01% × 6 = $30. Total cost = $70, representing 0.14% of the position. The price must move at least 0.14% in your favor just to break even.
Perpetual swap costs have three components. Entry and exit fees are fixed one-time costs proportional to position size. Funding is a variable ongoing cost that depends on market conditions and holding duration. For quick scalp trades (minutes to hours), fees dominate. For swing trades (days to weeks), funding dominates. Understanding this helps optimize your trading style for cost efficiency.
Professional traders aggressively manage costs. They maintain VIP tier status across multiple exchanges for the lowest fees. They use limit orders almost exclusively. They time entries to occur just after funding payments rather than just before. They also factor exchange referral programs and fee discount tokens into their cost calculations.
While leverage doesn't change the fee rate, it dramatically increases the fee relative to your equity. A 0.04% taker fee on a 20x leveraged position represents 0.8% of your margin. Round-trip (open + close) costs 1.6% of equity. At that rate, you need significant price movement just to cover fees, making high-leverage scalping mathematically very challenging.
Most major exchanges charge 0.02-0.05% for maker orders and 0.04-0.075% for taker orders. VIP tiers can reduce these to 0.01% maker / 0.03% taker or even lower. Funding rates typically average 0.01% per 8-hour period but vary significantly with market conditions.
Maker fees apply to limit orders that add liquidity to the order book. Taker fees apply to market orders or limit orders that execute immediately. Makers provide liquidity (beneficial to the exchange) so they pay less. Some exchanges even offer negative maker fees (rebates).
Fees are calculated on the notional position size, not your margin. At 10x leverage with $5,000 margin, your position is $50,000 and all fees are calculated on $50,000. This means your total fee as a percentage of margin is 10x higher than the stated rate.
Yes, especially for larger orders or less liquid markets. Slippage can add 0.01-0.5% to your costs depending on order size and market depth. For accurate cost estimation, add expected slippage to the taker fee rate.
Use limit orders for maker fee rates. Increase exchange volume for VIP tier discounts. Choose exchanges with competitive fee structures. Hold positions for shorter periods to minimize funding costs. Use referral codes or fee discount tokens if available.
The break-even price move is the minimum percentage the price must move in your favor to cover all trading costs. If total cost is 0.14% of position, the price must move 0.14% in your direction just to avoid losing money. Your profit target should be significantly above this.