Atomic mass isn't as simple as looking up a number on the periodic table, even though most people treat it like it is.
The standard atomic mass listed for an element is a weighted average of all its naturally occurring isotopes, and the precision of that number depends entirely on what you are actually trying to do with it. If you are a student doing a basic chemistry homework problem, the periodic table value is probably good enough. If you are working in analytical chemistry or mass spectrometry, the difference between the rounded value and the true isotopic composition can throw off your results by enough to matter. Here is how you actually calculate it from scratch when you need to.
How To Calculate Atomic Mass from Isotopic Data
You need two pieces of information for each isotope: its exact mass and its relative abundance as a decimal fraction. Multiply the mass of each isotope by its fractional abundance, then add all those products together. That sum is the weighted average atomic mass. Take chlorine as the textbook example. It has two stable isotopes: chlorine-35 at roughly 34.969 amu with an abundance of about 75.78 percent, and chlorine-37 at roughly 36.966 amu with an abundance of about 24.22 percent. Converting those percentages to decimals and running the math: 34.969 times 0.7578 equals approximately 26.50. Then 36.966 times 0.2422 equals approximately 8.95. Add those together and you get 35.45 amu, which matches the periodic table value. Not exactly 35.5, not exactly 36. The rounding on most periodic tables hides the actual calculation. I ran into a situation once where I was preparing a reference material and the certified isotopic values didn't match the standard periodic table abundances. The sample came from a different geological source with a measurably different isotope ratio, and using the standard weighted average gave me a result that was off by about 0.03 percent from what the ICP-MS was reading. The workaround was straightforward: I pulled the specific isotopic composition data from the NIST database for that particular sample source and recalculated the weighted average from those numbers instead. It took maybe ten minutes once I knew where to look, but it made a real difference in the final uncertainty budget.
The key thing people miss is that the periodic table value you find in most textbooks is an interval, not a single fixed number for certain elements. IUPAC publishes conventional atomic weight intervals for elements like hydrogen, carbon, and sulfur because their isotopic composition varies significantly across natural sources. Hydrogen's standard atomic weight is given as an interval from 1.00784 to 1.00811 rather than one definitive value. If you are doing high-precision work and you just grab 1.008 and call it done, you may be introducing more error than you think. Another common pitfall is treating isotope abundance percentages as exact rather than measured values with their own uncertainty. Those percentages come from experimental measurements, usually by mass spectrometry, and they carry error bars. When you are multiplying masses by abundances and summing them, those uncertainties propagate. For routine calculations this does not matter, but if you are building a reference standard or calibrating an instrument, you need to carry those uncertainties through the entire calculation rather than assuming the periodic table value is exact. For elements with only one stable isotope, the calculation is trivial because there is nothing to average. Fluorine, sodium, aluminum, and a handful of others exist naturally as a single isotope, so their atomic mass is essentially just the mass of that one isotope. The periodic table lists them as single values rather than intervals, and the calculation really is that straightforward.
Get the Full Details

There are also elements with no stable isotopes at all. For those, the periodic table lists the mass number of the longest-lived isotope in brackets rather than a conventional atomic weight. Technetium, promethium, and the transuranic elements fall into this category. You do not calculate a weighted average for them because there is no natural isotopic mixture to average. You just use the mass of the most stable isotope or accept that the concept of a conventional atomic mass does not apply. If you need to look up isotopic composition data for specific elements, the IUPAC Commission on Isotopic Abundances and Atomic Weights maintains the most authoritative published values, and NIST has a database with more granular data including variations by sample type. Those are the places to go when the periodic table value is not precise enough for what you need.