Atomic Orbitals

Explore the shapes and electron probability clouds of s, p and d orbitals

Intermediate

Orbital

n = 1
n = 2
n = 3

Probability cloud (drag to rotate; each dot is one sampled electron position)

Points

Cross-section of |ψ|² (darker = more likely)

Plane

ψ > 0 ψ < 0White gaps between colours are nodes.

Radial distribution function (drag or hover to move the cursor; shaded area = probability inside r)

0.0000.0490.0980.150.2002468101214r (Bohr radii, a₀)P(r) = r²R(r)²

most probable r mean ⟨r⟩ radial node

Cursor at r = 4.00 a₀

P(r)
0.1954per a₀
Probability inside r
37.1%

2pz orbital (hydrogen)

n (principal)
2
l (angular)
1 (p)
ml
0
Radial nodes
0n − l − 1
Angular nodes
1= l
Total nodes
1n − 1
Most probable r
4.00 a₀
Mean ⟨r⟩
5.0 a₀
Energy
-3.40 eV

Angular nodes: the xy plane (z = 0).

What an orbital is

An atomic orbital is a wavefunction ψ that describes one electron in an atom. It does not trace a path like a planet's orbit. Instead, |ψ|² at each point gives the probability density of finding the electron there. The cloud on the left is built by drawing thousands of random positions from that density, so dots bunch up where the electron is most likely to be.

For hydrogen the wavefunction separates into a radial part and an angular part: ψ = Rnl(r) × Ylm(θ, φ). The principal quantum number n sets the size and energy, the angular momentum number l sets the shape (s, p, d for l = 0, 1, 2), and the magnetic number ml sets the orientation. The familiar px, py and dxy shapes are real combinations of the complex ml = +1 and −1 (or +2 and −2) functions, which is why the visualizer lists ml as ±1 or ±2 for them.

The colours show the sign of ψ: red where it is positive, blue where it is negative. Crossing a node flips the sign. A 2s orbital has a small inner sphere and a larger outer shell of opposite sign, separated by a spherical radial node at r = 2a₀. A 2p orbital has two lobes of opposite sign with a nodal plane between them.

Wavefunction ψ

Each orbital is a solution of the Schrödinger equation. ψ itself can be positive or negative; the sign (phase) matters when orbitals overlap to form bonds.

Probability density |ψ|²

The chance of finding the electron in a tiny volume around a point is |ψ|² times that volume. The cloud of dots is a sample from this density.

Radial distribution P(r)

Adding up |ψ|² over a thin spherical shell gives P(r) = r²R(r)², the probability per unit distance of finding the electron at radius r.

Nodes

Surfaces where ψ = 0. Radial nodes are spheres, angular nodes are planes or cones. An orbital has n − 1 nodes in total, l of them angular.

Key formulas

Hydrogen 1s and 2s radial functions

R₁₀ = 2 a₀−3/2 e−r/a₀,   R₂₀ = (1/(2√2)) a₀−3/2 (2 − r/a₀) e−r/2a₀

a₀
Bohr radius, 52.9 pm

Radial distribution function

P(r) = r² Rnl(r)²,   ∫₀^∞ P(r) dr = 1

P(r) dr
probability of finding the electron between r and r + dr

Counting nodes

radial nodes = n − l − 1,   angular nodes = l,   total nodes = n − 1

Energy and mean radius (hydrogen)

En = −13.6 eV / n²,   ⟨r⟩ = (a₀ / 2) [3n² − l(l + 1)]

Hydrogen orbitals at a glance

Distances in Bohr radii (a₀ = 52.9 pm).

OrbitalnlRadial nodesAngular nodesMost probable rMean ⟨r⟩
1s10001.001.5
2s20105.246.0
2p21014.005.0
3s302013.0713.5
3p311112.0012.5
3d32029.0010.5

How to use this visualizer

  1. 1
    Pick an orbital from the n = 1, 2 or 3 rows. All panels and numbers update together.
  2. 2
    Drag the dark 3D cloud to rotate it, or let it auto-rotate. Use Resample or change the number of points to see that the shape is a statistical pattern, not a fixed surface.
  3. 3
    In the cross-section, switch between the xz, xy and yz planes. For 2pₓ, the yz plane is a nodal plane, so the slice is empty.
  4. 4
    Turn on "Colour by sign of ψ" to see the phase of each lobe, and look for white gaps: they are the nodes.
  5. 5
    Drag along the radial distribution plot. The read-out gives P(r) and the probability that the electron lies inside r. Try 1s at r = 1 a₀.

Common misconception: the most likely place is the nucleus

For 1s, |ψ|² is largest at the nucleus, yet the most probable distance is r = a₀. Both are true: the density per unit volume peaks at r = 0, but a thin shell at radius r has volume 4πr² dr, which is zero at the centre and grows with r. P(r) multiplies the two, so it peaks at a₀.

Practice problems

Problem 1: Counting nodes

How many radial nodes, angular nodes and total nodes do a 4d orbital and a 5f orbital have? Where is the radial node of a hydrogen 2s orbital, in pm?
Show solution

4d: n = 4, l = 2. Radial = 4 − 2 − 1 = 1, angular = 2, total = 3.

5f: n = 5, l = 3. Radial = 5 − 3 − 1 = 1, angular = 3, total = 4.

For 2s, R₂₀ ∝ (2 − r/a₀), which is zero at r = 2a₀ = 2 × 52.9 pm.

4d: 1 radial + 2 angular = 3; 5f: 1 + 3 = 4; 2s node at 2a₀ ≈ 106 pm

Problem 2: Inside the Bohr radius

For a hydrogen 1s electron, find the most probable distance from the nucleus and the probability that the electron is closer than a₀.
Show solution

P(r) = r² R₁₀² = (4/a₀³) r² e−2r/a₀.

dP/dr = (4/a₀³) e−2r/a₀ (2r − 2r²/a₀) = 0 gives r = a₀, the most probable distance.

With x = r/a₀: ∫₀¹ 4x² e−2x dx = 1 − e−2(1 + 2 + 2) = 1 − 5e−2.

5e−2 = 5 × 0.1353 = 0.6767, so the probability is 1 − 0.6767 = 0.3233.

Most probable r = a₀ = 52.9 pm; P(r < a₀) ≈ 0.323, about 32%

Related visualizations

Discussion

Questions, ideas or a different approach? Join the conversation.