The atomic number of an element gives the element it's identity. This is also known as the number of protons within an element. If you have the number of protons but don't know the element's atomic mass, add the protons and neutrons to get the mass number.
I hope this helped!