Answer first: the mass number of an atom or ion equals its number of protons plus its number of neutrons. Because the proton count is fixed by the element and only the electron count changes when an ion forms, the mass number of an ion is identical to the mass number of its neutral atom. Charge never moves the mass number.
That single rule settles most textbook and exam questions. What trips people up is that three different numbers get tangled together — mass number, atomic number, and atomic mass — and each obeys a different rule. Atomic number counts protons alone. Mass number counts protons plus neutrons. Atomic mass is the weighted average of the naturally occurring isotopes, and it is usually not a whole number. Keep those three separate and the rule becomes mechanical.
The sections below work through why the rule holds, how to apply it when only part of the information is given, the isotope and ion cases that cause mistakes, and where the rule stops being exact.
Why the Proton-Plus-Neutron Rule Ignores Electrons Entirely
A neutral atom's electron count matches its proton count, and an ion has gained or lost electrons. Every electron has a mass of roughly 1/1836 that of a proton, according to the CODATA value for the electron rest mass. Strip an electron or add one, and you shift the atom's actual mass by an amount too small for ordinary chemistry counting.
That negligible electron mass is the physical reason the rule works. Mass number is defined as the integer total of protons and neutrons, and the electron contribution is deliberately left out because it does not change the count of heavy particles. An ion of an element therefore has the same mass number as the parent atom. Lose three electrons and the mass number stays put.
The rule also carries a naming constraint. Mass number is often called A, and the standardized notation places it as a superscript before the element symbol, as in carbon-14 or the shorthand ^14C. Atomic number Z usually appears as a subscript. The isotope-hyphen style (carbon-14, uranium-235) is the more common classroom and laboratory form.
One boundary matters here. Mass number is a count, not a measurement, so it never carries a decimal. If you see 35.45 or 63.55 attached to an element, you are looking at atomic mass, not mass number. The whole-number rule applies only to the proton-plus-neutron total.
The Three Numbers People Confuse, and Which One Uses Which Rule
Most errors come from answering a mass-number question with an atomic-mass value, or the reverse. A quick side-by-side comparison separates them. The table uses values from the International Union of Pure and Applied Chemistry (IUPAC) periodic table and its isotope data.
| Quantity | Symbol | What it counts | Typical value for chlorine | Whole number? | Changes when an ion forms? |
|---|---|---|---|---|---|
| Atomic number | Z | Protons | 17 | Yes | No |
| Mass number | A | Protons + neutrons | 35 or 37 | Yes | No |
| Atomic mass | mₐ | Weighted average of isotope masses | 35.45 u | No | No |
| Charge | — | Electrons gained or lost | 0, or −1 in chloride | — | Yes |
Read the chlorine row carefully. Atomic number 17 means every chlorine atom has 17 protons. The two stable isotopes have 18 and 20 neutrons, giving mass numbers 35 and 37. IUPAC lists the standard atomic weight of chlorine as 35.45, and that number has no place in a mass-number answer.
The charge column is the one people overlook. A chloride ion (Cl⁻) has gained an electron, so its electron count is 18, but its proton count stays 17 and its mass number stays 35 or 37 depending on the isotope. Charge describes electrons. The mass number rule never touches it.
Keep the operational test simple. If the question asks about a specific atom or ion and wants a whole number, you need the mass-number rule. If it asks for the periodic table's listed decimal weight, you are being asked about atomic mass, and the proton-plus-neutron sum will not match it.
Reading Mass Number and Charge Straight Off Standard Isotope Notation
Standard notation hands you both values at once if you know where to look. The superscript before the symbol is the mass number. The subscript is the atomic number. A charge, if present, appears as a right-hand superscript. Take uranium-235 as a worked example: ^235U means a mass number of 235, and the atomic number 92 tells you there are 92 protons. Subtract, and you get 143 neutrons.
The subscript is redundant when the element symbol is present, since the symbol already fixes the atomic number. That redundancy is useful for checking: if a notation says ^14N but lists a subscript of 8, the notation is wrong. The rule is to trust the symbol over a mislabeled subscript.
Charge follows the same right-hand convention. An ion written with a plus sign has lost electrons, and a minus sign means it has gained them. Magnesium's common ion, Mg²⁺, has 12 protons and a charge of +2, so it has 10 electrons. Its mass number is 24 or 25 or 26 depending on which isotope you have, and the charge tells you nothing about which one.
If a problem gives you a notation like ^56Fe³⁺, parse it in order. Mass number 56, element iron, charge +3. Protons equal 26, neutrons equal 30, electrons equal 23. Every number in that list is derived from the rule or from the notation itself, with no extra data needed.
Counting in Practice: Worked Cases From a Bare Nucleus to a Charged Ion
When a problem gives you counts, the arithmetic is a subtraction. Use one structured path and apply it consistently.
1: Find the proton count from the element symbol or from the atomic number Z. 2: Read the mass number A from the notation, or add protons and neutrons if both are given. 3: Subtract Z from A to get neutrons. 4: Adjust electrons by the charge: subtract for a positive charge, add for a negative charge. 5: Leave the mass number unchanged regardless of charge.
A few worked cases show the rule in action.
Oxygen atom: Z = 8, neutrons = 8, so A = 16. An oxygen atom has 8 electrons. Oxygen ion, O²⁻: Z = 8, neutrons = 8, so A = 16 as well. Electrons = 8 + 2 = 10. Mass number unchanged. Aluminum-27 ion, Al³⁺: Z = 13, A = 27, so neutrons = 14. Electrons = 13 − 3 = 10. Mass number still 27. Chlorine-37 ion, Cl⁻: Z = 17, A = 37, so neutrons = 20. Electrons = 17 + 1 = 18. Mass number still 37.
Notice how electrons vary wildly across that list — 10, 10, 18 — while the mass number tracks only protons and neutrons. That asymmetry is the whole point of the rule, and it is what makes ions and neutral atoms interchangeable in mass-number questions.
The failure mode to watch for is using charge as if it changed mass number. A student who writes "Al³⁺ has mass number 24" has subtracted 3 from 27. The fix is to remember what the charge actually tells you: it counts electrons, not nucleons.
Isotopes and Ions Together: Why Charge and Mass Number Never Interact
Isotopes complicate the picture because elements exist as mixtures of atoms with different neutron counts. IUPAC and its Commission on Isotopic Abundances and Atomic Weights maintain the reference values. Its standard atomic-weight tables list 35.45 u for chlorine and 1.008 u for hydrogen, and those decimals are averages across naturally occurring isotopes, not counts of any one atom.
An ion inherits the isotope identity of its parent atom. Take a chloride ion derived from chlorine-37. The parent atom had 17 protons and 20 neutrons, so the ion also has 17 protons and 20 neutrons, plus one extra electron. The mass number remains 37. Form the same ion from chlorine-35 and the mass number becomes 35. Charge is orthogonal to isotope identity.
That orthogonality explains why isotope notation and charge notation can be combined without conflict. ^37Cl⁻ has mass number 37 and charge −1. ^37Cl⁷⁺ has mass number 37 and charge +7. Both are legitimate descriptions of a chlorine-37 nucleus with different electron counts. The physics of how such highly charged ions form is exotic, but the mass-number arithmetic is the same.
This interaction also resolves a common exam trick. A question might say "an ion of magnesium has mass number 25 and charge +2" and ask for neutron and electron counts. Protons come from the symbol, so Z = 12. Neutrons = 25 − 12 = 13. Electrons = 12 − 2 = 10. The mass number is a property of the nucleus, and the charge is a property of the electron cloud; you read them from different places.
Where the Proton-Plus-Neutron Rule Stops Being Exact
The rule that mass number equals protons plus neutrons is exact as a bookkeeping definition, but it is not the same as a measured atomic mass. The difference is the mass defect. Nuclear binding energy removes a small amount of mass from every nucleus, and the deficit differs from isotope to isotope.
The scale is tiny but measurable. A carbon-12 atom is defined as exactly 12 unified atomic mass units, so by definition its measured mass equals its mass number. Helium-4 has a mass number of 4, but its measured atomic mass is slightly less than 4 u because of binding energy, according to IUPAC's atomic-weight and isotope data. The mass defect for helium-4 is a well-known example in nuclear physics and is the reason fusion releases energy.
That gap does not affect the rule for counting. When a problem asks for the mass number, you add protons and neutrons. When it asks for the actual mass of an isotope, you need the measured atomic mass, not the count.
There is a second boundary for elements with no stable isotopes. IUPAC sometimes lists a standard atomic weight in brackets, representing the mass number of the longest-lived isotope rather than a weighted average. In those cases, the bracketed value is a mass number and behaves like one, even though it appears in the atomic-weight column.
Rearranging the rule to find neutrons is standard practice but can confuse students on exams. Remember that the mass number is the total, so neutrons equal mass number minus atomic number. Checking with a known example — uranium-235 has 143 neutrons — confirms the direction of the subtraction.
The Rule in Nuclear Equations and Everyday Applications
Mass number is the conserved quantity in nuclear equations, and that conservation makes the rule useful beyond counting. In alpha decay, a nucleus emits a helium-4 nucleus, dropping its mass number by 4 and its atomic number by 2. Uranium-238 becomes thorium-234, and the arithmetic is 238 = 234 + 4. In beta decay, the mass number stays the same because a neutron turns into a proton and an electron; the electron leaves as a beta particle but the nucleon count is unchanged.
Radioactive dating relies on the same bookkeeping. Carbon-14 has a half-life of about 5,700 years according to the National Institute of Standards and Technology's evaluation, and the method works because carbon-14 decays to nitrogen-14 without changing the mass number. Both have A = 14, and only the proton count changes. The dating technique tracks the ratio of carbon-14 to carbon-12, both mass numbers that matter to the calculation.
Ion identity in mass spectrometry rests on this too. A mass spectrometer sorts ions by their mass-to-charge ratio, and interpreting the peaks requires knowing which ion was formed and what its charge is. The mass number comes from the element and isotope; the charge comes from how it was ionized. Chemists routinely work with both simultaneously.
Medical isotopes show the same separations. Iodine-131 has Z = 53 and A = 131, so 78 neutrons, and its radioactive behavior depends on the isotope, not on whether it forms an iodide ion in solution. The mass number describes the nucleus that emits the radiation; the charge describes the chemical form.
A Decision Path for Ambiguous Questions
Some problems are deliberately vague. A question might say "an ion has 16 protons and 18 electrons" without naming the mass number. The first step is recognizing what is missing, and the second is deciding whether the missing information can be recovered or must be assumed.
Start with what you know. Protons fix the element. If the problem doesn't give the isotope, you can't produce a specific mass number, but you can express it in terms of neutrons. The right framing is "mass number = 16 + n," not a fabricated integer. Fabricating an isotope because the problem seems incomplete is a common exam error.
If instead you're given the mass number but not the isotope, and the question asks for an atomic mass to a decimal place, you should stop and reconsider. That combination cannot be answered from the mass number alone. You need the actual isotope's measured atomic mass, or a weighted average, or a source that lists it.
For ion questions in general, use a fixed priority. Element symbol first for protons. Mass number from notation for total nucleons. Charge to adjust electrons only. If the question asks for a specific ion's composition and charge isn't given, state that charge cannot be determined. Clarity beats guessing.
Common Mistakes With This Rule and How to Catch Them
The most frequent error is treating the atomic mass as if it were a mass number. Chlorine's atomic mass of 35.45 is not a mass number. If a problem asks "what is the mass number of the most abundant chlorine isotope," the answer is 35 because chlorine-35 makes up about 76 percent of natural chlorine — a figure the IUPAC Commission on Isotopic Abundances and Atomic Weights publishes.
A second trap is subtracting charge from mass number. Al³⁺ has mass number 27, not 24. The 3+ tells you it lost three electrons, not three nucleons. Any time you catch yourself adjusting a mass number for charge, stop and check the definition.
A third is reading notation incorrectly. ^14N means mass number 14 and element nitrogen. N¹⁴ is not standard notation; the 14 is a charge or a stray number. Stick to the left-superscript convention, since mixing it with right-hand charge notation will confuse the parse.
A fourth mistake appears on exams where two isotopes are given and only one is asked about. "A sample contains ^35Cl and ^37Cl" is not a question about mass number yet — it's setting up a calculation. The mass number of any single chlorine atom is 35 or 37, never both.
FAQ
Does an ion have the same mass number as its neutral atom?
Yes. The mass number equals protons plus neutrons, and forming an ion changes only the electron count, which is excluded from the rule. Sodium's neutral atom and Na⁺ both have mass number 23 because both have 11 protons and 12 neutrons. Only the electron count differs: 11 versus 10. Charge has no effect on mass number.
What is the mass number of an atom with 17 protons and 20 neutrons?
This atom has mass number 37, and the element is chlorine, so it's chlorine-37. Its atomic number is 17 by definition of chlorine. A neutral chlorine-37 atom has 17 electrons and 17 protons. The chloride ion form (Cl⁻) from the same nucleus still has mass number 37 with 18 electrons. This is a straightforward subtraction problem: 17 + 20 = 37.
How do I find the number of neutrons from mass number and atomic number?
Subtract the atomic number from the mass number. For bromine-81, Z = 35 and A = 81, giving 46 neutrons. For an ion of the same isotope, the count is unchanged. The rearrangement only fails when the question is actually about atomic mass. A decimal answer signals an atomic-mass problem, not a neutron-count problem.
Can mass number ever be smaller than atomic number?
No, and any answer with that relationship contains an error. Atomic number counts protons, mass number counts protons plus neutrons, and neutrons cannot be negative. Helium-3 has Z = 2 and A = 3, so already 3 is only one more than 2. The smallest possible mass number for an element is its atomic number plus zero neutrons, and only hydrogen-1 actually meets that condition.
Why is atomic mass usually not a whole number?
Atomic mass is the weighted average of all naturally occurring isotopes, and the weights reflect their percent abundances. Chlorine's standard atomic weight of 35.45 u falls between the 35 and 37 mass numbers because chlorine-35 is more abundant than chlorine-37. Deuterium's presence in normal hydrogen pushes its standard atomic weight to 1.008 u rather than the whole number 1. IEEE and IUPAC data make these averages verifiable.
How does mass number appear in a nuclear equation?
Mass numbers on both sides of a nuclear equation must sum to the same value. In the alpha decay of uranium-238, the products are thorium-234 and helium-4, and 238 equals 234 + 4. In beta decay of carbon-14, the mass number stays 14 even though the element identity changes to nitrogen. Conserving mass number is one of the standard checks for a valid nuclear equation.
Does mass defect make the rule wrong?
No. Mass defect affects the measured mass of an isotope, not its mass-number definition. Helium-4's measured atomic mass is slightly below 4 u due to binding energy, but its mass number is still exactly 4. The discrepancy between integer mass number and measured atomic mass is the mass defect, and it is quantifiable only for specific isotopes. A first-year chemistry problem that asks for mass number does not involve mass defect.
Is mass number ever reported with a decimal?
No. Mass number is a count of nucleons, so it is always an integer. Seeing 35.45, 63.55, or 1.008 in a table means you are looking at an atomic weight. The IUPAC periodic table lists both atomic numbers and atomic weights, and students sometimes read the second as a mass number. Check the units and the decimal: atomic weight carries them, mass number does not.
One practical check catches almost every mistake. Ask three questions on every problem — what is being counted, does charge affect it, and does the answer need a decimal. The rule is simple, and the discipline of keeping mass number, atomic number, and atomic mass distinct does the rest.