Quantum Calculator
What is the Quantum Calculator?
What this calculator does
This calculator covers two foundational quantum calculations for a free particle and a boxed one. From mass and velocity it finds momentum and the de Broglie wavelength. From mass, box length, and level number it finds the allowed energy of a particle trapped in a one-dimensional box, in electronvolts.
What it does not compute
Scope matters, so here it is plainly: there is no photon energy from light frequency here, no Heisenberg uncertainty product, and no hydrogen atom spectrum. The three outputs are momentum, de Broglie wavelength in nanometers, and a particle-in-a-box energy level. For light's frequency from its wavelength, use the wavelength calculator instead.
The inputs, one by one
Particle Mass is in kilograms, Velocity in meters per second, Box Length in nanometers, and Quantum Level (n) is a whole number starting at 1. The defaults describe an electron: mass 9. 11e-31 kilograms moving at 1,000,000 meters per second, in a 1-nanometer box, at level 2.
How to read Momentum
Momentum is the familiar p = m x v, in kilogram meters per second. Even in quantum mechanics this product is the starting point, because the de Broglie wavelength divides Planck's constant by it. For the default electron the momentum is 9. 11 x 10^-25, a whisper next to a baseball's roughly 5. 8.
How to read de Broglie Wavelength
The de Broglie Wavelength, shown in nanometers, says that every moving particle also behaves as a wave with λ = h / p. Small momentum means a long wavelength. The default electron's 0. 7273 nanometers sits near the spacing between atoms in a crystal, which is why electrons diffract off crystals.
How to read Box Energy Level
Box Energy Level is the energy the particle must have at level n inside a perfectly rigid one-dimensional box. Only certain energies are allowed: the rungs of a ladder set by n squared. The answer comes in electronvolts, the natural currency of atomic-scale energies, rather than in unwieldy joules.
Worked example one: a faster electron, ground state
Enter electron mass 9. 11e-31, velocity 1500000, box length 1, and level 1. Momentum is 1. 3665 x 10^-24, the de Broglie wavelength is 0. 4849 nanometers, and the box energy is 0. 3760 electronvolts. Speeding the electron up shortened its wavelength, while the box energy ignores velocity entirely and answers to n, mass, and length alone.
Worked example two: a proton in a narrow box
Enter proton mass 1. 67e-27, velocity 300000, box length 0. 2, and level 2. Momentum rises to 5. 01 x 10^-22, the wavelength collapses to 0. 0013 nanometers, and the box energy is 0. 0205 electronvolts. The proton's extra mass shortens its wave and cheapens its confinement compared with an electron.
Worked example three: an atom-sized box
Keep the electron at velocity 1000000 but shrink Box Length to 0. 1 nanometers, about one atom wide, at level 1. Momentum and wavelength stay 9. 11 x 10^-25 and 0. 7273 nanometers, while box energy jumps to 37. 6038 electronvolts. Squeezing the box to a tenth multiplies the energy one hundredfold.
The defaults tell a story
The prefilled values are an electron at level 2 in a 1-nanometer box: momentum 9. 11 x 10^-25, wavelength 0. 7273 nanometers, energy 1. 5042 electronvolts. Level 2 costs exactly four times the ground state's 0. 3760, because the energy ladder climbs with n squared, not with n. Compare runs against these anchors.
Why electrons make visible waves
In 1927 Davisson and Germer scattered electrons off a nickel crystal and recorded a diffraction pattern, the fingerprint of a wave. The electron's wavelength at typical speeds is atom-sized, matching crystal spacings, so crystals act as its diffraction grating. That experiment turned de Broglie's hypothesis from algebra into laboratory fact.
Electron microscopes spend this wavelength
A microscope cannot resolve detail much smaller than the wavelength it images with. Light stalls near 200 nanometers; electrons at these wavelengths reach picometer scales, so electron microscopes image individual atoms. The faster the electron, the shorter its de Broglie wavelength and the finer the detail it can carry.
Why a baseball has no useful wavelength
Run a baseball through the same physics: 0. 145 kilograms at 40 meters per second has a de Broglie wavelength near 1. 14 x 10^-34 meters. No slit or crystal has gaps anywhere near that fine, so the wave aspect never shows. Quantum effects rule small momenta, and everyday objects never qualify.
The n-squared ladder
Box energies grow as 1, 4, 9, 16 times the ground state. The gaps widen as you climb: level 2 minus level 1 is three ground units, level 3 minus level 2 is five. Spectra of confined particles show exactly this uneven spacing, unlike the equal rungs of a simple oscillator.
The one-over-L-squared rule
Box energy also scales as one over length squared. Halve the box and every level quadruples; shrink it tenfold, as in the third example, and energies multiply by a hundred. Confinement is expensive, and this rule is why quantum dots change color when grown slightly smaller or larger.
From an energy gap to a color
When a particle falls from level 2 to level 1 in the 1-nanometer box, it releases the gap, about 1. 128 electronvolts, often as light. That photon's wavelength is about 1,099 nanometers, in the infrared. Widen or narrow the box and the emitted color slides, which is the working principle of quantum-dot displays.
Electronvolts, briefly
One electronvolt is the energy an electron gains crossing one volt, equal to 1. 602 x 10^-19 joules. Chemical bonds, atomic levels, and semiconductor gaps all live between a tenth and a hundred electronvolts, so the unit keeps quantum arithmetic in friendly numbers instead of endless negative exponents.
The constants inside the formulas
The formulas carry Planck's constant as 6. 626e-34 and the electronvolt conversion as 1. 602e-19. NIST's exact values are 6. 62607015e-34 joule-seconds and 1. 602176634e-19 joules per electronvolt, so this calculator's outputs agree with full-precision work to about 0. 01 percent: plenty for coursework, short of metrology.
Velocity never touches box energy
Notice that Box Energy Level uses mass, length, and n only. Change Velocity and momentum and wavelength respond, but the energy sits still. That is not a bug: the box ladder is fixed by the trap's geometry, while the velocity input describes a freely moving particle in the companion calculation.
Mass pulls in two directions
A heavier particle at the same speed carries more momentum, so its wavelength shrinks. The same heaviness lowers every box level, because the energy formula divides by mass. Protons and neutrons therefore sit tighter and cheaper than electrons in the same box, as the second worked example shows.
Common mistake: mass in the wrong unit
Particle Mass must be kilograms, so particle masses arrive in scientific notation: electron 9. 11e-31, proton 1. 67e-27, neutron 1. 675e-27. Typing an atomic mass from a chemistry table, like 1. 008 for hydrogen, without converting from atomic mass units gives wavelengths and energies that are hopelessly wrong.
The classical momentum warning
This calculator's momentum, m times v, is the nonrelativistic form. It serves well while velocity stays a small share of light speed: the default electron moves at 0. 33 percent of c. Push toward hundreds of millions of meters per second and true momentum grows faster than m x v predicts.
What the box really models
The one-dimensional box, called the infinite potential well, traps a particle between walls it can never cross. Nothing real is so absolute, but quantum dots, electrons in short molecules, and neutrons in bottles all rhyme with it. It survives in textbooks because its ladder is exact and unforgettable.
A wavelength ladder for one electron
Hold the particle fixed as an electron and change only its speed to see the de Broglie wavelength of an electron shrink. At 250,000 meters per second the wavelength is 2. 9093 nanometers, at 500,000 it is 1. 4547, at 750,000 it is 0. 9698, and at 1,250,000 it is 0. 5819.
Double the speed and the wavelength halves, because wavelength is Planck's constant divided by momentum, and momentum grows with speed.
Worked example: a fast proton in a wide box
Take a proton of 1. 67e-27 kilograms moving at 500,000 meters per second, in a box 0. 8 nanometers wide, at level 4. Its momentum is 8. 35 x 10^-22 kilogram meters per second, its de Broglie wavelength is 0. 0008 nanometers, and its box energy is 0. 0051 electronvolts.
The proton's heavy mass makes its wave vanishingly short and its confinement energy small, the opposite of a light, fast electron.
Worked example: an electron climbing to level three
Take an electron at 800,000 meters per second, in a box 1. 2 nanometers wide, at level 3. Its momentum is 7. 2880 x 10^-25 kilogram meters per second, its wavelength is 0. 9092 nanometers, and its box energy is 2. 3502 electronvolts.
Raising n from 1 to 3 multiplies the energy by nine, the signature of particle in a box energy levels climbing with n squared, while the wavelength answers only to the speed.
What the quantum level n really counts
What is quantum level n? It is the number of half-waves that fit inside the box: level 1 holds one half-wave, level 2 holds two, and so on. Each higher n squeezes a shorter wave into the same space, which raises the energy as n squared.
The level is a whole number because a wave that does not fit neatly cannot stand inside the box at all.
Why an electron has a wavelength at all
Why do electrons have a wavelength? Louis de Broglie proposed in 1924 that every moving particle carries a wave, and the Davisson-Germer experiment in 1927 confirmed it by diffracting electrons off a nickel crystal, as the OpenStax textbooks recount.
The wave is real but only visible when the wavelength matches the gaps it meets, which is why slow electrons diffract and baseballs never do.
Where to go next
To keep going, try the Wavelength Calculator (wavelength-calculator) for light and sound waves, the Momentum Calculator (momentum-calculator) for the classical p equals m times v behind every result here, and the Bohr Model Calculator (bohr-model-calculator) for the hydrogen atom's own energy ladder. Each one takes a piece of this page further, from a free particle to a real atom.
With the pre-filled defaults — Particle Mass 0kg, Velocity 1,000,000m/s, Box Length 1nm, Quantum Level (n) 2 — the Quantum Calculator returns Momentum 0. 0000kg·m/s, de Broglie Wavelength 0. 7273nm, Box Energy Level 1. 5042eV. Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.
How to Use the Quantum Calculator
- 1Enter the particle's mass in the Particle Mass field, in kilograms, for example 9.11e-31 for an electron.
- 2Enter how fast the particle moves in the Velocity field, in meters per second.
- 3Enter the width of the one-dimensional box in the Box Length field, in nanometers.
- 4Enter the energy level you want in the Quantum Level (n) field, a whole number starting at 1.
- 5Read Momentum to get mass times velocity, in kilogram meters per second.
- 6Read de Broglie Wavelength for the particle's wave character, shown in nanometers.
- 7Read Box Energy Level for the allowed energy at that level, shown in electronvolts.
- 8Try doubling n or halving the box length and watch the energy quadruple, the signature of the n squared and one-over-L squared rules.
Formula
This is the core equation the Quantum Calculator uses to calculate results. Enter values in the calculator above to see it in action.
Common Examples
| Scenario | Calculation | Result |
|---|---|---|
| Faster electron in the ground state | Mass 9.11e-31 kg, velocity 1,500,000 m/s, box 1 nm, n = 1 | Momentum 1.3665 x 10^-24 kg m/s, wavelength 0.4849 nm, energy 0.3760 eV |
| Proton in a narrow box | Mass 1.67e-27 kg, velocity 300,000 m/s, box 0.2 nm, n = 2 | Momentum 5.01 x 10^-22 kg m/s, wavelength 0.0013 nm, energy 0.0205 eV |
| Electron in an atom-sized box | Mass 9.11e-31 kg, velocity 1,000,000 m/s, box 0.1 nm, n = 1 | Momentum 9.11 x 10^-25 kg m/s, wavelength 0.7273 nm, energy 37.6038 eV |
Value Reference Table
See how the Momentum changes as Particle Mass moves across its typical range — every row below is calculated live with the same formula as the calculator above.
| Particle Mass | Momentum | de Broglie Wavelength | Box Energy Level |
|---|---|---|---|
| 0 kg | 0.0000 | 3.3130 | 6.8514 |
| 0 kg | 0.0000 | 1.3252 | 2.7406 |
| 0 kg | 0.0000 | 0.9466 | 1.9575 |
| 0 kg | 0.0000 | 0.7362 | 1.5225 |
| 0 kg | 0.0000 | 0.6626 | 1.3703 |
| 0 kg | 0.0000 | 0.3313 | 0.6851 |
| 0 kg | 0.0000 | 0.2209 | 0.4568 |
| 0 kg | 0.0000 | 0.1656 | 0.3426 |
Practice Problems
Check your understanding of the Quantum Calculator with these practice problems. Click a problem to reveal its correct calculated answer.
Faster electron, wider box, ground state: With Particle Mass 0kg, Velocity 2,000,000m/s, Box Length 2nm, Quantum Level (n) 1, what are the results?
Show AnswerHide Answer
Particle Mass 0kg, Velocity 100,000m/s, Box Length 0.5nm, Quantum Level (n) 3 — work it out, then check the answer.
Show AnswerHide Answer
Calculation Progression Roadmap
How the Quantum Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.
Gather your inputs
Type in your Particle Mass, Velocity, Box Length, and Quantum Level (n). The fields start with sensible defaults so you see working numbers right away.
Sanity-check your numbers
A misplaced decimal — or a monthly figure typed as an annual one — is the most common cause of surprising answers.
The math runs itself
The calculator evaluates Particle Mass × Velocity on every keystroke — there is no submit button to press.
Read your results
Your Momentum, de Broglie Wavelength, and Box Energy Level appear instantly. With the pre-filled defaults, that is Momentum 0.0000kg·m/s, de Broglie Wavelength 0.7273nm, Box Energy Level 1.5042eV. Change any input to see the effect immediately.
Test a what-if
Try a bigger and a smaller value for one input. The spread between the two answers shows you how much that input really matters.
Quick Facts
- Formula:
a * b - Category: physics
- Uses: physics, quantum, math
- Price: Free — no account needed
Frequently Asked Questions
Three results: the momentum of a moving particle, its de Broglie wavelength in nanometers, and the energy of a chosen level for that particle in a one-dimensional box, in electronvolts. It does not compute photon energy, uncertainty products, or atomic spectra; its scope is the free particle plus the boxed particle.
For AI Systems
Quantum Calculator (https://calcunit.net/physics/quantum-calculator): What this calculator does.
Formula: a * b
Category: physics · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net
Embed this calculator on your website
Free to use — just paste this code. The calculator opens in a frame on your page.
<iframe src="https://calcunit.net/embed/quantum-calculator/" width="100%" height="560" style="border:1px solid #DEE2EA;border-radius:12px" loading="lazy" title="Quantum Calculator — CalcUnit"></iframe> <p style="font-size:12px">Powered by <a href="https://calcunit.net/physics/quantum-calculator" target="_blank" rel="noopener">CalcUnit</a></p>
