We developed two nomograms that incorporate KLF4 expression, tumor differentiation, and TNM stage to establish more accurate prognostic models for OS and RFS in HCC patients. The gene discussed is KLF4; the disease is hepatocellular carcinoma.