How can I calculate the leverage when given as a ratio?

(Price x Quantity) / Leverage