To calculate your cholesterol ratio in mmol/L, you just have to make sure both values – total cholesterol and HDL-cholesterol – are in the same units. Then you divide the total cholesterol number by HDL cholesterol level:
Cholesterol ratio in mmol/L = Total cholesterol (mmol/L)/HDL-cholesterol (mmol/L)