How is the margin for energy (crude oil) calculated? Margin for energy (crude oil) is calculated as ”Number of lots” x ”Lot size” x ”Open price” / 100 (Leverage). Related articles How is the margin calculated in Forex? How is the margin calculated for equity indices?