Around 5-10% of all cancers are hereditary in nature. It is important to note that what you inherit is not the cancer but a gene mutation which is linked to a certain cancer and increases your chances of developing the cancer in question when compared to someone who does not carry the mutated gene.