Independent market intelligence
Research over noise · Risk before return
MyProfitFactor · Crypto

DeFi liquidity pools: fees, impermanent loss and the comparison with holding

A liquidity position can collect trading fees while leaving its owner with less value than the same tokens held outside the pool. The difference becomes clearer when token quantities, the comparison portfolio and costs are recorded separately. This guide builds that comparison from a simple model, then explains where real pools depart from it.

About 28 minutes16 languages

In Simple Terms

A liquidity pool lets traders exchange tokens against assets held in a smart contract. Providers supply those assets and may earn part of the trading fees. Their token quantities change as other people trade.

Impermanent loss compares the position with keeping the same original token amounts. It is possible to gain value and still finish behind that comparison. The name does not promise that the gap will recover.

Judge the complete result: what can be withdrawn, fees counted once, rewards and costs. Concentrated ranges, token failures and contract risks need separate attention; a displayed annual rate does not answer these questions.

Scope and model boundaries

This guide explains ordinary two-token automated market makers, using Uniswap v2 and v3 mechanisms as identified examples. Token A and token B are fictional. B is the valuation unit, with no assumed dollar value or stablecoin peg. The original calculations are idealized explanations, not observed pool performance or executable quotes. Other pool curves, hooks, managers and leveraged wrappers can change the rules. This page does not connect to a wallet or request a signature.

On this page
01

Separate the provider, the trader and the arbitrageur

An automated market maker, or AMM, uses contract rules to quote exchanges against pooled assets. A trader exchanges one token for another; a liquidity provider, or LP, supplies the inventory that makes those exchanges possible. Providing liquidity is therefore a form of market making, with changing assets and uncertain revenue, rather than simply placing two tokens in storage.

Three roles, different economic effects

Liquidity provider

Supplies assets and holds a claim governed by the pool or position contracts. The claim can earn eligible fees, but its token composition changes as trades use the liquidity.

Trader

Pays one asset and receives another under the available execution rules. A swap fee, network cost and the price effect of the trade are different parts of the transaction.

Arbitrageur

Trades when prices differ enough across venues to cover costs and risk. These trades can bring the pool price toward other markets while changing the inventory held for providers.

One participant can perform more than one role. Arbitrage is an economic mechanism, not automatically a contract exploit or a guarantee that a pool always quotes the outside price.

The fee paid by a trader is only the start of the income calculation. Some value may go to the protocol, and a provider may receive only the portion attributable to eligible liquidity. Before evaluating a rate, establish what inventory the position exposes its owner to and which fee stream that owner can actually claim.

02

Understand the claim instead of assuming the original tokens stay fixed

In an ordinary v2-style pool, the assets sit in the pair contract. Fungible liquidity tokens represent a proportional claim under its rules. A simplified snapshot divides the provider’s LP-token balance by the applicable total LP-token supply, then applies that fraction to current underlying balances. It does not identify a separate bag containing the exact token amounts originally deposited.

Use the current denominator. When another provider adds proportional liquidity, both reserves and the supply of LP tokens rise. An existing provider’s percentage can fall even though the token amounts represented immediately by that claim do not fall. Protocol-fee minting can also affect the denominator. A percentage remembered from entry is not a permanent entitlement to that percentage of every future pool balance.

Other arrangements use different records. A v3 position managed through Uniswap’s NonfungiblePositionManager is represented by a non-fungible token, or NFT, with specified bounds and liquidity. A vault may issue its own shares while managing positions underneath. Identify the exact contracts and who can operate the claim; a position token is not a promise that withdrawals, token transfers or every underlying system will always function.

03

Constant-product pricing changes the provider’s inventory

For the simplest fee-free, full-range constant-product model, let x denote units of A and y units of B. Their product is k. Write the marginal price P as units of B per A. With quantities expressed in consistent human token units, the equations are:

x × y = k; P = y / x

If A becomes more valuable relative to B, traders moving the pool toward that higher price remove A and add B. The provider ends with less A and more B. This is the source of the comparison with holding: the pool has exchanged part of the asset that appreciated, whereas the unchanged basket kept its original units. Equal value at the prevailing model price does not mean equal token counts.

P is a marginal ratio, not a promise that a finite swap executes entirely at that price. A trade moves along the curve, so its average execution price can differ, before fees and other costs. Token decimals also matter: a ratio of raw integer balances can need scaling before it represents B per A. Actual fee-retaining swaps, deposits and withdrawals can change k; the fixed-k equations below deliberately exclude them.

