Roboculator
Online CalculatorsCategoriesDate & EventsNews
Get Started
Online CalculatorsCategoriesDate & EventsNewsGet Started
Roboculator

Smart calculators for every challenge. Free, fast, and private.

Categories

  • Finance
  • Health
  • Math
  • Construction
  • Conversion
  • Everyday Life

Popular Tools

  • Date & Events
  • Loan Calculator
  • BMI Calculator
  • Percentage Calc
  • Latest News
  • Search All

Resources

  • Glossary
  • Topic Tags
  • News & Insights

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy
  • Disclaimer
© 2026 Roboculator. All rights reserved.
Roboculator

roboculator.com

  1. Home
  2. /Physics
  3. /Quantum Mechanics Calculators
  4. /Particle in a Box Calculator

Particle in a Box Calculator

Last updated: March 28, 2026

Calculator

Results

Energy Eₙ

6.026732e-20

J

Energy Eₙ

0.3762

eV

de Broglie Wavelength λₙ

2.000000e-9

m

de Broglie Wavelength λₙ

2

nm

Momentum pₙ

3.313035e-25

kg·m/s

Interior Nodes

0

Node Positions (fractions of L)

0

Results

Energy Eₙ

6.026732e-20

J

Energy Eₙ

0.3762

eV

de Broglie Wavelength λₙ

2.000000e-9

m

de Broglie Wavelength λₙ

2

nm

Momentum pₙ

3.313035e-25

kg·m/s

Interior Nodes

0

Node Positions (fractions of L)

0

The Particle in a Box Calculator solves one of the most fundamental problems in quantum mechanics — a particle confined within an infinitely deep potential well of length L. This idealized model, also called the infinite square well, demonstrates key quantum phenomena including energy quantization, zero-point energy, and the wave-like nature of matter.

In classical physics, a particle bouncing between two walls can have any kinetic energy. Quantum mechanics tells a radically different story: the particle's energy is restricted to discrete levels given by $$E_n = \frac{n^2 \pi^2 \hbar^2}{2mL^2}$$ where n = 1, 2, 3, ... is the quantum number, ħ is the reduced Planck constant, m is the particle mass, and L is the box length. The ground state (n = 1) has a nonzero energy called zero-point energy, reflecting the Heisenberg uncertainty principle: a perfectly localized particle would require infinite momentum uncertainty.

The corresponding wavefunctions are standing sine waves $$\psi_n(x) = \sqrt{\frac{2}{L}} \sin\!\left(\frac{n\pi x}{L}\right)$$ which have n – 1 interior nodes (points where the probability of finding the particle is zero). The de Broglie wavelength associated with each state is λₙ = 2L/n, and the momentum is pₙ = nπħ/L.

Despite its simplicity, the particle-in-a-box model has real-world applications. It approximates the behavior of π-electrons in conjugated organic molecules, electrons in quantum dots and semiconductor nanocrystals, and nucleons confined within atomic nuclei. The energy spacing scales as 1/L², explaining why quantum confinement effects become dramatic at the nanoscale — shrinking a quantum dot changes the wavelength of light it emits.

This calculator computes the energy, de Broglie wavelength, momentum, and node positions for any quantum state of a particle in a one-dimensional box. Researchers use these results to estimate absorption wavelengths of conjugated dyes, design quantum well lasers, and predict electronic properties of nanostructures. Students find it invaluable for building intuition about quantization before tackling more complex potentials.

The model also serves as a gateway to more advanced topics: the finite potential well, the harmonic oscillator, and multi-dimensional boxes, all of which build directly on the mathematics and physical insights developed here.

Visual Analysis

How It Works

The calculator uses the exact analytical solutions of the one-dimensional infinite square well:

Quantized Energy:

$$E_n = \frac{n^2 \pi^2 \hbar^2}{2 m L^2}$$

Energy grows as the square of the quantum number and inversely as the square of the box length.

de Broglie Wavelength:

$$\lambda_n = \frac{2L}{n}$$

The wavelength must fit an integer number of half-wavelengths inside the box (standing wave condition).

Momentum:

$$p_n = \frac{n \pi \hbar}{L}$$

Derived from de Broglie relation p = h/λ = nπħ/L.

Node Positions:

$$x_k = \frac{k \cdot L}{n}, \quad k = 1, 2, \ldots, n-1$$

Interior nodes occur at equally spaced fractions of L. The n-th state has exactly n – 1 interior nodes where the probability density |\psi|^2 vanishes.

