Atomic mass
The atomic mass or relative isotopic mass refers to the mass of a single particle, and therefore is tied to a certain specific isotope of an element. The dimensionless standard atomic weight instead refers to the average (mathematical mean) of atomic mass values of a typical naturally-occurring mixture of isotopes for a sample of an element. Atomic mass values are thus commonly reported to many more significant figures than atomic weights. Standard atomic weight is related to atomic mass by the abundance ranking of isotopes for each element. It is usually "about" the same value as the atomic mass of the most abundant isotope, other than what looks like (but is not actually) a rounding difference.
Law of definite proportions
A related early idea was Prout's hypothesis, formulated by English chemist William Prout, who proposed that the hydrogen atom was the fundamental atomic unit. From this hypothesis was derived the whole number rule, which was the rule of thumb that atomic masses were whole number multiples of the mass of hydrogen. This was later rejected in the 1820s and 30s following more refined measurements of atomic mass, notably by Jöns Jacob Berzelius, which revealed in particular that the atomic mass of chlorine was 35.45, which was incompatible with the hypothesis. Since the 1920s this discrepancy has been explained by the presence of isotopes; the atomic mass of any isotope is very close to satisfying the whole number rule, with the mass defect caused by differing binding energies being significantly smaller.