04

Choose the holding benchmark before calculating a loss

The relevant holding portfolio starts with exactly the same token quantities as the modeled LP position. Keep those units unchanged, then value both portfolios at the same endpoint, using the same prices and valuation unit. Comparing a two-token pool with holding only A answers a different question and changes the amount of directional exposure being compared.

Impermanent loss, abbreviated IL, usually describes the relative shortfall caused by inventory changes, before fee income, against that unchanged starting basket. It is not a fee debited by the contract and is not the complete investment return. Here the signed comparison is the LP value divided by the holding value, minus one. A negative result means the LP finishes behind holding under the stated model.

A second calculation measures gain or loss against starting capital. Both can be useful, but their denominators differ. Keep the chosen valuation unit explicit: measuring in B does not establish a dollar return. If A and B both lose value against a third currency while their relative price stays unchanged, model IL can be zero even though the investment loses value in that third currency.

05

Fix the assumptions of the original full-range example

Start with a fictional LP claim equivalent to 1 A plus 100 B. At an initial price of 100 B per A, each side is worth 100 B, so starting value is 200 B. The comparison portfolio simply holds that same 1 A and 100 B. The equations describe the provider’s scaled claim, not the size of every actual pool.

  • Two ordinary tokens, a full-range 50:50 constant-product design and a fixed proportional stake; no further deposits, withdrawals or protocol-fee dilution.
  • No swap fees, incentive rewards, gas, taxes, transfer charges, rebases, donations or contract losses.
  • Positive prices, idealized continuous quantities and arbitrage reaching the stipulated endpoint marginal price; no integer rounding or execution frictions.
  • The same endpoint and B-per-A price for the LP and holding portfolios. B is a valuation unit with no assumed cash peg.

These restrictions isolate the inventory effect. They do not claim that real pools trade without fees or that real arbitrage produces exact price equality. Fees and transaction costs can leave a band of acceptable price differences. Actual reserve growth, liquidity changes and token behavior must be reflected in the observed claim rather than forced into this simplified calculation.

06

A price rise can produce a gain and still leave the LP behind

Suppose the endpoint price is 200 B per A, double the initial price. In the fee-free model, the A quantity is divided by the square root of two and the B quantity is multiplied by it. The table shows the same original stake at both endpoints. Displayed quantities are rounded; totals and percentages use unrounded calculations.

Original full-range model: identical starting assets, different endpoint inventory
MeasureStartEnd
Price of A, B per A100200
A represented by the LP claim10.70710678
B represented by the LP claim100141.42135624
LP value, B200282.84271247
Original A units held outside the pool11
Original B units held outside the pool100100
Value of the holding portfolio, B200300

Let x1 and y1 denote the unrounded endpoint A and B quantities. The LP value is x1 × 200 + y1, approximately 282.84271247 B. Holding is worth 1 × 200 + 100 = 300 B. The shortfall is approximately 17.15728753 B. Relative to the terminal holding value, the signed gap is −5.7191%.

Against the initial 200 B, the LP gained 41.4214%, while holding gained 50%. The difference between those returns is −8.5786 percentage points. That is not the same number as the −5.7191% comparison against terminal holding. The example shows underperformance despite a gain measured in B; it does not show a cash loss or a real pool’s realized return.

07

Use the familiar IL formula only within its assumptions

Let r be the endpoint price P1 divided by the initial price P0, with both prices quoted as B per A. For this initially equal-value, fee-free, full-range constant-product stake, LP value scales with the square root of r, while the original basket retains its token units. Their signed relative comparison is:

IL = 2 × √r / (1 + r) − 1; r = P1 / P0 > 0

Relative-price changes in the same fee-free full-range model
Relative-price ratio rEndpoint price, B per ASigned gap versus holding
0.2525−20%
0.550−5.7191%
11000%
2200−5.7191%
4400−20%

A doubling and a halving have the same model IL percentage, but they do not have the same portfolio value or starting-capital return. At a halving, the LP is worth about 141.42 B, versus 150 B for holding. Both are below the initial 200 B. Symmetry of the relative gap therefore says nothing about equal gains, equal cash losses or the safety of either asset.

Some calculators display the loss magnitude as a positive number rather than a signed return gap. Check that convention before comparing figures. More importantly, this formula is not a universal DeFi calculator: finite ranges, other asset weights, stable-swap curves, rewards, leverage and fee-bearing inventory require their own accounting.

08

The word “impermanent” does not promise recovery

