Atomic weight depends upon mass number, which is equal to sum of, number of protons and neutrons.