Light in vacuum travels at c = 299,792,458 m/s exactly, so frequency and wavelength fix each other. The photon energy E = hf comes free with them.
| Quantity | Value |
|---|
Disclaimer: This calculator gives estimates for general information only. It is not financial, medical or other professional advice.
What this calculator does
Three wave calculations share one page because they share one relationship. For any ordinary wave, speed equals frequency times wavelength, v = fλ, so knowing the speed and either of the other two fixes everything, including the period. For light in vacuum the speed is the universal constant c, and the same pair of numbers also fixes the energy of each photon through E = hf. For matter, de Broglie’s relation gives a moving particle a wavelength, λ = h/p, from its momentum. Pick the kind of wave at the top: electromagnetic in vacuum, a wave in a medium whose speed you choose or enter, or a particle with a mass and a speed (or a kinetic energy instead). The calculator returns the missing quantities with sensible units at every scale, from gamma rays to radio waves and from electrons to thrown balls, and shows the working so the chain from input to answer can be checked.
How to use it
- Light mode: give the wavelength in anything from picometres to kilometres, or the frequency from Hz to PHz, and read back the partner quantity, the period, and the photon energy in joules and electron-volts. The defaults, 650 nm, are red light.
- Medium mode: pick a medium to load its standard sound speed (air 343 m/s, fresh water 1,480 m/s, seawater 1,530 m/s, a steel rod 5,960 m/s), or choose Custom and type any wave speed at all: water waves, a guitar string, seismic waves. Then give the frequency or the wavelength.
- de Broglie mode: give the mass and either the velocity or, for electrons and ions in accelerators and microscopes, the kinetic energy in electron-volts. The defaults are an electron at the speed 100 volts of acceleration produces.
- Watch which quantity the medium changes. A wave crossing from air into water keeps its frequency, set by the source, and changes its wavelength in proportion to the speed. That is why the frequency is the label that travels with a wave, and why this calculator asks for the speed explicitly instead of hiding it.
- Read the note under every result. For light it names the spectral band (and the colour, when visible). For sound it places the frequency against human hearing. For particles it warns when the speed is high enough that the non-relativistic momentum starts to mislead.
The method
Everything starts from v = fλ, the definition of a wave: in one period T = 1/f the wavefront advances one wavelength, so the speed is λ/T = fλ. Light mode sets v = c = 299,792,458 m/s, the exact defined value, and adds Planck’s relation E = hf with h = 6.62607015 × 10^−34 J·s, also exact since the 2019 SI redefinition, reporting the energy additionally in electron-volts (1 eV = 1.602176634 × 10^−19 J). Medium mode takes the speed from the medium or from your input and applies the same v = fλ either way round. De Broglie mode starts from momentum: p = m × v directly, or p = sqrt(2 × m × E) from a kinetic energy, the two related by E = p²/(2m) in the non-relativistic mechanics this model uses; the wavelength is then λ = h/p, and the kinetic energy from a velocity is E = ½mv². Masses can be entered in kilograms, grams, milligrams or electron masses (mₑ = 9.1093837 × 10^−31 kg). Results are shown in the unit that keeps them readable, with the raw SI value alongside at the extremes, so a gamma ray’s period appears in femtoseconds and its wavelength in picometres rather than as a string of zeros.
Worked examples
Red light (the loaded defaults). λ = 650 nm in vacuum: f = c/λ = 299,792,458 / 650 × 10^−9 = 4.612 × 10^14 Hz. The period is 2.168 femtoseconds. Each photon carries E = hf = 3.056 × 10^−19 J, which is 1.907 eV: the energy scale of the chemical bonds this light can and cannot break, and the reason red light is gentle.
An FM radio station. 98.5 MHz: λ = c/f = 3.044 m, and the period is 10.15 ns. A wavelength of about three metres is why FM aerials are the size they are (a half-wave dipole is roughly a metre and a half) and why FM does not bend around hills the way longer-wave radio does. The photon energy, 4.074 × 10^−7 eV, is a useful reminder that radio “radiation” is non-ionising by an enormous margin.
Concert A in air and water. 440 Hz in air at 343 m/s: λ = 0.7795 m, about 78 cm. The same 440 Hz under water at 1,480 m/s: λ = 3.364 m. Same note, same frequency, wavelength scaled by the 4.3-times faster medium; underwater, human ears cannot localise it well precisely because the wavelength now dwarfs the head.
An electron microscope’s electron. An electron (9.1093837 × 10^−31 kg) accelerated through 100 volts gains 100 eV of kinetic energy, a momentum of 5.403 × 10^−24 kg·m/s and a speed of 5.931 × 10^6 m/s, about 2% of light speed. Its de Broglie wavelength is h/p = 0.1226 nm: smaller than the spacing between atoms in a crystal, which is exactly why electron microscopes can image at atomic scales where visible light, at 400 to 700 nm, is hopeless. Entering 100 in the kinetic energy field reproduces this example exactly.
The boundary case: a thrown ball. A 1 g mass moving at 1 m/s has λ = 6.626 × 10^−31 m. That is the same physics as the electron, and the number itself is the explanation for why nobody diffracts a ball: the wavelength is twenty orders of magnitude smaller than an atom, so wave behaviour exists on paper and nowhere else. The calculator reports it anyway, honestly scaled, because the contrast is the lesson.
Reading your result
The verdict carries the headline pair for the mode: frequency and photon energy for light, wavelength and period for a medium wave, wavelength for a particle. The table fills in the rest in a fixed order so results compare cleanly: for light, the frequency, period, wavelength and both energy units; for a wave in a medium, the wavelength, frequency, period and the speed used, named with its medium so a saved screenshot keeps its context; for a particle, the momentum, wavelength, velocity (with its fraction of light speed), and the kinetic energy in joules and electron-volts. The note then interprets: the spectral band and colour for light (a 650 nm result is red, a 495 nm result is green), the hearing range position for sound (below 20 Hz infrasound, above 20 kHz ultrasound for most adults), and for fast particles the relativity warning that appears once the speed passes a tenth of light speed, where the simple p = mv begins to understate the momentum and the true wavelength is shorter than the one shown.
Limitations
- Light mode is vacuum light. In glass, water or fibre the speed falls by the refractive index and the wavelength shortens with it (the frequency, and so the photon energy, do not change). Results here are the vacuum/air values; divide the wavelength by the index, about 1.33 for water and 1.5 for common glass, for the in-medium figure.
- Medium speeds are standard values, not constants of nature. Sound in air is 343 m/s near 20 °C and rises about 0.6 m/s per degree; water and steel vary with temperature, salinity and alloy. The custom speed field exists because the honest speed is often a measured one.
- De Broglie mode is non-relativistic. p = mv and E = p²/2m hold well below about a tenth of light speed; the page flags results past that line rather than silently extending the model. Electron microscope voltages of tens to hundreds of kilovolts sit in that flagged zone in real instruments, where the relativistic wavelength is measurably shorter.
- Energy input is kinetic energy in electron-volts. It is converted at the exact 1 eV = 1.602176634 × 10^−19 J. Entering a rest energy or a total energy there would be a different (and wrong) calculation; the field is kinetic only.
- Everything must be positive. Zero or negative frequencies, wavelengths, speeds, masses and energies are refused with the reason, and with both velocity and kinetic energy empty the particle mode asks for one of them, because each describes something no wave or particle can do.
Frequently asked questions
Why does the wavelength change in a medium but not the frequency?
The frequency is set by the source: a speaker cone or an electron oscillates a fixed number of times per second, and each oscillation launches one wavefront. Wavefronts cannot pile up or vanish at a boundary, so the same number cross every point per second on both sides. What can change is how far each front travels in one period, which is the wavelength: slower medium, shorter wavelength, by exactly the speed ratio in v = fλ. It is also why a musical note keeps its pitch underwater while its wavelength stretches 4.3 times.
How are wavelength and photon energy related?
Inversely, through two constants: E = hf and f = c/λ give E = hc/λ. Double the frequency and the photon doubles in energy; double the wavelength and it halves. The convenient working form is E(eV) ≈ 1240 / λ(nm): 650 nm gives 1.91 eV, 400 nm gives 3.1 eV, and a 0.01 nm X-ray gives 124,000 eV, which is the whole story of why ultraviolet tans, X-rays image bones and radio waves do neither.
What is a de Broglie wavelength, in plain terms?
De Broglie’s 1924 proposal, since confirmed by countless diffraction experiments, is that every moving particle also behaves as a wave whose wavelength is Planck’s constant divided by its momentum, λ = h/p. For electrons the wavelength lands near atomic spacings at everyday accelerator energies, so crystals diffract them like gratings and electron microscopes resolve atoms. For anything gram-sized the wavelength is so absurdly small (10^−31 m territory) that the wave nature, while real, can never be observed, which is why the everyday world looks purely particle-like.
Why does this page ask for the wave speed instead of assuming it?
Because “the speed of the wave” is the single most-swapped number in textbook problems: sound alone runs at 343 m/s in air, 1,480 in water and nearly 6,000 in steel, and waves on strings, water surfaces and seismic waves all have their own speeds, often measured rather than known. A calculator that quietly assumed air would be wrong the moment the problem was about anything else. Here the medium presets cover the common cases and the speed field itself is always visible and editable, so the assumption is never hidden.
Related calculators
Method: v = fλ with c = 299,792,458 m/s in vacuum; photon energy E = hf with h = 6.62607015 × 10^−34 J·s and 1 eV = 1.602176634 × 10^−19 J; de Broglie wavelength λ = h/p with p = mv or p = sqrt(2mE), non-relativistic; electron mass 9.1093837 × 10^−31 kg. Last reviewed: 24 October 2026.
