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.
How to use the Particle in a Box Calculator
- Enter or select: Particle, Box length L, Quantum number n, Region start x₁/L, Region end x₂/L.
- Fill in what you know of: Custom mass — leave the unknown empty.
- 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.
- 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