The phi score is calculated using the following formula: \[ \text{phi} = (\text{[-2]proPSA} / \text{free PSA}) \times \sqrt{\text{total PSA}} \] Each of these components—total PSA, free PSA, and [-2]proPSA—are measured from a blood sample. The resulting phi score helps to categorize the risk level of prostate cancer.