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.

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

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

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-06-15 · Reviewed by Nham Vu