The economic gap already exists when the current redeemable claim is worth less than the holding benchmark. Withdrawal does not suddenly create that difference. A full withdrawal ends the position’s future exposure to swaps and leaves the owner with the assets received, which may still have market risk. Choosing to remain in the pool is another exposure decision, not an automatic way to cancel the gap.

Within the restricted full-range model, if the relative price returns exactly to its entry level and the same position is retained, the inventory comparison returns to zero. The price need not return. Repositioning, earlier withdrawals, token changes and costs are not undone by the label, and a return of the relative price does not guarantee recovery of value in a third currency.

A token that loses redemption support, a contract exploit or a permanent depeg can produce losses outside this reversible inventory illustration. Waiting cannot be assumed to repair them. Keep three questions separate: what happened to the assets’ market values, how the pool changed the token mix, and whether the position remains operationally recoverable.

09

Follow fees from the trader to the provider’s actual claim

A displayed swap fee describes a charge on trading, not the provider’s annual return. Establish how much is retained for LPs, what goes to the protocol and whether additional rules apply. Current protocol-fee arrangements cannot safely be inferred from an old description written when a fee switch was disabled. The actual deployment and configuration govern the claim.

In v2-style reserve accounting, trading fees retained in the pool increase reserves and can grow the reserve product. Where the protocol fee is implemented by minting LP tokens to its beneficiary, the ownership denominator also changes. Reading reserve growth without the share calculation can misstate the provider’s gain. Adding those same retained fees again to the terminal reserve claim would count their value twice.

Native v3 accounting tracks earned fees separately from liquidity principal. Collecting them does not by itself reinvest them into active liquidity. Other versions can support dynamic fees or optional hook charges, and a manager may impose its own charges. Distinguish each applicable layer and determine whether an interface’s position value already includes separate fee balances.

10

Volume times the pool fee is only the beginning

Consider a separate fictional fee-allocation illustration. Eligible trading volume is 100,000 B-equivalent, consistently valued for this calculation. Assume a 0.30% swap fee, a protocol allocation of 20% of that charge, and a provider holding a constant 1% share of the liquidity eligible for every included trade. These are invented parameters, not a statement of Uniswap’s actual settings.

Fictional fee arithmetic, before operating costs
ItemCalculationResult
Total swap fees100,000 B × 0.30%300 B
Protocol allocation300 B × 20%60 B
Fees retained for eligible LPs300 B − 60 B240 B
This position’s allocation240 B × 1%2.4 B

The protocol allocation is a fraction of the swap fee, not another 20% of trade volume. In a real position, fees received in either token need a consistent valuation. Transaction costs, manager charges and any later conversion can reduce the usable result. No observation period is specified here, so 2.4 B is an illustrative amount, not an annual rate.

For concentrated liquidity, the eligible fraction concerns active liquidity units over each swap step. A trade can cross boundaries and change that denominator. Owning 1% of total value locked, or TVL, does not automatically produce 1% of all fees. Nor does being in range for half the time establish half a quoted fee return: the timing of trading activity and competing liquidity matters.

11

Compare terminal wealth and count every component once

A useful comparison starts from the amount the position can actually redeem at the chosen endpoint. Add separately held or claimable fees and rewards only if their value is absent from that amount. Include earlier proceeds under a consistent cash-flow treatment and deduct applicable costs once. If contributions or withdrawals change the capital base, match those flows in the benchmark or use an appropriate return method; dividing everything by the first deposit can mislead.

For a standalone ledger illustration, suppose a final LP claim is worth 308 B and already includes all retained fees. There are no separate fees, rewards or interim flows. Assume an additional external exit cost of 6 B and a holding value of 300 B with no incremental cost in this simplified comparison.

Standalone terminal ledger: fee-inclusive value is not fee-exclusive principal
ItemValue in BTreatment
Final LP claim including retained fees308Starting observation; add no embedded fees again
External exit cost6Deduct once
Net LP outcome302308 − 6
Matched holding value300Same endpoint and valuation unit
Net advantage over holding2302 − 300

This ledger is not a fee forecast or an outcome derived from the earlier zero-fee price path. In that reference path, the shortfall of about 17.16 B identifies an endpoint value gap before costs; it does not establish an achievable fee target. Real fee generation and inventory interact. Compare the actual complete claim with holding rather than adding an advertised APR to the no-fee IL percentage.

