Roboculator
Online CalculatorsCategoriesDate & EventsNews
Get Started
Online CalculatorsCategoriesDate & EventsNewsGet Started
Roboculator

Smart calculators for every challenge. Free, fast, and private.

Categories

  • Finance
  • Health
  • Math
  • Construction
  • Conversion
  • Everyday Life

Popular Tools

  • Date & Events
  • Loan Calculator
  • BMI Calculator
  • Percentage Calc
  • Latest News
  • Search All

Resources

  • Glossary
  • Topic Tags
  • News & Insights

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy
  • Disclaimer
© 2026 Roboculator. All rights reserved.
Roboculator

roboculator.com

  1. Home
  2. /Chemistry
  3. /Atomic & Molecular Calculators
  4. /Atom Calculator

Atom Calculator

Last updated: April 5, 2026

The Atom Calculator determines the number of protons, neutrons, and electrons in any atom or ion from atomic number, mass number, and charge. The foundational reference for chemistry students learning atomic structure, isotopes, electron configuration, and periodic table relationships.

Calculator

Results

Number of Protons

6

Number of Neutrons

6

Number of Electrons

6

Approx. Nuclear Mass (amu)

12.0957

Results

Number of Protons

6

Number of Neutrons

6

Number of Electrons

6

Approx. Nuclear Mass (amu)

12.0957

In This Guide

  1. 01The Three Subatomic Particles and How to Count Them
  2. 02Isotopes: Same Element, Different Neutrons
  3. 03Ions: Gaining and Losing Electrons
  4. 04Electron Configuration and the Quantum Model

Every chemical property of an element traces back to its atomic structure — the number of protons that defines the element, the neutrons that determine the isotope, and the electrons that govern all chemistry. The calculator for atom composition finds the number of protons, neutrons, and electrons for any atom or ion from just three inputs: atomic number, mass number, and ionic charge.

The Three Subatomic Particles and How to Count Them

The fundamental counting rules for atomic composition:

  • Protons (Z) = Atomic number. Always equals the atomic number — this is what makes an atom a particular element. Carbon always has 6 protons; no exceptions. Protons determine the element's identity, nuclear charge, and position in the periodic table.
  • Neutrons (N) = Mass number (A) − Atomic number (Z). The mass number is the total count of protons + neutrons (nucleons). For carbon-14: neutrons = 14 − 6 = 8. Different isotopes of the same element differ only in neutron count.
  • Electrons (e⁻) = Protons − Ionic charge. For neutral atoms: electrons = protons. For ions: subtract the charge (a 2+ ion has lost 2 electrons; a 2− ion has gained 2). Fe²⁺: protons = 26, electrons = 26 − 2 = 24.

Use this online calculator for any element and any isotope or ion. The atomic mass calculator computes the weighted average atomic mass from isotope abundances.

Isotopes: Same Element, Different Neutrons

Isotopes are atoms of the same element (same atomic number, same proton count) with different numbers of neutrons — and therefore different mass numbers. All isotopes of an element have nearly identical chemical properties (same electron configuration) but different nuclear properties (stability, nuclear reactions):

  • Carbon-12 (¹²C): 6p + 6n + 6e⁻ — 98.9% of natural carbon; the standard for atomic mass units
  • Carbon-13 (¹³C): 6p + 7n + 6e⁻ — stable isotope; used in NMR spectroscopy
  • Carbon-14 (¹⁴C): 6p + 8n + 6e⁻ — radioactive; used in radiocarbon dating (t₁/₂ = 5,730 years)

The element's standard atomic weight on the periodic table is the weighted average across all stable isotopes, which is why it is rarely a whole number.

Ions: Gaining and Losing Electrons

Ions form when atoms gain or lose electrons. The periodic table position predicts typical ionic charges:

  • Group 1 (alkali metals): lose 1 electron → +1 ions (Na⁺, K⁺, Li⁺)
  • Group 2 (alkaline earth metals): lose 2 electrons → +2 ions (Ca²⁺, Mg²⁺)
  • Group 16 (chalcogens): gain 2 electrons → −2 ions (O²⁻, S²⁻)
  • Group 17 (halogens): gain 1 electron → −1 ions (Cl⁻, F⁻, Br⁻)

Transition metals can form multiple ionic charges (Fe²⁺ and Fe³⁺; Cu⁺ and Cu²⁺), which is why their compounds have variable names (iron(II) vs. iron(III)). The average atomic mass calculator and atomic and molecular calculators provide complementary tools for atomic structure and composition calculations.

Electron Configuration and the Quantum Model

The number of electrons determines the electron configuration — the arrangement of electrons in shells and subshells that governs chemical bonding, reactivity, and spectroscopic properties. The aufbau principle fills subshells in order of increasing energy: 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, ... For Fe (Z=26): [Ar] 3d⁶ 4s² in the neutral atom; Fe²⁺ ([Ar] 3d⁶) has lost both 4s electrons; Fe³⁺ ([Ar] 3d⁵) additionally loses one 3d electron to achieve a half-filled d subshell stability. Knowing the electron count from atomic number and ionic charge is the starting point for all electron configuration and periodic trend analysis.

