Atomic number is defined as the number of protons in an atomic nucleus.