If W is atomic weight and N is the atomic number of an element, then
Number of
No. of neutrons = mass number - no. of protons. = W - N.