Atomic number is defined as the number of protons present in the nucleus of an atom of a particular element.
Atomic number is represented by Z.
An atom is electrically neutral. Hence, the number of protons equals to the number of electrons. In other words, the atomic number of an atom is equal to the number of electrons.
∴ Atomic Number (Z) = Number of protons = Number of electrons.