The Basic Idea
Molar mass is the mass of one mole of atoms expressed in grams per mole. You find it by looking up the element on the periodic table. The number sitting under the element symbol is your answer. That's it for most practical purposes. I used to overcomplicate this when I was in undergrad. People would stand around trying to derive it from first principles, calculating everything from neutron counts and all that. You don't need to do any of that unless you're working with a custom isotope mix or doing isotope ratio work. The periodic table already did the math for you. It's a weighted average of every naturally occurring isotope, factoring in how much of each one exists in nature. Carbon is 12.011 because most of it is carbon-12 but a small fraction is carbon-13. That's all the periodic table value represents.
How To Calculate The Molar Mass Of An Element
The method breaks down into two scenarios, and which one applies to you depends on what you're actually trying to do. Scenario one: you just need the molar mass for a standard chemistry problem. Look at the periodic table. Find the element. Read the number. That's your molar mass in g/mol. If you're doing a stoichiometry problem and the table gives you 3 decimal places but your significant figures only warrant 2, round appropriately. Don't keep unnecessary precision and don't round too aggressively either. I've seen students drop a chlorine value from 35.45 to 35 and then wonder why their yield calculations were off by several percent. Scenario two: you're working with a specific isotope or a non-standard sample. Then you calculate it yourself. Multiply the mass of each isotope by its fractional abundance, then sum the results. For a pure isotope like carbon-12, the molar mass is exactly 12.000 g/mol by definition. For something like natural chlorine, which is roughly 75.78% chlorine-35 and 24.22% chlorine-37, you'd compute (34.969 × 0.7578) + (36.966 × 0.2422) = 35.45 g/mol. The slight difference from the periodic table value comes from using rounded isotope masses and abundances in that quick calculation. If you need precision, pull the isotope data from IUPAC's latest tables, not from whatever textbook you have sitting around.
Here's something people rarely talk about. The molar mass of an element is not a fixed constant the way the speed of light is fixed. It varies depending on where the sample came from. I ran into this explicitly when I was doing work with sulfur samples from different volcanic deposits. The sulfur-34 to sulfur-32 ratio shifts depending on the source, and that changes the molar mass by about 0.005 g/mol. For most lab work that doesn't matter. For high-precision isotope geochemistry, it absolutely matters, and using the standard periodic table value introduces a systematic error you can't correct after the fact. Another thing that catches people out: elements with no stable isotopes. Technetium, promethium, and the transuranics. The periodic table will list a molar mass for them, but it's calculated from the mass number of the longest-lived isotope, not from a natural abundance weighted average. There are no natural abundances to weight. If you're working with a synthesized sample of something like einsteinium, the molar mass you actually need depends entirely on which isotopes your particular batch contains. You can't look it up in a standard reference. You have to measure it or calculate it from your production data. There's also the case of elements where the IUPAC now publishes a range instead of a single value. Lithium is one example. Depending on the source material, its atomic weight can fall anywhere between about 6.94 and 7.00. IUPAC explicitly flags this because commercial lithium sources vary enough in isotopic composition that a single number is misleading. If you're doing work that requires high accuracy and your reagent comes from an unknown source, using 6.94 as a fixed value could be introducing error into your calculations. In those cases, you either need to measure the isotopic composition yourself or use the range and propagate the uncertainty properly.
Get the Full Details

A few practical notes that aren't obvious from any textbook. First, the unit is grams per mole, but that "gram" part is specific. The numerical value is the same whether you're talking about atomic mass units per atom or grams per mole. That's by design. One mole of carbon-12 atoms weighs exactly 12 grams, and each atom weighs exactly 12 u. The number carries over. This is useful but also confusing if you don't understand why it works, which is why you'll see people second-guess themselves when converting between units. Second, don't confuse molar mass with molecular mass. If you're dealing with an element that exists as a molecule — oxygen as O2, sulfur as S8, phosphorus as P4 — the molar mass of the molecular form is the atomic molar mass multiplied by the number of atoms. Oxygen's atomic molar mass is 16.00 g/mol. Molecular oxygen is 32.00 g/mol. You'd be surprised how many people miss this on exams and in lab settings. They look up 16 for oxygen and then use it in a PV=nRT calculation for O2 gas, and their pressure comes out exactly half of what it should be. Third, temperature and pressure don't affect molar mass. They affect density and molar volume, but the mass of a mole of iron is the same at room temperature and at 500 degrees Celsius. I mention this because I've seen people try to apply correction factors to molar mass values for temperature variations. There's nothing to correct. The mass of the atoms doesn't change.
When you're calculating molar mass from isotopic data and you need to keep track of significant figures, the rule is straightforward but easy to mess up. Multiplication follows the least number of significant figures, and addition follows the least precise decimal place. So if you multiply 34.969 (five sig figs) by 0.7578 (four sig figs), you get a result with four sig figs. Then when you add the second term, you align by decimal place, not by sig fig count. Most errors I see come from people rounding intermediate results too early. Keep the full precision through the calculation and round only at the end. If you're writing a program to automate this, the biggest pitfall isn't the math. It's the data source. Different periodic tables list slightly different values because they're updated at different times and use different measurement datasets. NIST, IUPAC, and various textbooks may all give you a value for boron that differs in the third decimal place. Pick one source and stick with it. If you need reproducibility across different labs or publications, use the IUPAC 2021 standard atomic weights. They're the current reference and they explicitly flag which elements have interval values versus fixed values. The whole process is simple enough that there's no excuse for getting it wrong through complexity. The mistakes happen through carelessness, not through difficulty. Look up the value, check whether you need the atomic or molecular form, match your significant figures to your data, and move on.