Understanding Your Results

The energy output tells you the allowed kinetic energy of the confined particle in that quantum state. The ground-state energy (n = 1) is never zero, illustrating zero-point energy. Higher quantum numbers mean higher energy, shorter wavelength, and more nodes in the wavefunction. The node positions reveal where the particle has zero probability of being found. For a given box size, lighter particles have higher energies (energy scales as 1/m), and for a given particle, smaller boxes produce much higher energies (energy scales as 1/L²). This 1/L² dependence is the origin of quantum confinement effects in nanotechnology.

Worked Examples

Electron in a 1 nm Box (Ground State)

Inputs

n1
L1e-9
m9.109e-31

Results

energy j6.024e-20
energy ev0.3761
wavelength2e-9
wavelength nm2
momentum3.313e-25
node count0
node positions0

An electron confined to a 1 nm box has a ground-state energy of about 0.376 eV. The de Broglie wavelength is 2 nm (twice the box length), and there are no interior nodes in the ground state.

Electron in a 1 nm Box (n = 3)

Inputs

n3
L1e-9
m9.109e-31

Results

energy j5.422e-19
energy ev3.385
wavelength6.667e-10
wavelength nm0.6667
momentum9.939e-25
node count2
node positions3.333e-10

The n = 3 state has 9 times the ground-state energy (3.39 eV), a wavelength of 0.667 nm, and 2 interior nodes at L/3 and 2L/3.

Frequently Asked Questions

The particle in a box (infinite square well) is a quantum mechanical model where a particle is confined between two impenetrable walls separated by distance L. The particle moves freely inside but cannot escape. Solving the Schrödinger equation for this system yields quantized energy levels Eₙ = n²π²ħ²/(2mL²) and sinusoidal wavefunctions. It is the simplest exactly solvable quantum system and forms the basis for understanding more complex potentials.

Zero energy would require the particle to be completely at rest (zero momentum), but the Heisenberg uncertainty principle states Δx·Δp ≥ ħ/2. Since the particle is confined to a finite box (Δx ≤ L), its momentum uncertainty is nonzero, guaranteeing a minimum kinetic energy. This minimum energy E₁ = π²ħ²/(2mL²) is called the zero-point energy.

Nodes are positions inside the box where the wavefunction ψ(x) = 0, meaning the probability of finding the particle at that exact point is zero. The n-th energy state has n – 1 interior nodes located at x = kL/n for k = 1, 2, ..., n–1. More nodes correspond to higher energy, shorter wavelength, and more rapid oscillation of the wavefunction.

Energy scales as 1/L², so halving the box length quadruples all energy levels. This is the basis of quantum confinement: as nanostructures shrink, their electronic energy levels spread apart dramatically. In quantum dots, this size-dependent energy spacing determines the color of emitted light, allowing engineers to tune emission wavelength by controlling dot size.

Yes. The particle in a box approximates π-electrons in conjugated molecules (the free-electron model predicts absorption wavelengths of dyes), electrons in quantum dots and semiconductor nanowires, and nucleons in nuclear physics. While real potentials are finite and more complex, the infinite well captures the essential physics of quantization and confinement.

The de Broglie wavelength λ = h/p relates a particle's wavelength to its momentum. Inside the box, the standing wave condition requires that an integer number of half-wavelengths fit within L, giving λₙ = 2L/n. This is identical to the condition for standing waves on a vibrating string, illustrating the deep connection between quantum mechanics and wave physics.

Sources & Methodology

Griffiths, D. J. (2018). Introduction to Quantum Mechanics (3rd ed.). Cambridge University Press. | Shankar, R. (2011). Principles of Quantum Mechanics (2nd ed.). Springer. | Cohen-Tannoudji, C., Diu, B., & Laloë, F. (2019). Quantum Mechanics (2nd ed.). Wiley-VCH.
R

Roboculator Team

The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.

How helpful was this calculator?

Be the first to rate!

Related Calculators

Compton Wavelength Calculator

Quantum Mechanics Calculators

Hydrogen Energy Levels Calculator

Quantum Mechanics Calculators

Planck's Constant Calculator

Quantum Mechanics Calculators

Schrödinger Equation Calculator

Quantum Mechanics Calculators

Wave Function Calculator

Quantum Mechanics Calculators

Quantum Tunneling Calculator

Quantum Mechanics Calculators