Quantum Harmonic Oscillator Energy Calculator

Find quantum harmonic oscillator energy levels using E_n = (n + 1/2)hf.

🎵 Quantum Harmonic Oscillator Energy Calculator
THz
Energy (En)
Energy (joules)
Zero-point energy
Level spacing (hf)
Step-by-step working

🎵 What is the Quantum Harmonic Oscillator Energy Calculator?

The quantum harmonic oscillator calculator finds the quantized energy levels of a particle vibrating in a parabolic potential well, the quantum mechanical model behind molecular bond vibrations, crystal lattice vibrations (phonons), and quantized light modes. Enter a vibrational frequency and a quantum number, and it returns the energy of that level, the zero-point energy, and the spacing between levels.

The harmonic oscillator is one of the cornerstone exactly-solvable systems in quantum mechanics, alongside the particle in a box and the hydrogen atom. Its energy levels follow E_n = (n + 1/2)hf, forming a perfectly evenly-spaced ladder, each rung exactly hf above the last, a signature very different from the particle-in-a-box's widening n² spacing.

The key surprise is the zero-point energy: even the lowest level, n = 0, has energy hf/2, not zero. A quantum oscillator can never sit perfectly still at the bottom of its potential well, a direct consequence of the Heisenberg uncertainty principle. This is why molecular bonds retain vibrational energy even at absolute zero temperature.

This calculator is useful for chemistry and physics students studying infrared spectroscopy, molecular vibrations, and solid-state phonons, since it handles Planck's constant and unit conversions automatically and shows the full working.

📐 Formula

En  =  (n + ½) h f
En = energy of quantum level n
n = quantum number (0, 1, 2, ...)
h = Planck constant ≈ 6.62607 × 10-34 J·s
f = classical vibration frequency
E₀ = hf/2, the zero-point energy at n = 0
Example: f = 50 THz, n = 0: E₀ ≈ 0.1034 eV.

📖 How to Use This Calculator

Steps

1
Enter the vibrational frequency f in terahertz.
2
Enter the quantum number n, 0 for the ground state.
3
Read the energy E_n, the zero-point energy, and the level spacing.

💡 Example Calculations

Example 1 - Zero-point energy of a molecular vibration (50 THz)

1
f = 50 THz, n = 0
2
E0 = (0 + 0.5) × h × 50×1012 Hz
3
E0 = 0.1034 eV, present even with no vibrational excitation
E0 = 0.1034 eV (zero-point)
Try this example →

Example 2 - First excited vibrational state, same molecule

1
f = 50 THz, n = 1
2
E1 = (1 + 0.5) × h × 50×1012 Hz
3
E1 = 0.3102 eV, exactly hf = 0.2068 eV above E0
E1 = 0.3102 eV
Try this example →

Example 3 - Carbon monoxide-like stretch (100 THz)

1
f = 100 THz, n = 0
2
E0 = (0 + 0.5) × h × 100×1012 Hz
3
E0 = 0.2068 eV, twice the zero-point energy of Example 1 since f doubled
E0 = 0.2068 eV
Try this example →

❓ Frequently Asked Questions

What is the quantum harmonic oscillator?+
The quantum harmonic oscillator is a model of a particle in a parabolic (spring-like) potential well, one of the most important solvable systems in quantum mechanics. Its energy levels are evenly spaced and given by E_n = (n + 1/2) h f, where n = 0, 1, 2, ... is the quantum number, h is Planck's constant, and f is the classical vibration frequency.
What is the formula for harmonic oscillator energy levels?+
E_n = (n plus one-half) times h times f, where n is the quantum number starting at 0, h is Planck's constant, and f is the oscillator's natural frequency. Each successive level is exactly hf higher in energy than the one before it, producing an evenly-spaced energy ladder.
What is zero-point energy?+
Zero-point energy is the energy of the ground state, n = 0, which equals hf/2, not zero. Even at absolute zero temperature, a quantum oscillator such as a vibrating molecular bond retains this minimum energy, a direct consequence of the Heisenberg uncertainty principle forbidding a particle from being perfectly at rest at a single point.
Why are harmonic oscillator levels evenly spaced?+
Because E_n is linear in n, the spacing between any two adjacent levels is always exactly hf, the same everywhere on the ladder. This is different from the particle in a box, where the spacing grows with n, and reflects the special symmetry of the parabolic potential.
What determines the vibrational frequency of a molecular bond?+
The frequency f depends on the bond's stiffness (spring constant k) and the reduced mass μ of the two vibrating atoms, f = (1/2π)√(k/μ). Stiffer bonds and lighter atoms vibrate faster, giving higher frequencies and more widely spaced quantum energy levels, as seen in infrared spectroscopy.
How is the harmonic oscillator used in real physics?+
It is the standard first approximation for molecular bond vibrations (infrared spectroscopy), the quantized vibrations of atoms in a crystal lattice (phonons), and even the quantized modes of the electromagnetic field in quantum optics. Any system near a stable equilibrium behaves approximately like a harmonic oscillator for small displacements.
How does angular frequency relate to this formula?+
The formula is often written as E_n = (n + 1/2) ħω, using the angular frequency ω = 2πf and the reduced Planck constant ħ = h/2π. Both forms are mathematically identical, ħω equals hf, so this calculator's frequency-based formula gives the same results.
Can the harmonic oscillator model be exactly solved?+
Yes, it is one of a small number of quantum systems (along with the particle in a box and the hydrogen atom) with an exact analytic solution, found using either the Schrödinger equation directly or the elegant ladder-operator (creation and annihilation operator) method, which is why it appears throughout quantum mechanics and quantum field theory.
Why does infrared spectroscopy use this formula?+
Molecules absorb infrared light when the photon energy hf matches the spacing between vibrational levels, exciting the bond from n to n+1. Because the harmonic oscillator predicts a single, sharp absorption frequency per bond, measuring where a molecule absorbs infrared light reveals its bond stiffness and helps identify functional groups in a compound.
How does the quantum result differ from a classical spring?+
A classical spring can vibrate with any amplitude and therefore any energy, smoothly approaching zero as the amplitude shrinks to nothing. A quantum oscillator is restricted to the discrete ladder E_n = (n + 1/2)hf and can never have less energy than the zero-point value, a purely quantum effect with no classical counterpart.

