The Periodic Table Is Already The Answer
Most people overcomplicate this. You want the atomic weight of an atom, you look at the periodic table, you grab the number below the element symbol. That's it. The number there is already the weighted average of all the naturally occurring isotopes, adjusted for how common each one is. There's no calculation required unless you're working with a specific sample that's been enriched or depleted in certain isotopes. Open any periodic table. Find the element. The number below the symbol is your atomic weight. It's usually given to four or five significant figures depending on the source. IUPAC publishes standard values that most tables pull from. The CIAAW maintains the official tables. That's the baseline. Anything else is an adjustment for a specific case. The trick is knowing when the number on the table is actually usable and when it's going to lead you somewhere wrong. Most of the time it's fine. But there are edge cases that trip people up constantly.
I spent a whole afternoon once trying to reconcile analytical balance readings against a published atomic weight for boron and coming out about 0.4% off every time. The periodic table lists boron's atomic weight as approximately 10.81, but I was working with a reagent batch that was clearly sourced from a geologically unusual deposit. The isotopic composition was shifted. Boron-10 and Boron-11 don't always sit at that 20-80 split. In this case it was closer to 15-85, which shifted the effective atomic weight down to around 10.77. The IUPAC table doesn't account for that kind of variation because it reports an interval value, not a single number. I ended up running an isotope ratio mass spectrometry test on the sample itself and calculating the atomic weight from the measured ratios instead of trusting the table value. That's what you do when precision matters more than convenience.
When You Actually Need To Calculate It
Sometimes the periodic table value isn't enough. Maybe you're dealing with an enriched sample, a synthetic isotope, or a material from a non-terrestrial source. In those situations you need to compute the weighted average yourself. You take each isotope's atomic mass, multiply it by its fractional abundance, and sum the results. The formula is straightforward: atomic weight equals the sum of isotope mass times relative abundance for all isotopes present. You need accurate isotopic masses and reliable abundance data. The NIST database has both. Just make sure you're using the right reference because different sources occasionally vary in their measured values. Here's a quick example with chlorine since it's the textbook case everyone gets wrong on first try. Chlorine has two stable isotopes: Cl-35 at about 34.969 amu with roughly 75.76% abundance and Cl-37 at about 36.966 amu with roughly 24.24% abundance. Multiply and add: 34.969 times 0.7576 plus 36.966 times 0.2424 gives you approximately 35.45 amu. Which happens to match what you see on the periodic table. That's not a coincidence. The table value came from exactly this calculation.
Get the Full Details

But here's the thing most guides skip. The atomic weight on the periodic table is not a constant. It's a range for certain elements. IUPAC started publishing interval values a while back for elements whose isotopic composition varies significantly across natural sources. Boron, lithium, lead, mercury, sulfur, carbon, oxygen, nitrogen, strontium, and silicon are all on that list. If you're doing routine stoichiometry for a chemistry class, you probably won't notice. If you're doing isotope dilution analysis or working in geochemistry, ignoring the interval nature of these values will make your results look wrong.
Common Mistakes That Waste Time
People confuse atomic weight with atomic mass. Atomic mass refers to a single isotope. Atomic weight is the weighted average across all naturally occurring isotopes. They're related but not interchangeable terms. If someone asks for the atomic mass of carbon-12, the answer is exactly 12 by definition. If they ask for the atomic weight of carbon, the answer is about 12.011 because of carbon-13 and trace carbon-14. Another frequent error is rounding too early. If you're working through a multi-step problem and you round the atomic weight to two decimal places before plugging it into subsequent calculations, your final answer can drift noticeably. Keep at least four significant figures through intermediate steps. Round at the end based on your limiting precision. And don't assume the periodic table value is the same thing as the molar mass in grams per mole. They are numerically identical by design, but the concepts are different. One is dimensionless relative mass. The other has units. In practice they behave the same in calculations, which is why the distinction mostly matters when you're writing methods sections or communicating with people who care about metrology.
There's also the issue of synthetic elements. For elements like technetium, promethium, and everything beyond uranium, there are no stable isotopes. The periodic table typically lists the mass number of the longest-lived isotope in brackets rather than a conventional atomic weight. If you're calculating something involving these elements, you use the mass of the specific isotope you're working with. There's no natural abundance distribution to average over.

Where To Get Reliable Data
NIST has the Comprehensive Nuclear Data Tables online. They list isotopic abundances, atomic masses, and standard atomic weights. The values change occasionally as measurement techniques improve, so check the date on whatever you pull from. IUPAC's Commission on Isotopic Abundances and Atomic Weights publishes periodic updates. Their latest interval-based standard atomic weights came out a few years ago and revised several values slightly. If you need isotopic data for a specific sample rather than standard terrestrial values, you're looking at literature values from geochemistry or nuclear physics papers. The values can differ depending on the sample origin. Seawater sodium has a different isotopic signature than evaporite deposits, though the difference is negligible for most applications. It matters more for things like meteorite analysis or forensic isotope tracing. For practical lab work, a standard periodic table to four significant figures covers 95% of what you'll encounter. The times when you need more precision are the times when you should pause and figure out whether your particular problem falls into the interval-weight territory or the enriched-sample territory. If you can't tell which one it is, that's usually the point where things start going sideways.