Home › Calculators › Impermanent Loss Calculator

Impermanent Loss Calculator

See how much a price change costs you as a liquidity provider in a 50/50 constant-product pool. Enter your deposit and how the two token prices moved, add the trading fees you earned, and compare staying in the pool with simply holding the tokens.

Last updated:

Pool deposit (50/50 constant-product pool)
$

Half goes into each token.

Enter price change as
%

+100 = price doubled, −50 = halved.

%

0 for a stablecoin.

$
$
$
$
Trading fees earned
Fees
%

Pool fee yield shown by the DEX or analytics site.

days
$
Enter your values to see the result.
Advertisement
Advertisement

How to use the Impermanent Loss Calculator

  1. Name the two tokens and enter the total value you deposited.
  2. Enter the price changes as percentages, or switch to start and current prices.
  3. Add the fees you earned, as a fee APR with days in the pool or as an amount.
  4. Read the impermanent loss and whether the pool beats holding after fees.
  5. Use the table and chart to see the loss at other price moves.

How impermanent loss is calculated

  • Price ratio change r = (token A price now ÷ at deposit) ÷ (token B price now ÷ at deposit)
  • Impermanent loss = 2√r ÷ (1 + r) − 1
  • Value if held = deposit ÷ 2 × A change + deposit ÷ 2 × B change
  • Value in the pool = deposit × √(A change × B change) = value if held × (1 + impermanent loss)
  • Break-even fee APR = (value if held − pool value) ÷ deposit × 365 ÷ days

Example: $10,000 in an ETH/USDC pool, and ETH doubles. Holding would be worth $15,000; the pool is worth $10,000 × √2 = $14,142, so the impermanent loss is $858 (−5.72%). Over 90 days you would need a fee APR of about 34.8% to break even.

Impermanent loss reference table

Price change of one token vs the otherImpermanent loss
±10% (1.1× or 0.9×)0.11% / 0.14%
+25% / −20% (1.25× or 0.8×)0.62%
+50% / −33% (1.5× or 0.67×)2.02%
2× / −50%5.72%
3× / −67%13.40%
4× / −75%20.00%
5× / −80%25.46%
10× / −90%42.50%

Tips for liquidity providers

  • Pairs whose prices move together (two stablecoins, or a token and its wrapped version) have little impermanent loss.
  • Volatile pairs need higher fee income to compensate; compare the break-even APR with the pool's realistic fee yield.
  • Fee APRs shown by DEX dashboards are usually based on recent volume and change over time.
  • Smart contract risk, gas costs and token incentives are not included in the calculation.

Frequently asked questions

What is impermanent loss?

Impermanent loss is the difference between the value of your tokens in an automated market maker pool and the value they would have if you had just held them. When one token's price moves relative to the other, arbitrage trades rebalance the pool so you end up with more of the token that fell and less of the one that rose.

What is the impermanent loss formula?

For a 50/50 constant-product pool, impermanent loss = 2√r ÷ (1 + r) − 1, where r is the change in the price ratio of the two tokens. If token A doubles against token B, r = 2 and the loss is 2 × 1.4142 ÷ 3 − 1 ≈ −5.72%.

Why is it called impermanent?

The loss only depends on the current price ratio. If prices return to the ratio at which you deposited, the loss disappears. It becomes permanent when you withdraw while the ratio is different.

Does it matter which way the price moves?

Only the size of the ratio change matters. A 2× rise and a 50% fall of one token against the other both give r values (2 and 0.5) with the same 5.72% impermanent loss.

Do trading fees make up for impermanent loss?

Sometimes. Liquidity providers earn a share of every swap fee. If the fees earned over your holding period exceed the impermanent loss, providing liquidity beat holding. The calculator shows the fee APR you would need to break even.

Does this work for concentrated liquidity or weighted pools?

No. The formula here is for classic 50/50 constant-product pools. Concentrated liquidity positions have larger impermanent loss within their range, and weighted pools (such as 80/20) have smaller loss; both need different formulas.

If both tokens rise, can I still have impermanent loss?

