molecalculator

Moles & Molar Mass

Electron Configuration PhET: How to Use the Sim

Calculator No. 01-10787 · Updated · Formula and assumptions shown below

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

The PhET “Build an Atom” and “Isotopes and Atomic Mass” simulations let you explore electron configuration by dragging protons, neutrons, and electrons onto a model atom, and the sim shows the resulting electron shells, subshells, and orbital diagrams. You enter the number of protons, neutrons, and electrons (or choose a preset element), and the sim returns the atom’s identity, charge, mass number, and a visual of its electron arrangement. This page explains how the sim works, how to interpret its outputs, and how to connect them to real electron configuration notation.

What the PhET Simulation Actually Shows

The PhET interactive simulations (from the University of Colorado Boulder) include “Build an Atom” and “Isotopes and Atomic Mass.” In “Build an Atom,” you drag protons and neutrons into the nucleus and electrons into shells around it. The sim updates in real time: it displays the element name and symbol (based on proton count), the mass number (protons + neutrons), the net charge (protons minus electrons), and a diagram of the electron shells. For atoms up to argon (Z=18), the sim also shows the electron configuration in the familiar notation, e.g., 1s2 2s2 2p6 3s2 3p5 for chlorine. The “Isotopes and Atomic Mass” sim focuses on how changing neutron count affects the mass number and atomic mass, but it still shows the electron arrangement. Both are free to run in a browser, and they are designed for middle school through introductory college chemistry.

How the Sim Relates to Real Electron Configuration

Electron configuration is the distribution of electrons among atomic orbitals. The sim uses the Aufbau principle (fill lowest energy orbitals first), Hund’s rule (one electron per orbital before pairing), and the Pauli exclusion principle (no two electrons in the same atom can have the same four quantum numbers). For the first 18 elements, the order is simple: 1s, 2s, 2p, 3s, 3p. The sim shows this visually as concentric rings (shells) with sub-shells indicated by the number of electrons in each ring. For example, a neutral sodium atom (Z=11) has 11 electrons: 2 in the first shell (1s2), 8 in the second (2s2 2p6), and 1 in the third (3s1). The sim’s “Electron Configuration” display writes this as 1s2 2s2 2p6 3s1. It does not show the full periodic table beyond argon, but the patterns extend.

How to Use the PhET Sim Step by Step

  1. Open the “Build an Atom” simulation in your browser (phet.colorado.edu).
  2. Drag protons and neutrons into the nucleus. The element name appears as soon as you add the first proton.
  3. Drag electrons into the shells. The sim will not let you put more than 2 in the first shell, 8 in the second, or 8 in the third (for the first 18 elements).
  4. Watch the “Stable/Unstable” indicator: an atom is stable when the number of neutrons is within the band of stability for that element.
  5. Click “Electron Configuration” in the options to see the written configuration.
  6. To make an ion, add or remove electrons. The sim shows the charge (e.g., +1 for Na+) and the configuration changes accordingly.

For the calculator above, you enter the number of protons, neutrons, and electrons directly, and it gives the element symbol, charge, mass number, and configuration for atoms up to argon. This is useful if you want to check your work without dragging in the sim.

Common Mistakes and Misconceptions

  • Confusing protons and electrons: The element is defined by protons, not electrons. Changing electrons makes an ion, not a different element.
  • Overfilling shells: In the sim, the second shell holds 8, not 10. The 2p subshell holds 6, and the 3s holds 2 before 3p starts.
  • Writing configuration for ions: For a cation (positive), remove electrons from the highest energy level first. For Na+ (11 protons, 10 electrons), the configuration is 1s2 2s2 2p6, not 1s2 2s2 2p6 3s1.
  • Thinking the sim shows all orbitals: The sim only shows s and p orbitals for the first three shells. It does not show d or f orbitals, which appear for elements beyond argon.

How to Choose the Right PhET Simulation

PhET offers two relevant sims. “Build an Atom” is best for learning how protons, neutrons, and electrons determine element identity, charge, and mass. It includes a game mode where you can test yourself. “Isotopes and Atomic Mass” is better for understanding isotopes (same Z, different N) and calculating average atomic mass from isotopic abundance. For electron configuration specifically, “Build an Atom” is the one to use because it shows the shell diagram and the written configuration. If you are studying orbital diagrams (boxes with arrows), you will need a different tool, as the PhET sim does not show individual orbitals.

Limits of the PhET Simulation and the Calculator

The PhET sim is a simplified model. It uses the Bohr model (electrons in fixed circular shells) for visualization, which is not how electrons actually behave. The real electron cloud is probabilistic. The sim also does not show subshell energy differences (e.g., 4s fills before 3d) beyond argon. For elements beyond argon, you need the full Aufbau order: 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, etc. The calculator above is limited to Z=18 because that is the range the sim covers, but the same principles apply to all elements. Also, the calculator assumes the atom is neutral unless you change the electron count; it does not account for relativistic effects or exceptions like chromium or copper, which have unusual configurations due to half-filled subshell stability.

