> For the complete documentation index, see [llms.txt](https://lpotics-organization.gitbook.io/lpotic/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lpotics-organization.gitbook.io/lpotic/slippage-mechanism-and-liquidation-process/liquidation-residual-value.md).

# Liquidation Residual Value

* **Formula:** Liquidation Residual Value = Collateral Value - Order PnL - Order Fee (Opening Fee + Borrowing Fee + Rollover Interest) - Liquidation Fee (Oracle Fee + Liquidation Order Fee).
* **Reward Distribution:** After executing the liquidation order, a portion of the residual collateral value is rewarded to the liquidation bot in USDT, with the rest sent to the lUSDT Vault.

#### **Liquidation Residual Value**

* **Formula:** Liquidation Residual Value = Collateral Value - Order PnL - Order Fee (Opening Fee + Borrowing Fee + Rollover Interest) - Liquidation Fee (Oracle Fee + Liquidation Order Fee).
* **Reward Distribution:** After executing the liquidation order, a portion of the residual collateral value is rewarded to the liquidation bot in USDT, with the rest sent to the lUSDT Vault.