Yes, if they rise by different amounts. Only the relative price matters: if token A rises 60% and token B rises 20%, the ratio changes by 1.6 ÷ 1.2 ≈ 1.33 and you have about 1% impermanent loss even though the position gained value overall.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Crypto Staking CalculatorEstimate staking rewards in coins and dollars from APR or APY, compounding, validator fee and price.Crypto Profit CalculatorCalculate crypto trade profit, ROI and break-even price after buy and sell fees.APY CalculatorTurn an interest rate into APY and project savings growth with monthly deposits.Crypto Liquidation Price CalculatorLiquidation price of a leveraged long or short crypto position with isolated margin.Profit Margin CalculatorGross margin, markup, cost or price: solve for any one, single or bulk.Receipt MakerFill in a receipt template with items and tax, then print or save PDF.Car Depreciation CalculatorEstimate your car's value over time and its projected resale price.CTR CalculatorCalculate click-through rate and compare it with industry benchmarks.Conversion Rate CalculatorCalculate e-commerce conversion rate, revenue per visitor and goals.CPM CalculatorSolve CPM, cost, impressions, CTR and CPC for ad campaigns.Quote Estimate GeneratorCreate a quote or estimate with line items and tax, then save as PDF.ROAS Calculator (Return on Ad Spend)Calculate ROAS, break-even ROAS and profit for each ad channel.Customer Lifetime Value CalculatorCalculate customer lifetime value, LTV:CAC ratio and CAC payback from ARPU and churn.Churn Rate CalculatorCalculate customer churn and retention rates and convert monthly churn to annual.YouTube Money CalculatorEstimate YouTube earnings per day, month and year from views and RPM by niche.Instagram Engagement Rate CalculatorCalculate Instagram engagement rate by followers or reach and compare it to benchmarks.Ecommerce Profit CalculatorNet profit, margin, markup and break-even ROAS per order after fees, ads and returns.Amazon FBA CalculatorEstimate Amazon FBA fees, profit per unit, margin, ROI and break-even price.Etsy Fee CalculatorEtsy listing, transaction, processing and Offsite Ads fees, payout and net profit.eBay Fee CalculatoreBay final value fee, per-order fee, ad fees, payout and net profit on any sale.Stock Profit CalculatorStock trade profit and % return after commissions, plus the break-even sell price.Dollar Cost Averaging CalculatorSee units bought, average cost, value and profit for regular buys at your own price list.Startup Runway CalculatorProject cash, burn rate and runway month by month, with growth, break-even and zero-cash date.Break Even CalculatorFind break-even units and revenue, contribution margin, margin of safety and a cost-volume chart.SaaS Pricing CalculatorModel flat, per-seat, tiered and volume plans with annual discounts to get MRR, ARR and ARPU.Employee Cost CalculatorWork out the true cost of an employee: payroll taxes, benefits, overhead and real hourly cost.Inventory Turnover CalculatorInventory turnover ratio and days inventory outstanding from COGS or sales and average stock.Markup CalculatorFind the selling price from cost and markup, or the markup and margin from cost and price.Unit Price CalculatorCompare up to 4 products by price per ounce, pound, liter or item and find the best deal.Cap Rate CalculatorCalculate a rental property's NOI, cap rate and optional cash-on-cash return.Depreciation CalculatorStraight-line, declining balance, double declining and sum-of-years depreciation schedules.PayPal Fee CalculatorWork out PayPal fees, what you receive, and how much to ask for to get an exact amount.Stripe Fee CalculatorCalculate Stripe fees and payouts, or how much to charge to receive an exact amount.Net Promoter Score CalculatorCalculate NPS from promoter, passive and detractor counts or pasted 0–10 survey scores.CPC CalculatorCalculate cost per click from ad spend and clicks, plus CPM, CTR, CPA and ROAS.P/E Ratio CalculatorPrice-to-earnings ratio, earnings yield and PEG ratio from share price, EPS and growth.WACC CalculatorWeighted average cost of capital from equity, debt, their costs and the tax rate.Payback Period CalculatorPayback and discounted payback period for an investment with even or uneven cash flows.Options Profit CalculatorProfit or loss at expiry for calls and puts, break-even, max profit/loss and a payoff chart.Poshmark Fee CalculatorPoshmark fee, earnings and profit, or the list price needed for your payout.Pre Money Post Money Valuation CalculatorPost-money valuation, investor and founder ownership and price per share for a funding round.Price Elasticity of Demand CalculatorFind the price elasticity of demand with the midpoint or simple method, plus revenue change.Freelance Project Price CalculatorTurn a task list with hours into a project quote with contingency, profit, tax and deposit.Rental Property Cash Flow CalculatorMonthly cash flow, NOI, cap rate, cash-on-cash return and the 1% rule for a rental property.Return on Assets CalculatorROA from net income and average total assets, plus operating ROA and adjusted ROA.Return on Equity CalculatorROE from net income and average equity, with a 3-step DuPont breakdown of what drives it.Rule of 40 CalculatorSaaS Rule of 40 score from revenue growth and profit margin, with pass/fail and the gap.Sales Funnel CalculatorCustomers, SQLs, MQLs, leads and visitors needed to hit a revenue goal.Shopify Fee CalculatorShopify fees by plan, payout, profit and margin, with third-party gateway fees.Solar Payback Period CalculatorSolar panel payback years, 25-year savings, ROI and cost per kWh with a cash-flow chart.Square Fee CalculatorSquare processing fees, net deposit and the price to cover fees by payment method.Tiered Pricing CalculatorPrice a quantity with tiers: total, per-tier breakdown and unit price, graduated or volume.Upwork Fee CalculatorUpwork service and withdrawal fees, net earnings, and what to bill for a target.Venmo Fee CalculatorVenmo fees for goods & services, instant transfers and card payments, plus reverse mode.Working Capital CalculatorNet working capital plus current, quick and cash ratios from your balance sheet.Ad Revenue CalculatorEstimate website ad earnings per day, month and year from pageviews and RPM, CPM or CPC.ACoS CalculatorCalculate ACoS, ROAS, break-even ACoS and target ACoS from ad spend, sales and margin.ARPU CalculatorCalculate average revenue per user or account, ARPPU and monthly vs. annual ARPU.Black-Scholes CalculatorPrice European call and put options with Black-Scholes, plus delta, gamma, theta, vega and rho.Cap Table CalculatorModel founders, option pool, SAFEs and priced rounds and see fully diluted ownership after each round.Cart Abandonment Rate CalculatorFind your cart abandonment rate, revenue lost in abandoned carts and what recovery wins back.Cash Flow Forecast CalculatorBuild a 13-week or 12-month cash flow forecast and spot your lowest cash balance before it hits.Crypto Price by Market Cap CalculatorPrice a coin would reach at a target market cap or at another coin's market cap.Current Ratio CalculatorCurrent assets ÷ current liabilities with interpretation, working capital and target solver.Day Rate CalculatorContractor or consultant day rate from income, benefits, expenses and billable days.ESPP CalculatorEmployee stock purchase plan gain: discount, lookback, shares, return and how a sale is taxed.Free Cash Flow CalculatorFree cash flow from operating cash flow and CapEx, plus FCFF, FCFE, FCF margin and per share.Gold Value CalculatorScrap gold melt value from weight, karat and spot price, plus a dealer payout estimate.
See all 209 Business & Marketing Calculators →