Return on equity
Introduction
When users deposit and borrow on Euler, they earn the Supply APY on their deposits and pay the Borrow APY on their debts. Return on equity (ROE) is a measure of the overall yield they can expect to earn over the course of a year relative to the equity they have:
The ROE has two different calculations depending on whether or not an account has an ordinary borrow or a multiplied position, since this affects how an account's equity is measured.
It is generally not possible to know whether an account has an ordinary borrow or a multiplied position just by looking at the account's deposits and debts.
An account with $1000 deposits and $800 debts could have deposited $1000 and borrowed $800, or they could have deposited $200 and multiplied 5× by borrowing, swapping, and re-depositing, until they have total deposits of $1000 and total debts of $800.
Since the user-interface cannot know the context in which a position was created, users are instead given the option to toggle which calculation they prefer on their position page. The two options are detailed below.
Ordinary borrow
If a user simply deposits collateral and borrows against it, their account equity is measured as the total value of their deposits. The purpose of ROE in this context is to indicate the impact of the loan on the value of their deposited assets. This calculation is most useful for working out the cost of an ordinary loan.
Their equity is:
Their ROE is:
Since a user's Loan-to-Value (LTV) is their total debt divided by their total deposits, this simplifies to:
Example
Suppose a user deposits $1000 into ETH paying 3.5% Supply APY and borrows $800 USDC costing 4.5% Borrow APY.
Their equity is:
Their ROE is:
This results in a negative return, because they are paying more on their loan than they are earning on their deposits.
Multiplied borrow
If a user creates a multiplied position on Euler, their account equity is measured as the difference between their total deposits and their total debts. In this case, all borrowed assets are swapped back into collateral and re-deposited. The ROE calculation helps assess the impact of the position on their net asset value (NAV). This is useful for evaluating yield farming strategies or the overall cost of long/short positions.
Their equity is:
Their ROE is:
Example
Suppose a user deposits $200 into ETH paying 3.5% Supply APY and multiplies 5× by shorting USDC, which has a 4.5% Borrow APY. Their total deposits and debts remain the same as the first example:
Total deposits = $1000
Total debts = $800
However, their equity is now:
Their ROE is now:
Even though the deposits, debts, and interest rates are identical to the first example, the ROE is very different because the denominator changes.