Balancer DOCS
Concepts
SDK
Developer Guides
  • Contracts

    • Deployment Addresses
      • Mainnet
      • Arbitrum
      • Optimism
      • Polygon
      • Gnosis
      • Goerli
    • APIs
    • Security
    • Error Codes
    • Query Functions
  • Subgraph

    • Overview
      • Core
      • Gauges
  • Swaps / Joins / Exits

    • Batch Swaps
    • Flash Swaps
    • Single Swap
    • Pool Joins
    • Pool Exits
  • Math

    • Weighted Math
    • Stable Math
    • Linear Math
  • veBAL & Gauges

    • APR Calculation
    • Gauges
    • veBAL
Concepts
SDK
Developer Guides
  • Contracts

    • Deployment Addresses
      • Mainnet
      • Arbitrum
      • Optimism
      • Polygon
      • Gnosis
      • Goerli
    • APIs
    • Security
    • Error Codes
    • Query Functions
  • Subgraph

    • Overview
      • Core
      • Gauges
  • Swaps / Joins / Exits

    • Batch Swaps
    • Flash Swaps
    • Single Swap
    • Pool Joins
    • Pool Exits
  • Math

    • Weighted Math
    • Stable Math
    • Linear Math
  • veBAL & Gauges

    • APR Calculation
    • Gauges
    • veBAL
  • Contracts
    • Deployment Addresses
      • Mainnet
      • Arbitrum
      • Optimism
      • Polygon
      • Gnosis
      • Goerli
    • Error Codes
    • Apis
      • Vault
    • Flash Loans
    • Internal User Balances
    • Pool Interfacing
    • Query Functions
    • Rate Providers
    • Security
  • Subgraph
    • Overview
    • Core
      • Entities
      • Querying
    • Gauges
      • Entities
      • Querying
  • Swaps
    • Batch Swaps
    • Single Swap
    • Flash Swaps
  • Joins And Exits
    • Pool Joins
    • Pool Exits
  • Lp Tokens
    • Underlying
    • Valuing
  • Math
    • Weighted Math
    • Stable Math
    • Linear Math
  • Vebal And Gauges
    • APR Calculation
    • Estimating Gauge Incentive APRs
    • Gauges
    • How Many BPT in veBAL?
    • veBAL

# APR Calculation

Info

Please note that for mainnet liquidity mining APRs are boostable, therefore a range of 1x to 2.5x of the calculated APR is possible.

where

  • workingSupply = value obtained from the gauge vyper contract in step 2
  • gaugeRelWeight = relative voting weight obtained from the gauge controller contract from step 3
  • weeklyBALemissions = **** currently active weekly emissions, fixed at 145’000 BAL
  • priceOfBAL = price of BAL in $ as obtained from an external pricing provider
  • pricePerBPT = price per balancer pool token as inferred from step 4

Estimating Gauge Incentive APRs