Carbon has an atomic number of 6, atomic number is the number of protons in the nucleus of an atom, therefore carbon has 6 protons, and since the number of electrons are equal to the number of protons in a neutral atom, then the number of electrons in carbon atom is 6