Skip to main content
    Education only. Not financial, tax or legal advice. We never ask for wallet keys or seed phrases.Canadian rules dated October 2026
    Liquidity poolsRuns in your browser

    Yield farming calculator: what's left after IL, reward-token moves and gas

    A farm's headline APR adds trading fees and reward-token emissions together as if both were paid in stable dollars. This calculator rebuilds the return from its parts (fees, rewards after the reward token's price change, impermanent loss on the pair and the gas you spend) and compares the result with simply holding the two tokens.

    Mitey the yeti sitting with a small potted plant, with a price chart
    Mitey: Rewards paid in a token that falls are worth less than the headline says.

    Farm assumptions

    As advertised, valued at today's reward-token price. Assumes rewards are sold as they arrive.
    What farming added vs holding, annualised
    25.38%

    The headline was 36.0%. Against simply holding the two tokens, the farm ends ahead by $1,251.85. Total return including the pair's own price move: 65.9% a year.

    Where the headline return went$350Fees$1,110Rewards−$168IL−$40Gas$1,252Net vs hold
    LineCAD
    Value if held$12,000.00
    Pool value incl. fees$12,182.26
    Rewards at deposit-time price$1,479.45
    Rewards after reward-token move$1,109.59
    Gas−$40.00
    End value$13,251.85

    Estimates from the inputs you enter, calculated in your browser; nothing is sent anywhere unless you choose to email results below. Example values are illustrative, not quotes or forecasts. Not financial advice, and not a recommendation of any protocol, token or platform. Formulas checked 2026-10-30.

    How to use it

    1. Enter the deposit in CAD and the number of days.
    2. Split the advertised APR into its fee part and its reward-token part.
    3. Enter a price change for the reward token over the period.
    4. Enter the price change of token A against token B, which drives impermanent loss.
    5. Add the total gas for entering, claiming and exiting, then read the net result against holding.

    Taking a headline APR apart

    Farm screens usually show one number made of two different things. The fee APR comes from trading fees, paid in the pool's own tokens. The reward APR comes from incentive tokens, normally valued at today's price. Reward tokens are often sold by many recipients, so their price can fall during the very period you are earning them.

    The calculator treats the two parts separately. Fees are earned as an APR on the pool position. Rewards are valued at the deposit-time price and then adjusted by half of the reward token's price change. That is the average effect if rewards arrive evenly, the price moves in a straight line, and each reward is valued when it arrives. If you hold every reward token to the end, the full price change applies, so the calculator is optimistic in that case.

    Worked example

    Illustrative inputs: $10,000 in a 50/50 pool for 180 days; an 8% fee APR and a 30% reward APR (38% headline); token A rises 50% against token B; the reward token falls 50%; $60 of gas in total.

    A naive reading of the 38% headline for 180 days on $10,000 suggests about $1,873.97. The rebuilt contribution of farming is $1,280.22, roughly a third less. If the reward token had gone to zero, rewards would count for $739.73 under the half-move assumption and the net result would be $910.36; if it had held its price, $1,650.09.

    Illustrative inputs only; not quoted rates.
    ComponentCAD
    Value if you had simply held both tokens$12,500.00
    Pool value before fees (impermanent loss 2.02%)$12,247.45
    Trading fees (8% APR for 180 days)+$483.19
    Rewards at the deposit-time price (30% APR for 180 days)$1,479.45
    Rewards after half of the −50% reward-token move+$1,109.59
    Gas−$60.00
    End value$13,780.22
    Net result against holding+$1,280.22

    Reading the realized APR carefully

    The results also show a realized APR: the end value against your deposit, annualized. In the example it is 76.65%, far above the 38% headline. The farm did not pay more. Token A rose 50%, and the realized APR includes that market gain; with a falling pair, it would include the market loss instead.

    To judge the farm itself, use the net result against holding. It isolates what providing liquidity added or cost after impermanent loss, the reward token's decline and gas.

    Emissions are not income from nowhereReward tokens are usually newly issued. If most recipients sell, the price tends to fall, which is why the reward-token change matters as much as the reward APR.

    What the model does not capture

    The model uses a full-range 50/50 constant-product pool and a constant fee APR. It leaves out withdrawal fees or lockups, changes in your share of the pool as others enter or leave, and the chance that an incentive program ends early. Gas is a single total; to see how large a position must be to recover it, use the gas breakeven calculator.

    The largest risks sit outside the arithmetic: contract exploits, administrator keys that can change a farm's rules, and reward tokens with too little trading volume to sell. See smart contract risk, and use the impermanent loss calculator for stable-pool cases.

    Canadian tax pointers

    CRA has not published guidance on liquidity provision or farm rewards. Its general crypto-asset guidance treats trading one crypto-asset for another as a disposition and decides between capital gains and business income using factors such as how often you transact and how much time you spend. An active farming strategy may look more like a business; see capital vs business income.

    Each claim, swap and deposit can be a recordable event. Track the CAD value of reward tokens when received and when sold; the ACB calculator keeps the average cost straight.

    Questions people ask

    Why is my result lower than the headline APR?

    The headline values reward tokens at today's price and ignores impermanent loss and gas. In the illustrative example, the farm's contribution was about a third below the naive figure.

    Why is the realized APR higher than the headline?

    It includes the price move of the pooled tokens. Use the net result against holding to judge the farm.

    What does “half the reward-token change” mean?

    It assumes rewards arrive evenly and the price moves in a straight line, so rewards see half the move on average. If you keep the rewards until the end, the full change applies.

    Does this model concentrated liquidity?

    No. It uses a full-range 50/50 constant-product pool.

    Are farm rewards taxable in Canada?

    CRA has not issued farm-specific guidance, and treatment depends on your facts. Keep the CAD value of each reward when you receive it.

    Save Your Results

    Email yourself these calculations or get notified about updates to this calculator.

    We respect your privacy. View our privacy policy.

    Sources and dates

    1. Canada Revenue Agency — Reporting income from crypto-asset transactionsDate modified 2025-12-02; checked 2026-10-30
    2. Canada Revenue Agency — Keeping books and records of crypto-assets for tax filingDate modified 2025-11-10; checked 2026-10-30
    3. Canadian Securities Administrators — Crypto Assets (investor tools)Date modified 2025-10-22; checked 2026-10-30