Harmonic Oscillator Energy Levels Calculator – E = (n + ½)hf

Use this free Quantum Harmonic Oscillator Calculator to list the allowed energy levels En = (n + ½)hf for n = 0 to 4. Unlike a classical spring, a quantum oscillator can never have zero energy — its lowest level already holds ½hf, the famous zero-point energy.

E₀ = ½hf E₁ = ³⁄₂hf E₂ = ⁵⁄₂hf E₃ evenly spaced levels in a parabolic well

Formula

The allowed energies are En = (n + ½)hf for n = 0, 1, 2, 3, ... where h = 6.626 × 10⁻³⁴ J·s and f is the oscillator frequency. Neighbouring levels are always separated by the same step, ΔE = hf, and the ground state keeps a zero-point energy of ½hf that can never be removed.

How to use

Worked example

For a vibration with f = 1 × 10¹⁴ Hz (typical of a molecular bond):
hf = 6.626 × 10⁻³⁴ × 1 × 10¹⁴ = 6.626 × 10⁻²⁰ J = 0.414 eV
E₀ = ½hf = 0.207 eV
E₁ = ³⁄₂hf = 0.620 eV, E₂ = 1.034 eV, E₃ = 1.448 eV, E₄ = 1.861 eV
Each step up costs exactly one "packet" of 0.414 eV.

FAQ

What is zero-point energy?
The ½hf that remains even at absolute zero. The uncertainty principle forbids the oscillator from sitting perfectly still at the bottom of its well, so it always keeps this minimum motion and energy.

Why are the levels evenly spaced?
That is a special property of the parabolic (spring-like) potential. It is why molecular vibrations absorb infrared light in nearly equal steps, and why the oscillator is the most exactly solvable system in quantum mechanics.

Where is this model used?
Vibrating molecules (infrared spectroscopy), atoms in crystal lattices (phonons), and even the electromagnetic field itself — each light mode is treated as a harmonic oscillator whose excitations are photons.