The average atomic mass of an element is a weighted mean: every isotope’s measured mass counts in proportion to how common that nuclide is in a natural sample. This free calculator takes up to four isotope masses in u with their percent abundances and returns that mean, with the whole-number shortcut, the signed size of the shortcut’s error, the largest mass excess, the molar mass and the mass of one average atom beside it. It opens on chlorine, whose two measured masses 34.968852682 u and 36.965902602 u carry 75.76 % and 24.24 % of a natural sample between them, for a headline of 35.4529 u.
The whole-number shortcut is not always too big. Swap chlorine’s two measured masses for the whole numbers 35 and 37 and the same mixture reads 35.4848 u, which is +0.0319 u out — then press Lithium, where the same chip reads -0.0159 u, low by 0.230 %. The Shortcut error chip therefore always carries its sign, because the direction changes twice across the periodic table rather than once.
Each button writes a complete mixture into the mass and abundance boxes, so the answer changes the moment you press it. The line underneath quotes back whatever the widget then works out, so nothing in it is stored text. All six are forward states: load one with the Solve for menu on the average, because switching that menu clears every box.
Pick a case above, or type your own figures.

The average atomic mass calculator is a free online tool for the one calculation the phrase usually means: the weighted mean of an element’s isotope masses, each counted in proportion to how common that nuclide is in a natural sample. Give it up to four isotope masses in u with their percent abundances and it returns M = sum of (mi · fi) ÷ sum of fi, where each fractional abundance is fi = pi ÷ 100. It opens on chlorine, where 34.968852682 u at 75.76 % and 36.965902602 u at 24.24 % give a headline of 35.4529 u.
The whole-number shortcut is not always too big, and that is the point of the page. Replace each measured mass with its mass number and chlorine comes out at 35.4848 u, high by +0.0319 u or 0.0899 %. Press the lithium preset and the same chip reads -0.0159 u, low by 0.230 %, so the Shortcut error chip always carries its sign. Across the 84 elements with natural isotopes the shortcut comes out too small for ten of them - hydrogen through nitrogen, and thorium, protactinium and uranium - and too large for the other 74, so its error crosses zero twice in proton number rather than once.
Carbon is the element where the two methods almost agree, and that is no coincidence. Its shortcut error is -0.0000359 u, the only one under 0.0001 u and eighty-five times smaller than the next closest element the page tabulates, nitrogen at -0.00306 u, because carbon-12 is exactly 12 u by definition: it is the nuclide that defines the unit, so only carbon-13’s small gap and its 1.07 % share are left to spoil the integer sum.
A shorter mixture is entered by leaving rows at zero. A row counts as IN USE when its abundance is above zero, so a two-isotope element leaves rows 3 and 4 alone, which is the shape the page opens in. An Isotopes in use chip reports what the answer actually used - 2 of 4 on the chlorine defaults, 4 of 4 on iron - so a mixture cut short can never be mistaken for the full one. A row with an abundance above zero and a mass of zero or less is refused in words, because that is an error rather than an empty row.
Abundances that do not add to 100 are computed, not silently corrected. The sum of the fractions is kept as an explicit divisor rather than assumed to be 1, so a mixture adding to 99.00 % still returns a sensible mean - and the Abundance total chip then says so and names the figure it divided by. Within half a point of 100 the total is reported without comment, because published abundances routinely round that way.
It also runs backwards, and it enforces when that is legitimate. The two-isotope rearrangement f1 = (M − m2) ÷ (m1 − m2) recovers one percent abundance from a known average, and it is exact only for the 22 elements that really have two abundance-bearing isotopes. Iron has four, so the pair form has to push the 2.401 % share of Fe-57 and Fe-58 onto the rows it can see: fed the published 55.845 u it recovers 4.50735 % for Fe-54, which the NIST table puts at 5.845 % - an error of 1.338 percentage points. So the page refuses that target outright when rows 3 or 4 carry an abundance, and an Inverse solve chip reports whether your mixture qualifies before you switch. Solving for an isotope mass instead has no such restriction, because that rearrangement is exact for any number of rows.
Solving from a published average inherits that average’s rounding. Copper from the published 63.546 u returns 69.152 % against the table’s 69.15 %, while feeding the unrounded 63.54603995 u returns 69.15 % exactly. The method is exact and the input is rounded, which is worth knowing before quoting a recovered abundance to four figures.
Two unit bridges come with the answer, and one of them is no longer exact. One average chlorine atom weighs 5.8871e-26 kg, and the molar mass chip multiplies the headline by 1.00000000105 rather than by 1, because the 2019 revision of the SI made the molar mass constant a measured quantity: carbon-12 is still exactly 12 u while its molar mass is 12.0000000126 g per mol. The offset is one part in a thousand million and never shows in the six figures the page prints, which the page says rather than leaving to be discovered.
What the page does not do is worth naming as plainly as what it does. It never labels its headline a standard atomic weight, because a published standard atomic weight is assessed across many natural samples and for a dozen elements is quoted as an interval rather than a number. It leaves every mass difference in u and converts none of them into an energy. It has no element lookup: the six presets will write a real mixture into the boxes for you, but there is no way to type a symbol and have the masses and abundances fetched, and the only table the page carries is the element symbols its nuclide labels need, so it can write Cl-35 instead of a bare 35. And it draws no atom: the interactive simulator linked beside it builds one nuclide at a time and reports that single nuclide’s mass and abundance, which is exactly the gap this calculator fills.
| Symbol | Quantity | Default unit | Also accepts | Example value |
|---|---|---|---|---|
| M | Average atomic mass | u | The default solve target, and an INPUT when you solve for an abundance or a mass | 35.45293758 |
| Z | Proton number | — | Optional, and it never changes the answer: it labels the rows as Cl-35 and Cl-37. 0, or anything outside 1 to 118, drops the labels | 17 |
| m1 | Isotope 1 mass | u | The measured mass of the nuclide, not its whole-number mass number. Accepts 0.5 to 500 u | 34.968852682 |
| p1 | Isotope 1 abundance | % | fraction, because isotope tables publish 0.7576 where exam papers print 75.76 | 75.76 |
| m2 | Isotope 2 mass | u | As isotope 1. The lithium preset uses 7.0160034366 | 36.965902602 |
| p2 | Isotope 2 abundance | % | fraction. The worked table on the page moves isotope 1 and lets this box take the rest | 24.24 |
| m3 | Isotope 3 mass | u | As isotope 1. Ignored while the isotope 3 abundance is 0 | 0 |
| p3 | Isotope 3 abundance | % | fraction, and 0 here leaves row 3 out of the mixture entirely | 0 |
| m4 | Isotope 4 mass | u | As isotope 1. The iron preset uses 57.93327443 | 0 |
| p4 | Isotope 4 abundance | % | fraction, and 0 here leaves row 4 out. The iron preset uses 0.282 | 0 |
Z if you have it. It is optional and never changes the answer: it labels the rows, so the panel writes Cl-35, Cl-37 rather than two bare integers. Type 0 if the question did not give a proton number — what a proton count actually is belongs to the guide to atomic structure, which this tool assumes rather than explains.34.968852682, not 35. A box takes anything from 0.5 to 500 u, so a figure pasted in kilograms is refused in words rather than quietly averaged.2 of 4 there and 4 of 4 on the iron preset, so a truncated mixture can never pass for the full one.35.4529 u on the defaults. It can never fall outside the range of the masses you typed, and it leans towards whichever nuclide has the larger share.Cl-37: -0.0341 u on the defaults. That gap is measured against the mass number, so it is not the one that becomes binding energy — that one is measured against the combined mass of the separated protons, neutrons and electrons. The guide to nuclear binding energy covers it, and the binding energy calculator does that step; this page stops in u.5.8871e-26 kg on the defaults, and Molar mass gives it in grams per mole. Neither is a new measurement: both are conversions of the one headline.exact (2 isotopes) on the defaults and approximate only (4 isotopes) on iron, and the abundance target refuses outright when rows 3 or 4 carry an abundance. The mass target has no such restriction, because that rearrangement is exact however many rows you use.Two neighbouring ideas are worth separating from this one before you start. This page averages measured masses over a mixture; adding a proton count to a neutron count to get a single nuclide’s mass number is the other calculation that goes by the name atomic mass, and the guide to how atomic mass is calculated sets the two side by side with worked problems. If you want to see where one nuclide’s mass and abundance come from in the first place, the atomic structure simulator in the related tools below hands you both for the first twenty elements, one nuclide at a time, out of the same NIST table this page is checked against.
The other is the word average itself. A published standard atomic weight is the same quantity arrived at by committee over many samples, and is sometimes an interval rather than a number, so your computed figure can differ slightly from a printed one without either being wrong. The headline here is never labelled a standard atomic weight for that reason.
34.968852682 u at 75.76 % and 36.965902602 u at 24.24 %. The headline reads 35.4529 u and the Shortcut error chip reads +0.0319 u (high by 0.0899 %), because both chlorine nuclides are measurably lighter than their own mass numbers.The table below holds chlorine’s two measured masses fixed and moves one thing: isotope 1’s share, with isotope 2 taking whatever is left so that every row is a complete mixture. Every headline and chip cell was read out of the running widget rather than worked out by hand. Where a cell and the tool ever part company, believe the tool.
| Isotope 1 abundance, in percent | Headline average, in u | Mass number average chip | Shortcut error chip | Isotopes in use chip | Inverse solve chip |
|---|---|---|---|---|---|
| 100 | 34.9689 | 35 u | +0.0311 u (high by 0.0891 %) | 1 of 4 | not available (1 isotope) |
| 90 | 35.1686 | 35.2 u | +0.0314 u (high by 0.0894 %) | 2 of 4 | exact (2 isotopes) |
| 75.76 | 35.4529 | 35.4848 u | +0.0319 u (high by 0.0899 %) | 2 of 4 | exact (2 isotopes) |
| 50 | 35.9674 | 36 u | +0.0326 u (high by 0.0907 %) | 2 of 4 | exact (2 isotopes) |
| 24.24 | 36.4818 | 36.5152 u | +0.0334 u (high by 0.0915 %) | 2 of 4 | exact (2 isotopes) |
| 0 | 36.9659 | 37 u | +0.0341 u (high by 0.0922 %) | 1 of 4 | not available (1 isotope) |
Three things are worth reading off that table. The headline climbs steadily as the heavier nuclide takes more of the sample — 34.9689, 35.1686, 35.4529, 35.9674, 36.4818, 36.9659 u — and it never leaves the interval between the two masses, which is the invariant the unit tests assert across fifty thousand random mixtures.
The second is the first and last rows. An abundance of 0 takes a row out of use entirely, so those two rows report 1 of 4 isotopes and the headline becomes that single mass: a one-nuclide “mixture” has nothing to average. That is the same rule that lets you enter a two-isotope element without touching rows 3 and 4.
The third is the Shortcut error column, which rises from +0.0311 to +0.0341 u down the table and stays positive throughout. For chlorine it has to: both nuclides sit below their mass numbers, so the integer shortcut overstates every mixture of them. That is a fact about chlorine and not about the method, which the next table makes awkwardly clear.
| Symbol | What it is | Unit | On this page |
|---|---|---|---|
| M | The average atomic mass: the weighted mean of the masses you entered. This is the headline, and the default solve target | u | Box menu reads u. It becomes an INPUT when you solve for an abundance or a mass, where it defaults to 35.45293758. |
| Z | The proton number. OPTIONAL: it labels the nuclides and gives the neutron count as A − Z, and it never changes the answer | — | 17 is the default. 0, or anything outside 1 to 118, drops the Nuclides chip and says so in the working. |
| m1…m4 | Each isotope's measured mass, which an isotope table calls its relative atomic mass. Not the whole-number mass number | u | Accepts 0.5 to 500. Defaults 34.968852682 and 36.965902602 for chlorine, with rows 3 and 4 at 0. |
| p1…p4 | Each isotope's natural abundance. A row is IN USE when this is above zero, which is how a shorter mixture is entered | % | Box menu reads % or fraction. Defaults 75.76 and 24.24, with rows 3 and 4 at 0. |
| fi = pi / 100 | The fractional abundance: the share of a natural sample that is this nuclide. The one step most answers lose | — | Printed in the working for every row in use, as 75.76 / 100 = 0.7576 on the defaults. |
| Ai | The mass number of row i, taken as the nearest whole number to the mass you typed | — | 35 and 37 on the defaults. Used only by the shortcut and by the nuclide labels. |
| MA | The mass number average: the same weighted mean with each measured mass replaced by its mass number | u | A chip, never an input. 35.4848 u on the defaults and 6.9241 u on the lithium preset. |
| MA − M | The SIGNED error of that shortcut. Positive means the shortcut overstates the average, negative means it understates it | u | The Shortcut error chip. +0.0319 u on the defaults, -0.0159 u on lithium. |
| D = m − A | The mass excess of one nuclide: how far its measured mass sits from its own mass number, with the sign kept | u | The Largest mass excess chip reports the biggest of them. Cl-37: -0.0341 u on the defaults. |
| sum of fi | The fractions of every row in use, added. Kept explicit rather than assumed to be 1, and the one divisor that must not vanish | — | Reported as the Abundance total chip in percent. 100.00 % on every preset. |
A nuclide’s mass number is a count of protons and neutrons, so it is a whole number by construction. Its measured mass is not: it is the mass of that whole atom in units of one twelfth of a carbon-12 atom, and the two agree exactly for carbon-12 alone, which is the nuclide that defines the unit.
For every other nuclide there is a gap, and the gap has a sign. The lightest nuclides measure slightly more than their mass numbers — the lithium preset makes Li-7 read +0.0160 u — while most of the chart measures slightly less, which is why chlorine’s chip reads Cl-37: -0.0341 u instead.
Weight those gaps by abundance and you get the shortcut’s error, which is why its sign follows the gaps rather than the method. The table below is thirteen elements entered into this page’s own boxes, ordered by proton number, and the sign column changes twice: low up to nitrogen, high from oxygen to lead, low again by uranium.
| Element, with its proton number | Headline average, in u | Mass number average chip | Shortcut error chip, signed |
|---|---|---|---|
| Hydrogen (Z = 1) | 1.00794 | 1.00012 u | -0.00783 u (low by 0.776 %) |
| Lithium (Z = 3) | 6.94004 | 6.9241 u | -0.0159 u (low by 0.230 %) |
| Boron (Z = 5) | 10.811 | 10.801 u | -0.0100 u (low by 0.0928 %) |
| Carbon (Z = 6) | 12.0107 | 12.0107 u | -0.0000359 u (low by 0.000299 %) |
| Nitrogen (Z = 7) | 14.0067 | 14.0036 u | -0.00306 u (low by 0.0219 %) |
| Oxygen (Z = 8) | 15.9994 | 16.0045 u | +0.00508 u (high by 0.0317 %) |
| Magnesium (Z = 12) | 24.3051 | 24.3202 u | +0.0151 u (high by 0.0623 %) |
| Chlorine (Z = 17) | 35.4529 | 35.4848 u | +0.0319 u (high by 0.0899 %) |
| Iron (Z = 26) | 55.8451 | 55.9099 u | +0.0648 u (high by 0.116 %) |
| Copper (Z = 29) | 63.546 | 63.617 u | +0.0710 u (high by 0.112 %) |
| Silver (Z = 47) | 107.868 | 107.963 u | +0.0951 u (high by 0.0881 %) |
| Lead (Z = 82) | 207.217 | 207.241 u | +0.0241 u (high by 0.0116 %) |
| Uranium (Z = 92) | 238.029 | 237.978 u | -0.0507 u (low by 0.0213 %) |
Two rows in that table are worth stopping on. Carbon’s error is -0.0000359 u, the only one in the table under 0.0001 u and eighty-five times smaller than the next closest row, nitrogen at -0.00306 u, and that is not a coincidence: carbon-12 is exactly 12 u by definition, so only carbon-13’s small gap and its 1.07 % share are left to spoil the integer sum.
Uranium is the other. It sits at the far end of the table and its error is negative again, which is why “the shortcut always overstates” cannot be rescued by saying it flips once somewhere in the teens. Across the 84 elements with natural isotopes it is too small for ten of them and too large for the other 74, so a single threshold in proton number is the wrong shape of claim.
6.0151228874 u at 7.59 % and 7.0160034366 u at 92.41 % give 6.94004 u, and the Shortcut error chip reads -0.0159 u (low by 0.230 %). The headline is also 6.940 rather than the 6.941 older tables print.55.845 u, and it hands back 4.50735 % for Fe-54 where the NIST table lists 5.845 % — short by 1.338 percentage points, an error worth 22.89 % of the figure it was after. The 2.401 % of the sample that Fe-57 and Fe-58 carry has to be absorbed by the two rows that are left, and that is the whole of the error, so the page refuses that target when rows 3 or 4 carry an abundance rather than printing the confident wrong number.63.546 u recovers 69.152 % where the NIST table lists 69.15 %, and the unrounded 63.54603995 u recovers 69.15 % exactly. Nothing about the rearrangement changed between those two runs, only the number you fed it — which is worth knowing before you quote a recovered abundance to four figures.99.00 % still returns a sensible mean. But the Abundance total chip then says so and names the figure it divided by, because renormalising in silence would hide a typo that changes the answer. Half a point either side of 100 passes without a flag, since published shares are themselves rounded and a total that close is an artefact of their rounding rather than a mistake of yours.15.9994 u sits 0.00449 u above O-16’s own 15.99491461957 u, which is a fair summary of a sample that is 99.757 % O-16. Iron’s 55.8451 u sitting just under Fe-56 says the same thing about a sample that is 91.754 % Fe-56.
55.8451 u from Fe-54, Fe-56, Fe-57 and Fe-58. Isotopes in use reads 4 of 4 and Inverse solve reads approximate only (4 isotopes), which is the page saying in advance that the abundance target will refuse this mixture.For the worked problems, the diagrams and both calculations argued out in prose, read the guide to how atomic mass is calculated, which this tool is the arithmetic half of. The guide to atomic structure owns the proton, neutron and electron count behind a mass number, the guide to nuclear binding energy takes the mass defect — the gap against the combined mass of the separated protons, neutrons and electrons — into energy, and the guide to the nuclear model is where the idea of a nuclide came from.
Four tools sit beside this one. The binding energy calculator continues where this page stops, the alpha decay calculator uses nuclide masses across a reaction, and the Bohr model simulator and the nuclear model simulator let you build the atom by hand. The full physics lab library and the calculator index are open too.
It takes as many as four isotope masses in u, each with its own percent abundance, and returns their weighted mean, which is the element's average atomic mass. Beside it the panel reports how many rows were in use, the abundance total, the nuclide labels, the whole-number mass number average, the signed error of that shortcut, the largest mass excess, the molar mass, the mass of one average atom in kilograms, and whether a two-isotope inverse solve is legitimate for the mixture you typed. It can also run two rearrangements backwards: isotope 1's percent abundance from a known average, and isotope 1's mass from a known average.
Leave the isotope 3 and isotope 4 abundance boxes at 0, which is how the page opens. A row counts as in use only when its abundance is above zero, so those rows are never read and their mass boxes are ignored. The Isotopes in use chip reports what the answer actually used, reading 2 of 4 on the chlorine defaults and 4 of 4 on the iron preset, so a mixture you cut short cannot be mistaken for the full one.
Because a measured isotopic mass is not its whole-number mass number, and whether it sits above or below that integer changes across the table. The shortcut comes out low for hydrogen through nitrogen and for thorium, protactinium and uranium, and high for the other 74 elements with natural isotopes, so its error crosses zero twice rather than once. On this page chlorine reads +0.0319 u, high by 0.0899 per cent, while lithium reads -0.0159 u, low by 0.230 per cent, and carbon is the element where the two methods agree closest at -0.0000359 u, which is no coincidence because carbon-12 defines the unit.
Yes, for a two-isotope element: pick isotope 1 abundance in the Solve for menu, type the published average and both isotope masses, and the page applies the closed-form rearrangement. Copper is the worked case on the page, and the figure it recovers lands about two thousandths of a percentage point off the published one - which is the rounding already in the average you fed it, not slack in the rearrangement. Remember that switching the Solve for menu clears every box, so choose the target before you type.
Because iron is not a two-isotope element; it has four abundance-bearing isotopes, and the pair rearrangement has to put the whole sample into two of them. The two rows it would have to ignore, Fe-57 and Fe-58, carry 2.401 per cent of the sample between them, and that share has to go somewhere: it is forced onto the two rows that remain, which is why the figure recovered for Fe-54 comes out 22.89 per cent short of the 5.845 per cent the table lists. So the page refuses the abundance target outright when rows 3 or 4 carry an abundance, rather than printing a confident wrong number; the breaks-down section works the arithmetic through.
They are the same quantity reached by two different routes, and this page takes only one of them. What the panel returns is the weighted mean of the masses and abundances you typed; a standard atomic weight is a published figure for the element, assessed across many natural samples rather than measured once, and for some elements it is quoted as an interval instead of a single number because the isotope mix varies with where the sample came from. The headline is therefore never labelled a standard atomic weight, and a figure you compute here can differ slightly from a published one without either being wrong.
Because the 2019 revision of the SI untied the two. The molar mass constant is now a measured quantity rather than exactly one gram per mole, so one u corresponds to 1.00000000105 g per mol; carbon-12 is still exactly 12 u by definition, while its molar mass is 12.0000000126 g per mol. The offset is about one part in a thousand million, so it never shows in the six figures this page prints, and the chip is there because the relation is real rather than because the difference matters to an exam answer.
Mass excess here is simply the measured mass of a nuclide minus its whole-number mass number, in u, kept with its sign. It is positive at the light end of the chart, exactly zero for carbon-12, negative through the middle, and positive again among the heaviest nuclides. Converting that gap into an energy is a different calculation with a different page: everything on this page stays in u, and no energy unit appears anywhere in the panel.