Particle in a Box Energy Calculator
Calculate quantized energy levels for a particle confined in an infinite potential well.
Why Confinement Creates Discrete Energy Levels
In the one-dimensional infinite-well model, a particle confined to a region of length L cannot have arbitrary energy. Its wavefunction must be zero at both walls, so only standing waves that fit an integer number of half-wavelengths inside the box are allowed. That boundary condition quantizes momentum and produces discrete energy levels rather than a continuous range.
The energy grows as n2 and decreases as 1/L2. This means higher levels spread farther apart as n increases, while making the box larger rapidly lowers every level. Energy is also inversely proportional to particle mass, so a proton in the same box has much smaller level spacing than an electron because the proton is far heavier.
| Symbol | Meaning | Why it appears / units |
|---|---|---|
| n | Quantum number | Positive integer; n=1 is the lowest allowed state. |
| h | Planck constant | 6.626×10−34 J·s. |
| m | Particle mass | kg; heavier particles have smaller energy spacing. |
| L | Box length | m; the energy scales with 1/L2. |
| En | Allowed energy | J or eV; 1eV=1.602×10−19J. |
The nonzero n=1 energy is called zero-point energy. The particle cannot have n=0 because that would make the wavefunction zero everywhere, meaning there is no particle state at all. The infinite walls are an idealization, but the model captures the central quantum idea that strong spatial confinement increases energy spacing.
Worked Examples
Common Mistakes
The allowed quantum numbers are n=1,2,3,... . The ground state is n=1 and has nonzero energy.
Energy varies as 1/L2. Doubling the box length divides every energy level by four, not by two.
Convert 1nm to 1×10−9m before using h in joule-seconds and mass in kilograms.
Frequently Asked Questions
Formula Explorer connections
Interpretation: This relationship connects quantized energy, wavelength, probability, nuclear mass or radioactive change. Assumption: Use the correct particle, quantum state, nuclide and energy units. Idealized potentials, nonrelativistic motion or single decay channels may be assumed.