logo
TradFi
Sign Up to 15,000 USDT in Rewards
Limited-time offer is waiting for you!

How to Calculate the Full Cost of a Phemex Futures Trade

Quick Answer: For a linear Phemex perpetual, estimate the full round-trip result from actual entry and exit fills, subtract the trading fee charged at each execution, and add or subtract any funding payments made while the position was open. The bid-ask spread and slippage affect those fills; do not add them a second time if you already used actual execution prices. Check the current fee tier and contract rules because maker/taker rates and funding vary.

A quoted futures fee rate answers only one part of a cost question. The result of a trade also depends on whether an order adds or removes liquidity, the price at which each order fills, how long the position remains open, and whether it crosses a funding timestamp. A trader can pay little in explicit fees and still lose money to a wide spread or an adverse fill. Conversely, a passive limit order may reduce the fee but fail to execute when the market moves.

This guide explains a calculation method for a USDT-settled linear perpetual. Inverse contracts settle and calculate notional differently, so their formulas should be taken from the specific contract rules. Use the current Phemex fee page and the trading screen for the actual rate, contract, and funding information before estimating a live order.

Start Trading on Phemex

What are the components of a futures trade’s cost?

There are explicit charges and execution effects. Trading fees are explicit. Funding is a periodic transfer between long and short positions when applicable. Spread and slippage are reflected in the prices at which a position is opened and closed. Borrowing cost is not a separate universal line item for every perpetual position; margin mechanics and product rules differ.

For a linear contract, entry notional is approximately the quantity of the underlying exposure multiplied by the entry fill price. The entry fee is entry notional multiplied by the fee rate applied to that fill. The exit fee uses the exit notional and the applicable exit rate. If one order fills in several parts, the platform may calculate fees per fill; the transaction record is the final reconciliation source.

For a long position, gross price P&L is quantity times (exit fill price − entry fill price). For a short position, reverse the price difference. Net P&L then subtracts entry and exit fees and any funding paid, or adds funding received. It also includes any other contract-specific charges that actually appear in the account record. Taxes and external funding of the account are separate questions.

Component Planning estimate Where to verify the actual result
Entry trading fee Entry notional × entry maker/taker rate Entry fill and fee record.
Exit trading fee Exit notional × exit maker/taker rate Exit fill and fee record.
Spread and slippage Difference between reference price and achievable fill Order book before trading; actual fill afterward.
Funding Position value × applicable funding rate at each event, with sign determined by the contract Contract funding history and account ledger.

The fee rate shown in an older tutorial should not be copied into a current cost estimate. Phemex’s 2024 fee tutorial illustrates how maker and taker calculations work, but the live Fees & Conditions page notes tier and promotional differences. A quoted base rate can therefore differ from what a particular account or contract actually pays.

How do maker and taker fees change the estimate?

A maker order adds resting liquidity; a taker order consumes it. A market order normally takes liquidity. A limit order may be a maker only if it rests on the book before another participant trades against it. An immediately marketable limit order can execute as a taker. “Limit” alone is not a guarantee of a maker fee, and a partially filled order can involve several executions.

Estimate fees using the likely execution path rather than the order type’s name. If a trader plans to enter with a market order and exit with a market order, use a taker-rate assumption on both sides. If they plan a resting limit entry, run at least two scenarios: one in which it fills passively and one in which they later cancel and cross the spread to enter. A lower fee is useful only if the order executes at a price and time that serve the trade’s purpose.

For an illustrative $10,000 entry notional, a hypothetical 0.05% taker fee would be $5 at entry. If the exit notional is also about $10,000 and the same hypothetical rate applies, the round-trip explicit trading fee would be about $10. This is a teaching assumption, not a current Phemex rate quote. Check your actual account’s maker/taker schedule and contract details.

How do spread and slippage enter the calculation?

They alter the entry and exit fill prices. The spread is the gap between the best bid and best ask at a moment. A buyer crossing the spread may fill at the ask; a seller closing a long may fill at the bid. Slippage is the difference between an expected execution price and the actual average fill, often caused by order size, thin depth, volatility, or delay.

Consider a hypothetical market with a reference midpoint of 100.00 USDT per unit. The visible ask is 100.04 and bid is 99.96. A trader buys 100 units at 100.04 and immediately sells them at 99.96, assuming both orders fill fully at those prices and the reference midpoint does not move. The price P&L is (99.96 − 100.04) × 100 = −8 USDT. That 8 USDT already captures the crossing of the spread in the actual fills.