Separate valuation from execution. Marking both baskets at a common reference price makes their economic comparison consistent, but it does not guarantee that every asset can be sold at that price. A claim may require removal, collection and conversion transactions before the owner receives B or another currency. If estimating realizable proceeds, include those relevant frictions for each route and state the basis. Comparing one portfolio at an optimistic reference price and the other after full exit costs distorts the result.

12

Read annualized rates as methods, not promises

An annual percentage rate, or APR, generally expresses a simple annualization of a specified income measure against a stated capital base. An annual percentage yield, or APY, additionally reflects assumed compounding. Check the platform’s definitions: the lookback window, included income, denominator, valuation prices and reinvestment assumptions may differ. Neither label guarantees that today’s activity continues.

Swap fees and incentive tokens are different revenue sources. An incentive campaign can issue rewards without equivalent trading demand and can end or change. The token quantity, marked value, vesting conditions and realistically saleable proceeds are different observations. Claiming, swapping and reinvesting may require transactions, and a thin market may not support the price used in a dashboard.

A fee rate calculated against TVL is not automatically the return on a particular range position’s deposited capital. A gross rate can also omit manager charges and network costs, while an income-only rate omits principal-price changes. Ask for the period’s actual asset amounts and complete net outcome before treating a large annualized number as evidence that providing liquidity beat holding.

The path between entry and exit matters for revenue. Two price paths can end at the same relative price and therefore have the same idealized full-range no-fee IL, yet involve different trading volume, active competitors and management costs. A concentrated position may miss substantial volume while out of range. Rapid back-and-forth movement can generate swaps and also create adverse selection or repeated repositioning costs. An endpoint price ratio alone cannot reconstruct the fee-inclusive result or establish that frequent trading benefited the provider.

13

Concentrated liquidity changes where the position trades

Uniswap v3-style positions provide liquidity within chosen price bounds. Continue quoting P as B per A, with lower bound Pa and upper bound Pb. As P rises through the interval, swaps reduce A principal and increase B principal. Reversing the price quotation would reverse the verbal direction, so always establish the units before interpreting a range screen.

Principal inventory under the stated B-per-A quotation

Below the lower bound

The position’s principal is entirely A. It is outside its active range and does not earn new swap fees from that liquidity while it remains inactive.

Inside the range

The principal contains A and B. Eligible trades use the position alongside other active liquidity, and the mix changes as the pool price moves.

Above the upper bound

The principal is entirely B. Further appreciation of A does not turn that B principal back into A while the price remains above the range.

These statements describe principal in the ordinary v3 mechanism. Previously accrued fees remain separate and can contain both tokens. Exact tick-boundary conventions and custom wrappers need their own checks.

Going out of range is not itself liquidation. The remaining tokens still exist under the contracts and retain their market risks. If price reenters and the position remains intact, liquidity can become active again without a required manual reset. A leveraged wrapper can introduce separate liquidation rules; that is an added arrangement, not a consequence of ordinary v3 LP status.

14

A finite range needs its own inventory calculation

Concentration can provide more active liquidity per deposited value near the chosen price, but it changes the inventory curve. Consider our own idealized continuous-price example with Pa = 25 and Pb = 400 B per A. Liquidity L = 20 gives the same initial 1 A plus 100 B at P = 100. Inside these bounds, real token quantities are:

x = L × (1/√P − 1/√Pb); y = L × (√P − √Pa)

Here x and y are A and B principal, P is the current B-per-A price, Pa and Pb are the bounds, and L is the position’s liquidity parameter in this normalized model. At P = 200, the position contains about 0.41421356 A and 182.84271247 B. Its value is approximately 265.68542495 B, compared with 300 B for holding: a signed relative gap of −11.4382%.

The full-range example at that same price was worth approximately 282.84 B, with a gap of −5.7191%. Both examples started with the same assets; changing the range changed the comparison even while the finite-range position remained active. The bounds here are mathematical assumptions, not a claim that these exact prices fit a deployed pool’s ticks. Fees, costs, flows and implementation rounding are excluded. Greater capital efficiency does not establish greater net return.

The same starting assets, two different liquidity curves

Fee-free full-range constant productFee-free finite range: 25–400 B per A

Signed gap versus the same initial basket (%)

0%−10%−20%−30%−40%0.250.5124

Relative-price multiple r = P1/P0 (logarithmic scale)

Original idealized calculations for the same initial 1 A plus 100 B at P0 = 100 B per A. Both models exclude fees, rewards, costs and external flows. The chart covers r from 0.25 to 4, including the finite model’s boundaries. Both gaps are zero at entry; using a finite range changes the gap even while the position remains active. It shows model comparisons with holding, not observed pool returns, dollar losses or predictions.
15

