Particle in a Box Calculator (Infinite Square Well)

Energy levels, transition wavelength and probability of finding a particle in a region of a 1D infinite potential well.

Results

Energy Eₙ—
Energy Eₙ—
Gap to level n+1—
Photon wavelength for n → n+1—
Probability in [x₁, x₂]—

How to use the Particle in a Box Calculator

  1. Enter or select: Particle, Box length L, Quantum number n, Region start x₁/L, Region end x₂/L.
  2. Fill in what you know of: Custom mass — leave the unknown empty.
  3. The results (Energy Eₙ, Gap to level n+1, Photon wavelength for n → n+1, Probability in [x₁, x₂]) are calculated instantly as you type.
  4. Use “Copy link” to share the calculation with the same input values.

Formula

  • Eₙ = n²h² / (8mL²)
  • ψₙ(x) = √(2/L) sin(nπx/L)
  • P = ∫ |ψₙ|² dx
ExpressionApply operationsCalculated result