impermanent-loss-calculator

Calculate impermanent loss for AMM liquidity positions across price-change scenarios.

5|Updated May 2, 2026
One-click install
npx skills add https://github.com/nirholas/three-ui --skill impermanent-loss-calculator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: impermanent-loss-calculator
Source: https://github.com/nirholas/three-ui/tree/main/data/skills/defi/impermanent-loss-calculator
Command: npx skills add https://github.com/nirholas/three-ui --skill impermanent-loss-calculator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps users understand how AMM liquidity positions can lose value relative to simply holding the underlying tokens when prices move, so they can make better liquidity-provision decisions.

Core Features & Use Cases

  • Impermanent Loss calculation: Computes impermanent loss as a percentage and converts it into an estimated absolute dollar amount from the user’s position size.
  • Scenario analysis: Produces a divergence table across common price-move levels (e.g., ±10% to ±400%) to show how outcomes scale with volatility.
  • Fee break-even comparison: Estimates whether fee income is likely to offset impermanent loss over a chosen time horizon.
  • Concentrated liquidity adjustments: Highlights how concentrated ranges amplify IL risk and how exiting a range changes the position exposure.
  • Holding vs LP comparison: Side-by-side values make it clear what changes versus a buy-and-hold strategy.

Quick Start

Use the impermanent-loss-calculator skill with your token pair, entry prices, current (or target) prices, pool type, and position value to generate IL percentages, dollar impact, and a fee break-even estimate.

Frequently Asked Questions about impermanent-loss-calculator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate impermanent loss for my Uniswap v3 liquidity position?

Impermanent loss is calculated by inputting your token pair, entry and current prices, pool type, and position value. The tool estimates IL percentages, converts them into dollar amounts, and generates a fee break-even comparison for your concentrated liquidity position.

What is impermanent loss and how does price divergence affect my AMM liquidity strategy?

Impermanent loss is the value erosion of an AMM liquidity position relative to holding the underlying tokens when prices diverge. The tool evaluates constant-product and concentrated-liquidity scenarios to show how price divergence impacts your net P&L versus a buy-and-hold strategy.

Can I compare holding versus providing liquidity to see if fees offset my impermanent loss?

Yes, you can compare holding versus providing liquidity through a side-by-side comparison. The tool estimates whether fee income offsets impermanent loss over a chosen time horizon, producing a divergence table across common price-move levels to evaluate net P&L.

Does concentrated liquidity amplify impermanent loss risk in constant-product pools?

Concentrated liquidity amplifies impermanent loss risk compared to standard constant-product pools. The calculator highlights how concentrated ranges affect IL risk and demonstrates how exiting a range changes your position exposure during user-specified price-change events.

What inputs do I need to estimate the fee break-even for my DeFi liquidity pool?

To estimate the fee break-even, you need to provide your token pair, entry and current or target prices, pool type, and total position value. These inputs allow the calculator to project fee income against impermanent loss over your chosen time horizon.