Wave Function Calculator

Calculate quantum wave functions, energy levels, and probability densities for particles in a box. Essential for understanding quantum mechanics and atomic physics.

Calculator by SuperCalX: formulas, worked examples and 250+ free calculators.

Your values

n = 1, 2, 3, ...
Length of the box
Position to calculate probability

Result

6.02e-18 J
Energy Level (E1)
2.00e-10 m
Wavelength
1.000
Probability Density
Quantum Analysis
Understanding the quantum state

Energy State

The particle is in energy state n=1. The energy is 6.02e-18 Joules. Energy increases with n^2 (quadratic).

Wave Properties

The associated de Broglie wavelength is 2.00e-10 meters. It fits 0.5 full waves inside the box.

Probability

At x=5.00e-11 m, the probability density is 1.000. This indicates how likely it is to find the particle at this location.

How to Use

Step-by-step instructions
  1. 1Enter the quantum number (n = 1, 2, 3, ...)
  2. 2Input the length of the potential well.
  3. 3Set the position to calculate probability density.
  4. 4Review the calculated wave function properties.
  5. 5Use the quantum analysis to understand particle behavior.

Wave Function Formula

The wave function describes the quantum state of a particle. For a particle in a box, it determines the probability of finding the particle at a given position.
psi(x) = sqrt(2/L) sin(npi x/L)

Variables:

psi(x)Wave function
nQuantum number (1, 2, 3, ...)
LLength of the box (m)
xPosition (m)

Example

Wave Function Example

Inputs:

Quantum Number:1
Length:1 x 10^-10 m
Position:0.5 x 10^-10 m

Steps:

  1. 1.Calculate energy: E = n^2 h^2 / (8mL^2).
  2. 2.Calculate wavelength: lambda = 2L/n = 2 x 10^-10 m.
  3. 3.Calculate probability: |psi|^2 = sin^2(pi x/L) = 1 at the center for n = 1.
  4. 4.This represents the ground state of a particle in a box.
Result:
Energy: about 6.02 x 10^-18 J | Wavelength: 2 x 10^-10 m | Probability: 1.0

Wave Function Calculator: the short answer

For a particle in a one-dimensional box of length L, the wave function is ψₙ(x) = √(2/L) sin(nπx/L) and the energy levels are Eₙ = n²h² ÷ (8mL²). An electron in a 1 nm box has a ground-state energy of 6.02 × 10⁻²⁰ J (0.376 eV); the n = 2 level is four times higher.

  • |ψ(x)|² is the probability density of finding the particle at x.
  • Energy levels grow with n², so the gaps widen at higher levels.
  • The state n has n − 1 nodes, points where the particle is never found.

By the SuperCalX team · Reviewed by Dr. Ahmed Mortuza Saleque, founder and editor · Last reviewed · How we check our calculators

Energy levels for an electron in a 1 nm box

nEnergyNodes inside the box
10.376 eV0
21.50 eV1
33.38 eV2
46.02 eV3

Why the model matters

The particle in a box explains why confinement creates discrete energy levels. It is used to estimate colours of conjugated dye molecules and the size-dependent colours of quantum dots: smaller dots have larger gaps and emit bluer light.

Worked examples

Electron, L = 1 nm, n = 1

  1. E₁ = (6.626 × 10⁻³⁴)² ÷ (8 × 9.109 × 10⁻³¹ × (10⁻⁹)²).

6.02 × 10⁻²⁰ J = 0.376 eV.

Common mistakes

  • Choosing a position x outside 0 ≤ x ≤ L, where ψ is zero.

Wave Function Calculator FAQ

What does the wave function represent?

It describes the quantum state; its square gives the probability of finding the particle at each position.

Why can't n be zero?

ψ would be zero everywhere, meaning no particle. The lowest energy is therefore above zero (zero-point energy).

What is a wave function?

A wave function (psi) describes the quantum state of a particle. Its square, |psi|^2, gives the probability density of finding the particle at a given position.

What is a quantum number?

Quantum numbers are integers (n = 1, 2, 3, ...) that describe the energy levels of a quantum system. Higher quantum numbers correspond to higher energy states.

Add this calculator to your website

Teachers, bloggers and businesses can show the Wave Function Calculator on their own pages for free. Copy this code and paste it into your page's HTML:

Please keep the credit link so readers can find the formula, worked examples and guide.