Why Electron Configuration Matters

Electron configuration determines chemical properties. The valence electrons (outermost shell) are responsible for bonding and reactivity. For example, sodium (1s2 2s2 2p6 3s1) has one valence electron, so it tends to lose it to form Na+. Chlorine (1s2 2s2 2p6 3s2 3p5) has seven valence electrons and tends to gain one to form Cl−. The sim helps you see these patterns visually, which is why it is widely used in classrooms. The periodic table is organized by electron configuration: elements in the same group have the same valence electron configuration.

Frequently Asked Questions

What is the electron configuration of an element in the PhET sim?

In “Build an Atom,” the sim shows the configuration in the “Electron Configuration” panel. For example, if you build a neutral oxygen atom (8 protons, 8 neutrons, 8 electrons), the sim displays 1s2 2s2 2p4. The shell diagram shows 2 electrons in the first shell and 6 in the second.

How do I make an ion in the PhET sim?

Add or remove electrons from the shells. For a positive ion, remove electrons; for a negative ion, add electrons. The sim updates the charge display. For example, to make Mg2+, start with 12 protons and 12 electrons, then remove 2 electrons. The configuration becomes 1s2 2s2 2p6.

Why does the sim only show up to argon?

The sim is designed for introductory chemistry, where the first 18 elements cover the s and p blocks of the first three periods. Beyond argon, the d and f orbitals add complexity that the sim’s simple shell model cannot accurately represent. For higher elements, you need a full orbital diagram tool.

Is the electron configuration in the sim always correct?

For elements 1–18, yes, the sim follows the Aufbau principle. However, it does not show exceptions like chromium (Z=24) or copper (Z=29), which have configurations like [Ar] 3d5 4s1 instead of [Ar] 3d4 4s2. Those exceptions are beyond the sim’s range.

Can I use the PhET sim to learn orbital diagrams?

No, the sim does not show individual orbitals or electron spins. It only shows shells and the total number of electrons. For orbital diagrams (boxes with up/down arrows), you need a different resource, such as a textbook or an orbital diagram app.

What does the “Stable/Unstable” indicator mean?

It indicates whether the nucleus is likely to be stable based on the neutron-to-proton ratio. For example, carbon-12 (6 protons, 6 neutrons) is stable, while carbon-14 (6 protons, 8 neutrons) is radioactive. The sim uses a simplified band of stability.

Assumptions

  • The calculator assumes the Aufbau principle and Hund’s rule for the first 18 elements.
  • The element symbol is determined solely by the number of protons.
  • The mass number is the sum of protons and neutrons.
  • The electron configuration is for the ground state (lowest energy) of the atom or ion.
  • The sim’s visual shells are a simplification; real electron positions are probabilistic.

Related

Formula used
in z | Protons (Z) | - | 11 | 1
in n | Neutrons (N) | - | 12 | 0
in e | Electrons | - | 11 | 0
out sym | Element symbol | - | if(z==1,"H",if(z==2,"He",if(z==3,"Li",if(z==4,"Be",if(z==5,"B",if(z==6,"C",if(z==7,"N",if(z==8,"O",if(z==9,"F",if(z==10,"Ne",if(z==11,"Na",if(z==12,"Mg",if(z==13,"Al",if(z==14,"Si",if(z==15,"P",if(z==16,"S",if(z==17,"Cl",if(z==18,"Ar","?")))))))))))))))))) | 0
out charge | Charge | e | e - z | 0
out massnum | Mass number | - | z + n | 0
out config | Electron configuration | - | if(e==0,"",if(e==1,"1s1",if(e==2,"1s2",if(e==3,"1s2 2s1",if(e==4,"1s2 2s2",if(e==5,"1s2 2s2 2p1",if(e==6,"1s2 2s2 2p2",if(e==7,"1s2 2s2 2p3",if(e==8,"1s2 2s2 2p4",if(e==9,"1s2 2s2 2p5",if(e==10,"1s2 2s2 2p6",if(e==11,"1s2 2s2 2p6 3s1",if(e==12,"1s2 2s2 2p6 3s2",if(e==13,"1s2 2s2 2p6 3s2 3p1",if(e==14,"1s2 2s2 2p6 3s2 3p2",if(e==15,"1s2 2s2 2p6 3s2 3p3",if(e==16,"1s2 2s2 2p6 3s2 3p4",if(e==17,"1s2 2s2 2p6 3s2 3p5",if(e==18,"1s2 2s2 2p6 3s2 3p6","")))))))))))))))))) | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →