Quantum mechanics

Quantum Tunneling Calculator

How likely is a particle to pass straight through a barrier it does not have the energy to climb? Set the particle, energy, barrier height and width, and get the exact quantum transmission probability.

Real Larzscript running in your browser454 automated checksOpen source · MITNo sign-up · your inputs never leave your device

Set the particle and the barrier

Transmission probability
—
As a percentage
—
Penetration depth 1/κ
—
Thick-barrier estimate
—

How transmission falls as the barrier gets wider

Vertical axis: log₁₀ of the transmission probability, so a drop of 1 means ten times less. Horizontal axis: barrier width as a multiple of the width you entered; the dot marks your barrier.

Show the Larzscript program that just ran
Run a calculation to see the exact program.

This is the real program the page sent to the Larzscript interpreter (compiled to WebAssembly) in your browser. The library it imports is the same code the automated tests check.

Transmission through a rectangular barrier

A particle of energy E meets a rectangular barrier of height V0 > E and width a. Solving the Schrödinger equation on both sides and inside the barrier and matching the wavefunction at the edges gives the exact transmission probability

T = 1 / (1 + V0² sinh²(κa) / (4E(V0−E)))   with   κ = √(2m(V0−E)) / ħ

For a thick barrier (κa ≫ 1) this collapses to T ≈ 16E(V0−E)/V0² · e−2κa, the exponential law behind every tunneling device. When E > V0 the sinh becomes a sine and T oscillates between values below 1 and exactly 1.

Worked example, computed above

A 1 eV electron meets a 2 eV barrier 0.2 nm thick (about one atomic layer). The decay constant is κ = 0.5123 Å⁻¹, so the wave reaches only 1.95 Å into the barrier before falling by a factor of e — and yet 40.44% of the electrons get through. For a bigger barrier (5 eV, 0.5 nm) the transmission is 9.08 × 10⁻⁵, and the thick-barrier estimate 9.08 × 10⁻⁵ already agrees to 0.002%.

What is verified

The transmission is compared with an independent Python evaluation at five parameter sets to 14 significant digits; it is checked to be continuous across E = V0, to fall monotonically with width, to reach exactly 100% at the above-barrier resonance ka = π, and to match the thick-barrier formula. Very thick barriers use the asymptotic form so nothing overflows.

Limits: a one-dimensional rectangular barrier and a single non-relativistic particle. Real barriers have smooth shapes (use the WKB integral over the actual profile) and real tunneling in solids involves many electrons and the band structure.

Frequently asked questions

What is quantum tunneling?

A quantum particle can pass through a barrier that a classical particle of the same energy could never cross. Its wavefunction does not drop to zero inside the barrier; it decays exponentially, and if the barrier is thin enough a little of it emerges on the other side. The transmission probability is what this calculator computes.

Why does the electron tunnel so much more easily than the proton?

Tunneling depends exponentially on the particle's mass through κ = √(2m(V₀−E))/ħ. For the same energy and barrier (1 eV electron, 2 eV barrier, 0.2 nm) the electron transmits 40.4%, while a proton would transmit only 2.92 × 10⁻³⁸ — a factor of about 1037 smaller.

Where does tunneling matter in real life?

It powers the Sun (protons tunnel through their mutual electric repulsion to fuse), causes alpha decay, makes flash memory work, sets the leakage current of the smallest transistors, and lets scanning tunneling microscopes image individual atoms by measuring a current that changes by roughly a factor of 10 for every ångström of gap.

Is the particle really 'inside' the barrier, and does it take time?

Between the walls the particle has no definite position; only the probability of finding it there is meaningful, and it falls off with depth as e−κ x. How long tunneling takes is a subtle, still-debated question; what is settled is that no signal travels faster than light.

What does E > V₀ mean here?

If the particle's energy exceeds the barrier height there is no tunneling, but a quantum particle can still be reflected, and the transmission oscillates with the barrier width, reaching exactly 100% at special widths — the resonances a classical particle never shows.

Every number on this page is computed by the open-source larzscript-cosmos library (qmech, physconst, physmath), written in Larzscript, and checked against independent references in its test suite. How it is verified →

All physics calculators → · Science calculators hub · Chemistry calculators →