Now apply a hypothetical 0.05% taker rate to each side. Entry notional is 100 × 100.04 = 10,004 USDT, so the entry fee is 5.002 USDT. Exit notional is 100 × 99.96 = 9,996 USDT, so the exit fee is 4.998 USDT. Together, fees are 10 USDT. If no funding event occurs, the net result is −18 USDT. If the position instead remains open through one funding event and pays a hypothetical 1 USDT, net becomes −19 USDT, assuming the same exit price.

Do not calculate −8 USDT from the fills and then subtract another spread estimate. That would count the same execution effect twice. If planning before an order exists, one may estimate spread and slippage separately against a reference midpoint. After execution, reconcile using the actual average fills. The difference between estimated and actual costs is useful for improving order-size and order-type decisions.

What is funding, and when does it matter?

Funding is a periodic cash flow associated with a perpetual contract, not a fixed purchase fee. Depending on the contract’s rate and the side of the position, a trader may pay or receive funding at a scheduled event. Phemex’s terms of use describe generally used funding times while directing users to specific futures trading rules where they differ. A position that opens and closes between events may have no funding payment; a position held through several events can have several payments at different rates.

The current funding rate should not be projected as a guaranteed future rate. A planning estimate can use the displayed next rate for a near-term scenario and then stress-test higher or reversed rates. In the ledger, record each actual funding entry with its sign. For a long, positive funding may mean a payment under common perpetual conventions, but the contract’s displayed rule and account record govern the result.

Funding is separate from price P&L. A trader who receives funding can still lose more from an adverse price move, spread, or fees. A strategy marketed as collecting funding is exposed to changing rates, basis movement, liquidation, and execution costs on both legs if hedged. Read Phemex’s funding calculation guide for the platform’s mechanism, then inspect the selected contract’s current data.

Does leverage change the fee formula?

Leverage changes margin and risk, while trading fees are primarily calculated on position notional. A $10,000 position may require much less initial margin at higher leverage, but a 0.05% hypothetical fee on $10,000 remains about $5 for that execution. Expressed as a share of posted margin, however, the same fee and an adverse move become larger. A narrow price change can then consume a significant portion of the margin and bring liquidation closer.

Liquidation is not just another planned exit order. It can involve exchange-specific procedures, additional cost, and an exit at a price that differs materially from an estimate. A prudent cost calculation should include a separate risk scenario for an adverse move, not assume a stop or limit order will always fill at the requested price. Check the relevant contract’s liquidation rules before choosing position size.

Explore Crypto Markets

How should a trader compare two execution plans?

Compare expected net result under the same position size and market scenario. Write down the expected entry and exit fills, fee rate for each, the chance that a maker order will remain unfilled, and whether the holding period crosses funding. Then calculate a favorable, central, and adverse execution case. This makes the trade-off visible: a passive order may save a fee and improve price, but a missed fill can be costly if exposure was time-sensitive.

For a post-trade review, export fills and ledger entries, compute price P&L from average fills, and subtract the fees and net funding exactly once. If your result differs from the platform’s realized P&L, check contract quantity, settlement unit, partial fills, funding timestamps, and whether you used a mark price rather than an execution price. A mark price is useful for unrealized P&L; a completed trade’s realized result depends on its executions and ledger.

FAQ

Are Phemex futures fees charged on margin or notional?

Trading fees for the linear examples are calculated from the value of each executed trade, which is based on position notional. Leverage can make that fee a larger percentage of the margin posted.

Do I pay a maker fee whenever I submit a limit order?

No. A limit order that executes immediately against the book can take liquidity and receive the taker treatment. Check the fill record for the actual fee.

Should I add the bid-ask spread to realized P&L?

Not if realized price P&L is calculated from actual buy and sell fills. Those prices already reflect the spread and any slippage. Add separately estimated spread only in a pre-trade scenario based on a reference price.

Is funding always a cost?

No. It can be a payment or receipt depending on the position, contract and rate. Its sign and amount can change at each applicable funding event.

Sign Up and Claim 15000 USDT
Disclaimer
This content provided on this page is for informational purposes only and does not constitute investment advice, without representation or warranty of any kind. It should not be construed as financial, legal or other professional advice, nor is it intended to recommend the purchase of any specific product or service. You should seek your own advice from appropriate professional advisors. Products mentioned in this article may not be available in your region. Digital asset prices can be volatile. The value of your investment may go down or up and you may not get back the amount invested. For further information, please refer to our Terms of Use and Risk Disclosure