Different body sizes are associated with distinct prognostic outcomes in patients with cancer. The impact of BMI on prognosis is influenced by both HGS and subcutaneous fat. This finding may influence the clinical care of cancer and improve the survival of cancer patients.