# Formula for Liquidation price

**URL:** <https://forum.anchorprotocol.com/t/formula-for-liquidation-price/2679>\
**Category:** General\
**Created:** [February 9, 2022, 1:55am UTC](https://forum.anchorprotocol.com/t/formula-for-liquidation-price/2679 "2022-02-09T01:55:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![grymjack](https://avatars.discourse-cdn.com/v4/letter/g/ecccb3/32.png) [@grymjack](https://forum.anchorprotocol.com/u/grymjack)\
**Post date:** [February 9, 2022, 1:55am UTC](https://forum.anchorprotocol.com/t/formula-for-liquidation-price/2679/1 "2022-02-09T01:55:17Z")

</div>

Anyone have a formula for calculating what the liquidation price would be for a loan? There is [this](https://twitter.com/panterra0x/status/1374522259394633734) from Panterra, but it doesn’t work.

---

<div class="post-metadata">

**Author:** ![Lunatif](https://avatars.discourse-cdn.com/v4/letter/l/ac91a4/32.png) [@Lunatif](https://forum.anchorprotocol.com/u/Lunatif)\
**Post date:** [February 17, 2022, 9:21am UTC](https://forum.anchorprotocol.com/t/formula-for-liquidation-price/2679/2 "2022-02-17T09:21:35Z")

</div>

You may have worked this out by now but it’s: total amount borrowed/(total number of collateral LUNA\*0.8)
