Particle in a Box Energy Calculator

Calculate quantized energy levels for a particle trapped in a 1D, 2D, or 3D infinite potential well using the Schrodinger equation solution.

Use the Particle in a Box Energy Calculator

Parameters

Energy Level Result

Enter parameters and click Calculate

First 8 Energy Levels

Ground state = n=1
Calculate to see the energy level table.

Quick Reference

1D Box
E = n²h²/(8mL²)
2D Box
E = h²/(8m)(nx²/Lx² + ny²/Ly²)
3D Box
E = h²/(8m)(nx²/Lx² + ny²/Ly² + nz²/Lz²)
h = 6.62607e-34 J·s (Planck's constant)
me = 9.10938e-31 kg (electron mass)
1 eV = 1.60218e-19 J
n = 1, 2, 3, ... (positive integers only)

Summary

The particle-in-a-box (infinite potential well) model is one of the simplest exactly solvable problems in quantum mechanics. It describes a particle of mass m confined within a box of fixed dimensions with infinitely high walls, meaning the particle cannot escape. The allowed energy levels are quantized and depend on the box dimensions, the quantum numbers (n), and the particle mass.

How it works

  1. Select the box dimension: 1D, 2D, or 3D.
  2. Enter the box length (and width/height for 2D/3D).
  3. Enter the particle mass (defaults to an electron).
  4. Enter the quantum numbers n (and nx, ny, nz for 2D/3D).
  5. Click Calculate to see the energy level in both Joules and electron-volts.
  6. Use the energy table to compare multiple quantum states at once.

Use cases

  • Teaching introductory quantum mechanics energy quantization.
  • Computing energy levels for electrons confined in nanoscale quantum dots.
  • Modeling electrons in quantum wells used in semiconductor lasers.
  • Estimating zero-point energy of a particle in a nanotube.
  • Verifying textbook particle-in-a-box problem solutions.
  • Exploring how energy scales with box size and quantum number.
  • Understanding quantum confinement effects in nanotechnology.
  • Studying degeneracy of 2D and 3D quantum states.

Frequently Asked Questions

Last updated: 2026-05-23 · Reviewed by Nham Vu