# Account Health

Account Health indicates how much you have borrowed relative to your borrow limit. Your Account Health goes up when you supply assets or repay debt and goes down when you borrow. If your Account Health goes below 0%, your loan will be partially liquidated with a liquidation penalty deducted from your collateral.

The health of your account is calculated for each market separately.

$$
BorrowLimit = \sum\_{assets} SuppliedValue\_i\cdot CollateralFactor\_i\newline
BorrowUsage = \sum\_{assets} BorrowedValue\_j\cdot LiquidationThreshold\_j\newline
AccountHealth = 1 - \frac{BorrowUsage}{BorrowLimit}
$$

​Where

* $$CollateralFactor$$​ is a parameter of asset you have supplied,
* $$LiquidationTreshold$$ is a parameter ​of asset you have borrowed,
* $$SuppliedValue$$​ and $$BorrowedValue$$ are the current market values of assets ​

{% hint style="warning" %}
Your Account Health may suddenly decrease if the price of asset your borrow rises or and the price of asset you supply falls. To avoid liqudation, monitor your Account Health and keep it at a reasonable level by paying off debt or supplying more collateral when needed.
{% endhint %}

​


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://puzzle-lend.gitbook.io/guidebook/borrowers-guide/account-health.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
