> For the complete documentation index, see [llms.txt](https://wiki.patronus.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.patronus.fi/position-management/borrowing-capacity.md).

# Borrowing Capacity

The sum of weighted collateral values determined by various Collateral Factors represents the maximum borrowing capacity.

Assume that the maximum borrowing amount (in USD) of a user is **V𝑑𝑚** which is calculated by the following formula.

![](/files/7EFBmQDoBr4BmldHsvOG)

Where:&#x20;

**Vdi:** USD value of deposit asset i&#x20;

**DFj:** Deposit factor of asset i&#x20;

**Vbj:** USD value of borrowed asset j&#x20;

**BFj:** Borrow factor of asset j

Based on Patronus' risk control regulations (embodied in the Deposit factor and Borrow factor), the volatility risk of the pre-borrowed token needs to be considered when specifying the amount that can be borrowed in a particular token.&#x20;

Therefore, the formula for calculating **𝑉𝑥** assuming that the user has a borrowable amount (in USD) in a particular token is as follows.

![](/files/8Z5nXHt0pWgSxvzLn88H)

Where:&#x20;

**BFx:** Borrow factor of asset x
