A little context. A clearer answer.
When this calculator is useful
Enter atomic number Z, the mass number A of a specified isotope, and signed charge q. The calculator returns exact integer counts of protons, neutrons and electrons. For a neutral atom use 0; enter −1 for a singly negative ion and 1 for a singly positive ion. For a related calculation, try Scientific & Engineering Notation Converter.
What to enter
| Input | What it means | Example value |
|---|---|---|
| Atomic number Z | Whole number of protons, from 1 to 118. Atomic number identifies the element. | 6 |
| Mass number A | Whole-number mass number of the specified isotope, at least Z and at most 400. Do not enter average atomic mass. | 14 |
| Ion charge q (signed integer) | Signed integer in elementary-charge units. Enter 0 for neutral, 1 for a +1 ion, or −1 for a −1 ion. Allowed range: −118 to Z. | 0 |
How the calculation works
- Protons p = Z.
- Neutrons n = A − Z.
- Electrons e = Z − q. Positive charge removes electrons; negative charge adds them.
p = Z; n = A − Z; e = Z − qA worked example
Worked examples (carbon-14: our calculation; iodine-127: published OpenStax example): carbon-14 with Z = 6, A = 14 and q = 0 has 6 protons, 8 neutrons and 6 electrons. Iodine-127 with Z = 53, A = 127 and q = −1 has 53 protons, 74 neutrons and 54 electrons.
Example you can load
What to enterThis is a fixed example; changing the form above does not change these numbers.
Assumptions & limits
This is particle bookkeeping, not a check of isotope existence, stability, natural abundance or whether an ion can form. Z = 1–118, A = Z–400 and q = −118–Z are software bounds. Mass number is the integer sum of protons and neutrons: never round the average atomic mass from a periodic table to infer an isotope. The dots are decorative, not electron shells.
Frequently asked questions
Can I use the periodic table's decimal atomic mass?
No. It is an average over isotopes, not a mass number. Choose a specified isotope with integer A; rounding an average does not identify it.
Why subtract a positive charge?
Protons contribute positive charge and electrons negative charge, so q = p − e. Therefore e = Z − q; a −1 charge gives one extra electron.
Does an accepted input prove the isotope exists?
No. The bounds only prevent invalid arithmetic and negative counts. Isotope existence, stability and possible charge states require separate evidence.