What is the quantum harmonic oscillator?

The quantum harmonic oscillator is a model of a particle in a parabolic (spring-like) potential well, one of the most important solvable systems in quantum mechanics. Its energy levels are evenly spaced and given by E_n = (n + 1/2) h f, where n = 0, 1, 2, ... is the quantum number, h is Planck's constant, and f is the classical vibration frequency.

What is the formula for harmonic oscillator energy levels?

E_n = (n plus one-half) times h times f, where n is the quantum number starting at 0, h is Planck's constant, and f is the oscillator's natural frequency. Each successive level is exactly hf higher in energy than the one before it, producing an evenly-spaced energy ladder.

What is zero-point energy?

Zero-point energy is the energy of the ground state, n = 0, which equals hf/2, not zero. Even at absolute zero temperature, a quantum oscillator such as a vibrating molecular bond retains this minimum energy, a direct consequence of the Heisenberg uncertainty principle forbidding a particle from being perfectly at rest at a single point.

Why are harmonic oscillator levels evenly spaced?

Because E_n is linear in n, the spacing between any two adjacent levels is always exactly hf, the same everywhere on the ladder. This is different from the particle in a box, where the spacing grows with n, and reflects the special symmetry of the parabolic potential.

What determines the vibrational frequency of a molecular bond?

The frequency f depends on the bond's stiffness (spring constant k) and the reduced mass μ of the two vibrating atoms, f = (1/2π)√(k/μ). Stiffer bonds and lighter atoms vibrate faster, giving higher frequencies and more widely spaced quantum energy levels, as seen in infrared spectroscopy.

How is the harmonic oscillator used in real physics?

It is the standard first approximation for molecular bond vibrations (infrared spectroscopy), the quantized vibrations of atoms in a crystal lattice (phonons), and even the quantized modes of the electromagnetic field in quantum optics. Any system near a stable equilibrium behaves approximately like a harmonic oscillator for small displacements.

How does angular frequency relate to this formula?

The formula is often written as E_n = (n + 1/2) ħω, using the angular frequency ω = 2πf and the reduced Planck constant ħ = h/2π. Both forms are mathematically identical, ħω equals hf, so this calculator's frequency-based formula gives the same results.

Can the harmonic oscillator model be exactly solved?

Yes, it is one of a small number of quantum systems (along with the particle in a box and the hydrogen atom) with an exact analytic solution, found using either the Schrödinger equation directly or the elegant ladder-operator (creation and annihilation operator) method, which is why it appears throughout quantum mechanics and quantum field theory.

Why does infrared spectroscopy use this formula?

Molecules absorb infrared light when the photon energy hf matches the spacing between vibrational levels, exciting the bond from n to n+1. Because the harmonic oscillator predicts a single, sharp absorption frequency per bond, measuring where a molecule absorbs infrared light reveals its bond stiffness and helps identify functional groups in a compound.

How does the quantum result differ from a classical spring?

A classical spring can vibrate with any amplitude and therefore any energy, smoothly approaching zero as the amplitude shrinks to nothing. A quantum oscillator is restricted to the discrete ladder E_n = (n + 1/2)hf and can never have less energy than the zero-point value, a purely quantum effect with no classical counterpart.