> For the complete documentation index, see [llms.txt](https://docs.primefi.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.primefi.xyz/product/borrow/health-factor.md).

# Health Factor

The Health Factor acts as a numerical measure of the security of your deposited assets in relation to your borrowed assets and their inherent value. A higher Health Factor indicates greater protection of your funds from potential liquidation.

<figure><img src="/files/tQmg3yr5n29p5QunWKJX" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Should the Health Factor fall to 1 or below, it triggers a liquidation event. In such a scenario, up to 50% of your outstanding borrowing is repaid, and the collateral, along with a liquidation fee, is used to cover this repayment. The amount liquidated from your debt is then considered settled.
{% endhint %}

<figure><img src="/files/EJXgi0bkEmJS9haSy00I" alt="" width="303"><figcaption></figcaption></figure>

This factor is influenced by the liquidation threshold of your collateral in comparison to the value of your borrowed assets.

**Fluctuations in Health Factor** The Health Factor can fluctuate based on changes in the market value of your deposited assets.

Take, for instance, a situation where BTC is your collateral for a USDC loan. If the market value of BTC falls, the value of your collateral diminishes correspondingly. This decline in collateral value adversely affects your Health Factor, heightening the risk of your assets being liquidated.

Maintaining a robust Health Factor benefits your portfolio in two distinct ways:

1. It reduces the likelihood of liquidation, especially when using volatile assets as collateral, aligning with a low-risk investment strategy.
2. It enhances your capacity to borrow, allowing you to leverage more collateral, which is a strategy that entails higher risk.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.primefi.xyz/product/borrow/health-factor.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
