Calculates the ratio of total cholesterol to HDL ('good') cholesterol, assessing cardiovascular risk.