Recentring and compounding are additional operations

In an ordinary v3 position, changing bounds means removing the existing liquidity and establishing a position with new bounds. The available token mix may require a swap before it matches the desired new position. Network transactions, price impact, swap fees and the time between operations can affect the result. A tighter range can therefore create more management work as well as a different inventory exposure.

Recentring does not reimburse the previous gap against the original basket. It changes the strategy from that point onward. Keep the original benchmark if the question remains whether the whole strategy beat holding, and record each operation rather than judging only the newest position. A fresh entry screen is not a fresh economic history.

Collecting separately accrued fees merely moves those assets to the recipient; compounding requires putting them back to work. A vault or manager may automate this, but its performance fees, permissions, reinvestment policy and dependency contracts become part of the exposure. Determine whether reported returns already include those charges and whether a terminal balance already contains reinvested fees. Automation does not remove the need for a complete ledger.

16

Stable pairs and other curves retain their own risks

A pair expected to trade near a stable relationship can have small relative movements for long periods. That is an expectation about the assets, not a promise from the pool. If one token depegs, trading can leave the provider with more of the weakening asset as the other is withdrawn. Restoring the intended relationship may depend on an issuer or redemption system that the AMM cannot repair.

StableSwap designs and pools with unequal asset weights use different inventory rules from the full-range 50:50 model. They therefore need different quantitative calculations even though the holding comparison remains useful. Do not put their price changes into the familiar formula and assume the result measures the actual position’s gap. A pool’s design can reduce price impact near an expected relationship while leaving substantial risk when that relationship breaks.

Receipt tokens can add another layer: an asset may represent a lending balance, vault share or other claim rather than a directly redeemable unit with no dependencies. Similar names and apparently correlated prices do not establish identical rights. Examine what supports redemption, which underlying systems can fail and whether the displayed price can be realized when many holders seek an exit.

17

Arbitrage links prices but also selects the trades LPs face

An AMM does not need to consult an external oracle for every ordinary constant-product swap. Its curve quotes from its own state. When outside prices move, another participant can trade against that state when the opportunity exceeds fees and other costs. The trade helps realign prices, but it can also occur precisely because the pool’s quote became unfavorable to the provider relative to the outside market.

This adverse selection helps explain why more volume is not sufficient evidence of better net LP returns. Additional swaps can generate fees while changing inventory on terms that favor better-informed counterparties. Transaction ordering can also affect execution when entering, converting or rebalancing. These effects should not be confused with saying every arbitrage trade is an attack or every holding shortfall is a sandwich transaction.

An advanced research measure, loss-versus-rebalancing or LVR, compares an AMM with a hypothetical dynamic strategy that matches its changing holdings of the risky asset while rebalancing frictionlessly at external market prices under the research model’s assumptions. That is a different benchmark from holding the initial token basket. Do not subtract an LVR estimate again from an outcome already compared with holding as though it were an independent invoice; first reconcile the benchmarks and accounting.

18

Map contract, token and wallet dependencies separately

Market-making risk is only one layer. Pool bugs or token behavior can prevent expected accounting or withdrawals. A bridge-backed token adds the relevant bridge and redemption dependencies; native wrapping and a custodial representation need not have the same trust model. Where a hook, vault or strategy uses an oracle or lending system, its correctness and availability become additional conditions.

Identify any party able to upgrade code, change parameters, pause operations or direct managed assets. Some contracts are immutable while others rely on administrators or external components; neither label answers every risk question. An audit and a history of use are evidence to examine, not guarantees that a new token, hook or manager inherits the same safety properties.

Wallet permissions are a separate control surface. Verify the network, exact token contracts and spender before approving an operation, and distinguish providing liquidity from merely connecting a site. A limited token allowance does not validate a pool’s economics, and removing an allowance does not unwind assets already supplied. Keep keys and recovery material private; an educational comparison never requires handing those secrets to a pool interface.

19

Evaluate a specific pool using facts that change the outcome

