calculator.onl
Categories50

Protons, neutrons and electrons calculator

Find protons, neutrons and electrons from atomic number, isotope mass number and signed ion charge. See exact particle counts and formulas.

A worked example

Compare neutral carbon-12 and carbon-13. Which particles change? Neutrons · 6 → 7.

Protons6Neutrons8Electrons6
Whole number of protons, from 1 to 118. Atomic number identifies the element.

Whole-number mass number of the specified isotope, at least Z and at most 400. Do not enter average atomic mass.

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.

Updates as you type

Use a dot or comma for decimals. No thousands separators.

YOUR RESULT

Protons

6

Calculated from your inputs

Neutrons8
Electrons6
The numbers, at a glance

Calculations run in your browser.
UNDERSTAND THE RESULT

A little context. A clearer answer.

↑ Back to calculator

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

InputWhat it meansExample value
Atomic number ZWhole number of protons, from 1 to 118. Atomic number identifies the element.6
Mass number AWhole-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

  1. Protons p = Z.
  2. Neutrons n = A − Z.
  3. Electrons e = Z − q. Positive charge removes electrons; negative charge adds them.
The formulap = Z; n = A − Z; e = Z − q

A 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 enter
Result for this example · Protons6

This 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.