To diagnose Stage IV cancer, a combination of imaging techniques, such as CT scans, MRIs, and PET scans, are used alongside histological examination. A biopsy is performed to obtain tissue samples from suspected metastatic sites. These samples are then analyzed under a microscope to confirm the presence and extent of cancer cells. Advanced techniques like immunohistochemistry and molecular pathology may also be employed to identify specific biomarkers.