Carbon has 4 valence electrons. This is because carbon is in Group 14 of the periodic table, and the group number (minus 10 for groups 13-18) indicates the number of valence electrons. These 4 valence electrons are crucial for carbon’s ability to form stable covalent bonds, leading to the vast diversity of organic molecules.