1 atomic mass unit is defined to be 1/12th the mass of a 12C atom. Everything is measured in atomic mass units, so 12C is therefore defined to weigh 12 amu. The number on your periodic table is the average mass of all isotopes by % abundance, which seeing as all isotopes of carbon weigh 12 or more amu, has to be over 12.