Start with the actual deployment rather than the token symbols or a screenshot of an annual rate. Two pools using the same pair can have different fee rules, active liquidity, managers or token versions. A practical review should establish the following before estimating whether fee income can compensate for the exposures:

  • Network, pool and position contracts; underlying token addresses; curve, range and any attached hook or manager.
  • Possible endpoint token quantities, including the single-sided principal outside a range and any separate accrued fees.
  • The fee retained for LPs, eligible-liquidity denominator, collection or reinvestment process and applicable manager charges.
  • The rate’s lookback period, capital base, reward-token component, annualization and compounding assumptions.
  • Token redemption, bridge, lending, oracle and administrative dependencies where present; actual withdrawal and conversion conditions.
  • Entry, operation and exit costs, compared with the same starting assets and observation horizon.

Uncertainty in one of these fields is part of the analysis. A headline rate cannot fill an unknown fee basis, and a token price cannot establish that a withdrawal route works. Describe unresolved conditions explicitly instead of turning an incomplete comparison into a ranking.

20

Keep a position record that can reproduce the comparison

Record the initial token units, entry time and valuation prices before calculating performance. Preserve the pool, network, position identifier and range if applicable. At the endpoint, record the redeemable units, separately claimable balances and the prices used to value them. Public transaction hashes help distinguish a completed operation from a submitted or failed attempt.

Keep contributions, withdrawals, fee collections, reinvestments, reward sales and operating costs as distinct entries. Note which costs were paid outside the position and which were already reflected in its balance. Reconstruct the unchanged starting basket at the same endpoint; if flows changed the invested capital, state the matched-flow comparison or return method instead of silently applying the simple example.

The resulting decision is more precise than “fees were earned.” It shows whether complete net wealth beat the specified holding benchmark, which token exposure produced that result and what assumptions remain unresolved. A good record contains no seed phrases, private keys or usable signatures. It supports an economic comparison without pretending that a mathematical model certifies a contract or predicts future trading activity.

Frequently asked questions

Can I earn fees and still lose money?

Yes. Fees are one component of the outcome. Token prices can fall, the inventory can underperform the original basket, and operating or contract losses can exceed fee income. Compare complete net value with both the initial capital and the stated holding benchmark, using the same valuation unit and endpoint.

Does impermanent loss start only when I withdraw?

No. A marked gap against holding can exist while the position remains open. A full withdrawal ends that position’s future exposure to swaps and determines the received inventory; it does not create an otherwise nonexistent shortfall. A return of the relative price can close the idealized model gap under its assumptions, but neither waiting nor withdrawal guarantees recovery.

Do stablecoin pools avoid impermanent loss?

No universal exemption applies. An expected peg can break, leaving a pool with more of the weakening token. StableSwap and other curves need their own inventory calculations, and token or redemption failure adds risks beyond a simplified relative-price model. A small historical price range is not a guarantee of future redeemability.

Does an out-of-range concentrated position get liquidated?

Going out of range in the ordinary v3 mechanism is not itself liquidation. Principal becomes one-sided and stops earning new swap fees while inactive; previously accrued fees remain separate. Reentry can restore activity for an intact position. A leveraged or lending wrapper can impose additional liquidation rules that must be checked separately.

Can I subtract IL from the displayed APR to estimate net return?

Usually that calculation mixes incompatible measures. The displayed rate may be annualized from a different horizon, use a different capital denominator, include incentives or omit costs. The model IL percentage compares terminal wealth with the original basket. Use actual fee-inclusive holdings, separately counted income and applicable costs over a matched period instead.

Are fees automatically compounded in every liquidity pool?

No. V2-style retained fees are embedded in reserves, while native v3 fees accrue separately from active liquidity. Collecting a separate balance does not reinvest it. A manager may compound through additional operations and charges. Check the actual mechanism and whether the reported ending value already includes the same fees.

How this guide was prepared

Sources were checked on 1 November 2026. The models, accounting examples and explanatory figures are original educational work, not a backtest, a study of realized pool returns or an account audit. Calculations use unrounded values before display rounding. The full-range, finite-range, fee-allocation and terminal-ledger examples have separate assumptions and must not be combined into a purported investment result.

Income does not protect the principal

Trading fees can compensate for some risks without eliminating token-price changes, relative underperformance, contract failure or execution costs. A position can lose most or all of its value. Neither an audit, a large pool, a familiar token name nor an annualized rate guarantees recoverable assets or a suitable investment.

Primary sources

Official protocol documents and source code establish the mechanisms used here. Research on market making explains the separate benchmark used for loss-versus-rebalancing. Historical design papers do not establish current fee settings; check the actual deployment. All model quantities and comparisons are our own calculations.

Created by the MyProfitFactor editorial team.

Copying or republication without attribution and an active link to the original material is prohibited. Usage policy.