0/5
## Calculating the rETH/ETH Exchange Rate To calculate the rETH/ETH exchange rate, we will use a formula to determine the relative value of rETH compared to ETH within the Rocket Pool protocol. Let's define the following variables: - E = total ETH - R = total rETH - r = rETH amount - e = ETH amount With these variables, the equation to determine the ETH amount (e) for a given rETH amount (r) is: ``` e = (r / R) * E ``` To help explain this further, let’s go through an example. Given the total amount of rETH is 5000 and the total amount of ETH locked into the Rocket Pool protocol is 6000, how much ETH can we get for 1 rETH? To find the ETH amount for 1 rETH, apply the equation: ``` e = (r / R) * E ``` Given that `R = 5000`, `E = 6000`, and we want to find the ETH for 1 rETH, therefore `r = 1`. ``` e = (1 / 5000) * 6000 ``` Solving this we get: ``` e = 1.2 ETH ``` Given that the Rocket Pool protocol holds 5000 rETH with 6000 ETH locked up, redeeming 1 rETH will give us 1.2 ETH. What if we need to solve the equation in reverse, how much rETH would we receive if we deposited 1 ETH? We start with the same equation: ``` e = (r / R) * E ``` And solve for r, which would be: ``` r = (e * R) / E ``` Given that we know the values of `e`, `R`, and `E` we can plug those values into the equation. Therefore: ``` r = (1 * 5000) / 6000 ``` Solving for `r` we get: ``` r = 0.8333 rETH ``` Given our original values, if we were to deposit 1 ETH we would receive 0.8333 rETH.
A simple explanation of how to calculate the rETH/ETH exchange rate. This lesson will walk you through an example that calculates the exchange rate using real-life numbers. It shows how to use a formula to solve for the ETH amount you will receive if you burn a certain number of rETH and vice versa.
Previous lesson
Previous
Next lesson
Next
Give us feedback
Course Overview
About the course
Rocket Pool rETH staking, yield mechanisms, trading options, and contract architecture
How to distribute rewards and calculate rETH/ETH exchange rate
How to acquire and redeem rETH
Integrating rETH into DeFi protocols like AAVE V3
How to how to create leveraged ETH positions using rETH
How to provide rETH as liquidity to Balancer and Aura
Getting the USD price of rETH using Rocket Pool NAV oracle
Re-staking with EigenLayer
DeFi Developer
$75,000 - $200,000 (avg. salary)
Smart Contract Engineer
$100,000 - $150,000 (avg. salary)
Web3 developer
$60,000 - $150,000 (avg. salary)
Smart Contract Auditor
$100,000 - $200,000 (avg. salary)
Blockchain Financial Analyst
$100,000 - $150,000 (avg. salary)
Web3 Developer Relations
$85,000 - $125,000 (avg. salary)
Last updated on May 28, 2025
Stay in the loop with the latest Rocket Pool updates and connect with over 5,000 developers in the community.
Duration: 4min
Duration: 48min
Duration: 57min
Duration: 30min
Duration: 7min
Duration: 23min
Duration: 6min
Course Overview
About the course
Rocket Pool rETH staking, yield mechanisms, trading options, and contract architecture
How to distribute rewards and calculate rETH/ETH exchange rate
How to acquire and redeem rETH
Integrating rETH into DeFi protocols like AAVE V3
How to how to create leveraged ETH positions using rETH
How to provide rETH as liquidity to Balancer and Aura
Getting the USD price of rETH using Rocket Pool NAV oracle
Re-staking with EigenLayer
DeFi Developer
$75,000 - $200,000 (avg. salary)
Smart Contract Engineer
$100,000 - $150,000 (avg. salary)
Web3 developer
$60,000 - $150,000 (avg. salary)
Smart Contract Auditor
$100,000 - $200,000 (avg. salary)
Blockchain Financial Analyst
$100,000 - $150,000 (avg. salary)
Web3 Developer Relations
$85,000 - $125,000 (avg. salary)
Last updated on May 28, 2025