Visual Analysis

How It Works

The calculator applies these fundamental relationships from atomic physics:

  • Protons (p): p = Z, where Z is the atomic number. This value defines the element.
  • Neutrons (n): n = A - Z, where A is the mass number (total nucleons). Isotopes of the same element have different neutron counts.
  • Electrons (e): e = Z - charge. For a neutral atom (charge = 0), electrons equal protons. Cations (positive charge) have fewer electrons; anions (negative charge) have more.
  • Approximate Nuclear Mass: M = p x 1.00728 + n x 1.00867 amu. This sums the rest masses of individual protons (1.00728 amu) and neutrons (1.00867 amu). The actual atomic mass is slightly less due to the mass defect converted to binding energy via E = mc².

The mass defect is the difference between the sum of individual nucleon masses and the actual measured atomic mass. This missing mass has been converted to the nuclear binding energy that holds the nucleus together. For example, helium-4 has a mass defect of about 0.0304 amu, corresponding to 28.3 MeV of binding energy. Understanding these relationships is essential in nuclear chemistry and physics.

Understanding Your Results

The results show the complete subatomic particle inventory of your specified atom or ion. A higher neutron-to-proton ratio is typical of heavier elements and is necessary for nuclear stability. If the electron count differs from the proton count, the species is an ion. The approximate nuclear mass will always be slightly higher than the experimentally measured atomic mass, with the difference representing the binding energy that stabilizes the nucleus. Elements with the highest binding energy per nucleon (around iron-56) are the most stable.

Worked Examples

Example 1: Carbon-12 (neutral)

Inputs

atomic number6
mass number12
charge0

Results

protons6
neutrons6
electrons6
mass defect approx12.0957

Carbon-12 is the standard reference isotope for atomic mass measurements. It has equal numbers of protons, neutrons, and electrons (6 each). The approximate nuclear mass of 12.096 amu exceeds the defined mass of exactly 12.000 amu, with the 0.096 amu difference representing the nuclear binding energy.

Example 2: Iron-56 Fe2+ ion

Inputs

atomic number26
mass number56
charge2

Results

protons26
neutrons30
electrons24
mass defect approx56.4498

Iron-56 is the most tightly bound nucleus per nucleon. As a Fe2+ cation, it has lost 2 electrons (24 remaining). The 30 neutrons give a neutron-to-proton ratio of 1.15, typical for mid-weight elements. Iron-56 has the highest binding energy per nucleon of any isotope.

Frequently Asked Questions

The atomic number (Z) is the number of protons in the nucleus and uniquely identifies an element. The mass number (A) is the total number of protons plus neutrons (nucleons). Different isotopes of the same element have the same atomic number but different mass numbers because they have different numbers of neutrons.

Ions are atoms that have gained or lost electrons. A cation (positive ion) has fewer electrons than protons, formed when an atom loses electrons. An anion (negative ion) has more electrons than protons, formed when an atom gains electrons. The nucleus (protons and neutrons) remains unchanged during ion formation.

The sum of individual nucleon masses is always greater than the measured atomic mass. This difference, called the mass defect, represents the nuclear binding energy according to Einstein's equation E = mc². The binding energy is the energy required to disassemble the nucleus into separate protons and neutrons.

Nuclear stability depends on the neutron-to-proton ratio and the total number of nucleons. Light stable nuclei have roughly equal numbers of protons and neutrons (N/Z near 1). Heavier stable nuclei require more neutrons (N/Z up to about 1.5). Nuclei with magic numbers of protons or neutrons (2, 8, 20, 28, 50, 82, 126) are especially stable.

Yes. Protium (hydrogen-1) is the only stable nuclide with zero neutrons. Its nucleus consists of a single proton. All other stable atoms require at least one neutron. Helium-2 (diproton) with zero neutrons is extremely unstable and decays almost instantly.

Isotopes are atoms of the same element (same Z) with different numbers of neutrons (different A). They are written as Element-A, such as Carbon-12 and Carbon-14. Both have 6 protons, but Carbon-12 has 6 neutrons while Carbon-14 has 8. Isotopes have nearly identical chemical properties but different nuclear properties and masses.

Sources & Methodology

Source: IUPAC Commission on Isotopic Abundances and Atomic Weights (2021). Reference: Zumdahl, S.S. & Zumdahl, S.A., Chemistry, 10th Edition, Cengage Learning (2018). NIST Fundamental Physical Constants: proton mass = 1.007276 amu, neutron mass = 1.008665 amu.

How helpful was this calculator?

Be the first to rate!

Related Calculators

Surface Area to Volume Ratio Calculator

Basic Biology

Osmotic Pressure Calculator

Basic Biology

Diffusion Rate Calculator (Fick's Law)

Basic Biology

Mitosis Duration Calculator

Basic Biology

Cell Cycle Length Calculator

Basic Biology

Membrane Permeability Calculator

Basic Biology