How to calculate Liquidation Price

Does anyone know how we can calculate what our Liquidation Price is (outside of just looking at it on the Borrow tab)?
I’m trying to work out an investment strategy utilising the borrow & providing on Anchor, but want to figure out my potential price of liquidation would be to determine whether the strategy is viable or not.
Thanks in advance!


Liquidation price = your loan value / collateral ( 0.8x bLUNA + 0.6x bETH ) = 1

If your not using Beth then it’s when Loan/0.8= bLUNA collateral

I could be wrong just off top of head here but the formula is similar. DYOR NFI