Several factors contribute to the severity of cancer, including the type of cancer, its location, the size of the tumor, lymph node involvement, and the presence of metastasis. Molecular and genetic markers, such as mutations in specific genes, can also provide insights into the aggressiveness of the cancer and its potential response to treatment.