Doctors use various diagnostic tools to determine the location of a tumor. These may include imaging techniques like X-rays, CT scans, MRI scans, and PET scans. Biopsies and endoscopic procedures are also used to pinpoint the exact location and type of tumor.