Wavelength Calculator
A free frequency to wavelength calculator that also converts wavelength to frequency, photon energy (eV, kJ/mol, cm⁻¹) to wavelength, and finds the de Broglie wavelength of electrons and the peak wavelength of a hot object. Any units in and out, with steps, charts and a diagram.
⚡ 0. Quick Answer
A wavelength calculator divides wave speed by frequency, λ = v / f. An FM station at 98.1 MHz in vacuum has λ = 299 792 458 m/s ÷ 98 100 000 Hz = 3.06 m.
Rule of thumb: for radio waves, λ in metres ≈ 300 ÷ f in MHz (300 ÷ 98.1 = 3.06 m). For light, λ in nm ≈ 1240 ÷ E in eV (2.00 eV gives 620 nm, orange red).
Key Takeaways
- A wavelength calculator uses λ = v/f: a 98.1 MHz radio wave is 3.06 m long in vacuum.
- Frequency never changes when a wave enters a new medium; the wavelength does. Green light of 532 nm in vacuum is only 399 nm in water (n = 1.333).
- For photons, λ = hc/E, so 1 eV corresponds to 1239.84 nm and 2.00 eV to 620 nm.
- Sound is slow, so its wavelengths are long: concert A at 440 Hz in 20 °C air is 0.780 m.
- Particles are waves too: an electron accelerated through 100 V has a de Broglie wavelength of 0.123 nm, about the size of an atom.
📚 1. What Is a Wavelength Calculator?
A wavelength calculator finds the distance between two matching points on a wave, such as two crests, from the things you can measure: the frequency and the wave speed, the energy of a photon, the temperature of a glowing object, or the energy of a moving particle. Wavelength (symbol λ, lambda) is a length, so its SI unit is the metre (m), with nanometres (nm) for light and picometres (pm) for X-rays and electrons.
The core idea is the wave equation, v = fλ. Every second, f crests pass you, and each crest is λ behind the one before it, so the wave moves f × λ metres per second. Rearranged, λ = v/f and f = v/λ.
A worked one-liner: Wi-Fi at 2.4 GHz has λ = 299 792 458 m/s ÷ 2.4 × 10⁹ Hz = 0.125 m, or 12.5 cm. A quarter-wave antenna for it is about 3.1 cm long.
Who uses it: CBSE and ICSE Class 10 to 12 students (Chapter "Waves" and "Dual Nature of Radiation and Matter"), IGCSE, GCSE and A level physics, AP Physics 1 and 2, JEE and NEET aspirants, first-year chemistry students working with spectra, radio amateurs cutting antennas, audio engineers placing speakers, and ultrasound sonographers choosing a probe.
A short history: Thomas Young measured the wavelength of light with his double-slit experiments, reported in 1804. Max Planck linked energy to frequency in 1901, Einstein applied it to light in 1905, and Louis de Broglie proposed in 1924 that particles have a wavelength λ = h/p, confirmed by Davisson and Germer in 1927.
| Equation | What it finds | Use it when |
|---|---|---|
| λ = v / f | Wavelength of any wave | You know the frequency and the speed in that medium (light, radio, sound, water) |
| λ = h c / E | Wavelength of a photon | You know the photon energy (eV, J, kJ/mol) or a wavenumber in cm⁻¹ |
| λ = h / p | de Broglie wavelength of a particle | You know a particle’s mass and its speed, kinetic energy or accelerating voltage |
| λmax = b / T | Peak wavelength of thermal radiation | You know the absolute temperature of a star, lamp filament or warm body |
| λ = g T² / 2π | Deep-water ocean wavelength | You know the wave period and the water is deeper than about half a wavelength |
🧮 2. Enter Your Values
Solve for:
Frequency values, comma separated
Commas, spaces, semicolons, tabs and new lines all separate values, so a column pasted from Excel works. Scientific notation works too: 6.2e-3 or 6.2×10^-3.
📊 3. Results and Step-by-Step Working
🧠 4. Understanding Your Answer, In Detail
4.1 What the wavelength tells you physically
Wavelength is the length of one complete repeat of the wave in space. Frequency is how many repeats pass a point each second. Together they fix the speed, v = fλ. A long wavelength means the pattern is spread out; a short one means it is packed tightly. For light, wavelength decides the colour you see; for sound, the pitch you hear depends on frequency, while wavelength decides how sound bends around doors and how big a speaker or room mode is.
4.2 Is your number a sensible size?
Compare it with values you already know. AM radio is hundreds of metres long; FM radio about 3 m; Wi-Fi about 12 cm; a microwave oven 12.2 cm; visible light 380 to 750 nm; X-rays about 0.01 to 10 nm. Audible sound in air runs from about 17 m (20 Hz) down to 17 mm (20 kHz). Medical ultrasound at 5 MHz in tissue is about 0.31 mm. If your answer is a million times off one of these, a prefix (MHz vs Hz, nm vs m) is the usual cause.
4.3 How it scales
λ is inversely proportional to f. Double the frequency and the wavelength halves; go up by a factor of 1000 (kHz to MHz) and the wavelength falls by 1000. For photons, λ is inversely proportional to energy: double the eV, halve the nanometres. For de Broglie waves, λ falls as 1/√V at low voltage, so four times the voltage halves the wavelength.
4.4 The medium changes wavelength, not frequency
When light goes from air into glass with n = 1.52, its speed drops to c/1.52 and its wavelength drops by the same factor, but the frequency stays exactly the same, because the source sets it. That is why the photon energy, E = hf, does not change either. Spectroscopy tables quote vacuum wavelengths for this reason. The calculator always shows the vacuum wavelength on the spectrum strip and the in-medium wavelength in the answer.
4.5 Half and quarter wavelengths for antennas, pipes and coax
A half-wave dipole is about λ/2 long, a ground-plane or whip antenna about λ/4, and a 5/8-wave vertical about 0.625λ. Real antennas are cut 2 to 5% shorter than the free-space value because of end effects and wire thickness. Inside a coaxial cable the wave travels at VF × c, so a quarter-wave stub of coax is VF times shorter than the same stub in air. For sound, a pipe closed at one end first resonates when its length is λ/4, and an open pipe at λ/2.
4.6 What the charts show
Chart 1 shows the answer for every value on a log scale, so values that differ by factors of 10 or 1000 still fit on one plot. Chart 2 draws the physical law itself (for example λ = v/f as a straight line on log-log axes) with your values as dots; a dot off the line would mean a wrong input. Chart 3 gives photon energy for electromagnetic waves, or the period T = 1/f for sound and water waves. Chart 4 compares the smallest, mean and largest answer in each group.
4.7 The limits of the model
v = fλ is exact for a single-frequency wave. The approximations sit in the speed you choose: the speed of sound changes with temperature (about 0.6 m/s per °C) and slightly with humidity; refractive index changes with wavelength (dispersion); deep-water ocean waves only follow λ = gT²/2π when the water is deeper than about half a wavelength. The de Broglie mode uses relativistic momentum, so it stays correct at any voltage; the simple non-relativistic formula is shown beside it so you can see the error.
4.8 Where this leads next
Once you have the wavelength you can find diffraction angles (d sin θ = mλ), the resolution limit of a microscope (about λ/2), standing-wave patterns in strings and pipes, and photon energies for the photoelectric effect. Section 21 lists the related StatsUnlock tools.
✍ 5. How to Write the Answer (and Your Results in Research)
▶ Press Calculate above to auto-fill all five cards with the value chosen in "Show working for".
Conventions
- Write every value with its unit, converted to SI before substituting.
- Box the final answer and round only at the end.
- Give the same number of significant figures as the least precise value in the data.
Conventions
- Use scientific notation below 0.001 or from one million: 4.74 × 10¹⁴ Hz.
- Leave a space between the number and the unit: 3.06 m, not 3.06m.
How to write your results in research
- State the method and the constants used (c = 299 792 458 m/s exact; h = 6.62607015 × 10⁻³⁴ J s exact, CODATA 2022).
- For a measured wavelength give value ± uncertainty with the unit: λ = 0.670 ± 0.006 m.
- Say whether wavelengths are in vacuum or in air; spectroscopy usually quotes vacuum values below 200 nm and air values above.
- Report the medium and temperature for sound (v depends on T).
Conventions
- Award a method mark for the correct equation and a unit-conversion mark for MHz to Hz or nm to m.
- Accept 3 × 10⁸ m/s for c unless the question gives more figures.
Conventions
- Write powers as e notation (4.74e14 Hz) or 10^14 so they paste anywhere.
- Write u for μ (um for micrometres) when special characters break.
∑ 6. Formulas Used
Seven formulas drive this calculator. Card 1 is the main law; the others cover photons, particles, temperature and the constants. Each symbol is listed with its SI unit.
🔀 7. Wavelength Calculation Flowchart, Step by Step
This flowchart shows how the wavelength is calculated step by step, using the same worked problem as the Excel, R, Python and by-hand sections: an FM radio station broadcasting at 98.1 MHz. Find its wavelength in vacuum, and the length of a half-wave and quarter-wave antenna.
The same numbers appear in Excel (Section 9), R (Section 10), Python (Section 11) and the hand method (Section 14).
📝 8. How to Use This Calculator
- Choose what to solve for. Pick a chip: wavelength from frequency, frequency from wavelength, wavelength from photon energy, wave speed, de Broglie wavelength or peak wavelength from temperature.
- Pick the unit of your values. Frequency in Hz to PHz or as a period, wavelength in pm to km or feet, energy in eV, J, kJ/mol or cm⁻¹.
- Type or paste your values. The default box takes comma-separated numbers, as the placeholder shows: 52, 48, 55, 61, 47, and so on.
- Name each group. The group name above each box is editable, and it flows into the table, the charts and the download.
- Add more groups or upload a file. Press Add group, or upload a CSV or Excel file and click the columns you want: every selected column becomes its own group.
- Choose the medium. Vacuum, air, water, glass, a coax velocity factor, a dielectric εr, sound at your air temperature, water, tissue, steel, deep ocean water or a custom speed.
- Set the options. Significant figures (default: match the data), the unit for showing wavelength, and g for ocean waves.
- Press Calculate. Nothing is computed until you do. Switching samples or modes clears the old results so you never read stale numbers.
- Read the answer box and the steps. Use "Show working for" to see the GRESS layout and every step for any value, with the units check and the substitution check.
- Check the charts and download. Four charts and a live diagram are drawn from your numbers. Download Doc gives a text report; Download PDF prints the results.
📈 9. How to Calculate Wavelength in Excel
Excel has no WAVELENGTH function, but the formula is one division. The work is in keeping the units straight: put the unit in every column header, convert MHz or nm to SI in its own column, and keep the constants in named cells so every row uses the same exact values. The example is the same five FM stations used by R and Python below.
=299792458/(B2*10^6). For 98.1 MHz it returns 3.055988359, which is 3.06 m to 3 significant figures.9.1 The functions you need
| You want | Excel formula | Note |
|---|---|---|
| Wavelength from frequency | =$I$2/C2 | c in I2, frequency in Hz in C2 |
| Frequency from wavelength in nm | =$I$2/(A2*10^-9) | Convert nm to m inside the formula |
| Wavelength in nm from energy in eV | =1239.84198/A2 | hc in eV nm; or =$I$3*$I$2/(A2*$I$4)*10^9 |
| Photon energy in eV | =$I$3*C2/$I$4 | h in I3, e in I4 |
| Period | =1/C2 | Seconds; format as 0.00E+00 |
| Metres to feet | =CONVERT(D2,"m","ft") | Unit text is case-sensitive |
| de Broglie, electron, V volts | =6.62607015E-34/SQRT(2*9.1093837139E-31*1.602176634E-19*A2) | Non-relativistic; fine below about 10 kV |
| Speed of sound at T °C | =331.3*SQRT(1+A2/273.15) | Dry air; 343.2 m/s at 20 °C |
| Slope of a lab graph | =SLOPE(B2:B6,A2:A6) | For the resonance-tube or grating experiment |
9.2 Step by step
1 Type the data with units in the headers, and the constants once
Station names in column A, frequency in MHz in column B. Put c, h and e in a small table at the side (I2, I3, I4) so every formula points to the same exact value.
Five FM stations in A2:B6, constants in I2:I4.
2 Convert MHz to Hz in its own column
=B2*10^6
Fill the formula down to C6. Keeping the conversion visible stops the most common error, dividing c by 98.1 instead of 98 100 000.
C4 shows 9.81E+07 Hz for the 98.1 MHz station.
3 Divide c by the frequency
=$I$2/C2
The dollar signs lock the reference to c, so it does not slide down when you fill the column.
D4 = 3.055988 m, the same as Sections 7, 10, 11 and 14.
4 Add the quarter-wave length and the photon energy
=D2/4=$I$3*C2/$I$4
For 98.1 MHz: quarter-wave 0.764 m and photon energy 4.06E-07 eV.
9.3 The awkward cases
- Scientific notation: Excel shows 0.000000406 as 4.06E-07. Use Format Cells, Scientific, 2 decimal places, to keep 3 significant figures.
- CONVERT unit text is exact:
=CONVERT(D2,"m","ft")works, but"M"or"feet"returns#N/A. - Typing 3E8 for c changes the answer by 0.07%. That is fine for 2 or 3 significant figures, but a mark scheme that uses 3.00 × 10⁸ will give 3.06 m either way.
- Precision: Excel keeps about 15 significant digits, far more than any measurement.
9.4 Why Excel might disagree with R, Python or your textbook
| Situation | What happens | Fix |
|---|---|---|
| Textbook uses c = 3 × 10⁸ m/s | 3.058 m instead of 3.056 m | Both round to 3.06 m at 3 s.f. |
| Sound speed 340, 343 or 343.2 m/s | Wavelengths differ by up to 1% | Use the speed your question gives, or compute it from the temperature |
| hc taken as 1240 instead of 1239.84 eV nm | 0.013% difference | Only matters past 4 s.f. |
| Rounding 2.5 to 2 or 3 | Excel ROUND rounds half away from zero; R and Python round half to even | Round only the final answer, and use signif() in R or f"{x:#.3g}" in Python |
| Vacuum vs air wavelength for light | Air values are 0.03% shorter | Say which you report |
9.5 Charting it
Select the frequency and wavelength columns, insert a Scatter chart (never the Line chart, which spaces the x values evenly), then set both axes to logarithmic scale in Format Axis. The points fall on a straight line of slope −1, because λ = c/f. For a lab experiment add a linear trendline and tick "Display equation on chart".
9.6 Errors you will hit
- #DIV/0!: a blank or zero frequency. Wrap it:
=IFERROR($I$2/C2,""). - #VALUE!: a cell holds text such as "98.1 MHz". Keep units in the header only.
- #NUM!: square root of a negative number in the de Broglie formula, usually a negative voltage.
- #N/A: a misspelt CONVERT unit.
📊 10. How to Calculate Wavelength in R
Rscript wavelength.R. It uses base R only, no packages. To use your own data, change the two input lines in part 2.10.1 The complete script
# Wavelength calculator in R: lambda = v / f and E = h f
# Runs in RStudio, Posit Cloud or with: Rscript wavelength.R (base R only, no packages)
# ---- 1. Constants (CODATA 2022, exact by SI definition) ----
c_light <- 299792458 # speed of light, m/s
h <- 6.62607015e-34 # Planck constant, J s
e_ch <- 1.602176634e-19 # elementary charge, C (1 eV = e_ch joules)
# ---- 2. Inputs (change these two lines) ----
station <- c("FM 88.1", "FM 92.7", "FM 98.1", "FM 101.5", "FM 107.9")
f_MHz <- c(88.1, 92.7, 98.1, 101.5, 107.9) # frequency in MHz
v <- c_light # wave speed, m/s (use 343.2 for sound at 20 C)
# ---- 3. Calculation in SI units ----
f <- f_MHz * 1e6 # Hz
lambda <- v / f # m
half <- lambda / 2 # m
quarter <- lambda / 4 # m
E_eV <- h * f / e_ch # photon energy, eV
res <- data.frame(station, f_Hz = f, lambda_m = signif(lambda, 3),
half_m = signif(half, 3), quarter_m = signif(quarter, 3),
E_eV = signif(E_eV, 3))
print(res)
# ---- 4. Checks ----
cat("Substitution check, f x lambda for 98.1 MHz:", format(f[3] * lambda[3], digits = 10), "m/s\n")
stopifnot(isTRUE(all.equal(f * lambda, rep(v, length(f)))))
cat(sprintf("Headline: an FM station at 98.1 MHz has a wavelength of %s m in vacuum.\n",
formatC(lambda[3], format = "fg", digits = 3, flag = "#")))
# ---- 5. Figure: lambda = v/f with the stations on it (300 dpi) ----
png("wavelength_plot_r.png", width = 6, height = 4, units = "in", res = 300)
ff <- 10^seq(7.5, 8.5, length.out = 200)
plot(ff / 1e6, v / ff, type = "l", log = "xy", lwd = 2, col = "#0f172a",
xlab = "Frequency f (MHz)", ylab = "Wavelength lambda (m)",
main = "Wavelength of FM radio stations")
points(f_MHz, lambda, pch = 19, col = "#2563eb", cex = 1.3)
legend("topright", c("lambda = c / f", "FM stations"), lty = c(1, NA), pch = c(NA, 19),
col = c("#0f172a", "#2563eb"), bty = "n")
invisible(dev.off())
cat("Saved wavelength_plot_r.png\n")
Output (run and checked):
station f_Hz lambda_m half_m quarter_m E_eV 1 FM 88.1 88100000 3.40 1.70 0.851 3.64e-07 2 FM 92.7 92700000 3.23 1.62 0.809 3.83e-07 3 FM 98.1 98100000 3.06 1.53 0.764 4.06e-07 4 FM 101.5 101500000 2.95 1.48 0.738 4.20e-07 5 FM 107.9 107900000 2.78 1.39 0.695 4.46e-07 Substitution check, f x lambda for 98.1 MHz: 299792458 m/s Headline: an FM station at 98.1 MHz has a wavelength of 3.06 m in vacuum. Saved wavelength_plot_r.png
10.2 What each part does
| c_light, h, e_ch | The constants, typed once with their CODATA source. All three are exact. |
| f_MHz * 1e6 | Converts to hertz before dividing, so the answer is in metres. |
| signif(x, 3) | Rounds to 3 significant figures, matching 98.1. Use it only for display. |
| stopifnot(...) | The substitution check: f × λ must equal v. |
| png(..., res = 300) | Saves a 300 dpi figure ready for a report. |
R traps: round() rounds half to even; log() is the natural log; trig functions use radians; and c is also R’s combine function, which is why the script calls the speed of light c_light.
10.3 What the figure shows
A straight line on log-log axes, λ = c/f, with the five stations on it. Higher frequency sits lower and to the right: shorter wavelength.
10.4 Common problems and fixes
- Answer 10⁶ times too big: you divided by MHz, not Hz.
- "object c not found" or odd results: you overwrote
c(); restart R. - Figure not saved: the
dev.off()line did not run.
10.5 Useful one-liners
299792458 / 2.4e9 # Wi-Fi wavelength, m 1239.84198 / 2.0 # 2 eV photon, nm 331.3 * sqrt(1 + 20 / 273.15) / 440 # concert A in air, m 6.62607015e-34 / sqrt(2 * 9.1093837139e-31 * 1.602176634e-19 * 100) # electron at 100 V, m
🐍 11. How to Calculate Wavelength in Python
Install once: pip install numpy scipy matplotlib. The script takes c, h and e from scipy.constants, which carries the exact CODATA values.
11.1 The complete script
# Wavelength calculator in Python: lambda = v / f and E = h f
# Runs in a terminal, Jupyter or Google Colab.
import numpy as np
import matplotlib
matplotlib.use("Agg") # draw without a screen; delete this line in Jupyter
import matplotlib.pyplot as plt
from scipy.constants import c, h, e # CODATA values: c, h and e are exact
# ---- 1. Inputs (change these two lines) ----
stations = ["FM 88.1", "FM 92.7", "FM 98.1", "FM 101.5", "FM 107.9"]
f_MHz = np.array([88.1, 92.7, 98.1, 101.5, 107.9]) # frequency in MHz
v = c # wave speed in m/s (vacuum); 343.2 for sound at 20 C
# ---- 2. Calculation, all in SI units ----
f = f_MHz * 1e6 # MHz -> Hz
lam = v / f # wavelength in m
half = lam / 2 # half-wave dipole length in m
quarter = lam / 4 # quarter-wave antenna length in m
T = 1 / f # period in s
E_eV = h * f / e # photon energy in eV
# ---- 3. Results with units, 3 significant figures (matching 98.1) ----
for s, lam_i, half_i, q_i, E_i in zip(stations, lam, half, quarter, E_eV):
print(f"{s} MHz: lambda = {lam_i:#.3g} m, lambda/2 = {half_i:#.3g} m, "
f"lambda/4 = {q_i:#.3g} m, E = {E_i:#.3g} eV")
# ---- 4. Checks ----
print("Substitution check, f x lambda for 98.1 MHz:", f[2] * lam[2], "m/s (should equal c)")
assert np.allclose(f * lam, v)
print(f"Headline: an FM station at 98.1 MHz has a wavelength of {lam[2]:#.3g} m in vacuum.")
# ---- 5. Figure: the law lambda = v/f with the stations on it (300 dpi) ----
ff = np.logspace(7.5, 8.5, 200) # 31.6 MHz to 316 MHz
fig, ax = plt.subplots(figsize=(6, 4))
ax.loglog(ff / 1e6, v / ff, color="#0f172a", lw=2, label="lambda = c / f")
ax.scatter(f_MHz, lam, color="#2563eb", s=45, zorder=3, label="FM stations")
ax.set_xlabel("Frequency f (MHz)")
ax.set_ylabel("Wavelength lambda (m)")
ax.set_title("Wavelength of FM radio stations")
ax.grid(True, which="both", alpha=0.3)
ax.legend()
fig.savefig("wavelength_plot.png", dpi=300, bbox_inches="tight")
print("Saved wavelength_plot.png")
Output (run and checked):
FM 88.1 MHz: lambda = 3.40 m, lambda/2 = 1.70 m, lambda/4 = 0.851 m, E = 3.64e-07 eV FM 92.7 MHz: lambda = 3.23 m, lambda/2 = 1.62 m, lambda/4 = 0.809 m, E = 3.83e-07 eV FM 98.1 MHz: lambda = 3.06 m, lambda/2 = 1.53 m, lambda/4 = 0.764 m, E = 4.06e-07 eV FM 101.5 MHz: lambda = 2.95 m, lambda/2 = 1.48 m, lambda/4 = 0.738 m, E = 4.20e-07 eV FM 107.9 MHz: lambda = 2.78 m, lambda/2 = 1.39 m, lambda/4 = 0.695 m, E = 4.46e-07 eV Substitution check, f x lambda for 98.1 MHz: 299792458.0 m/s (should equal c) Headline: an FM station at 98.1 MHz has a wavelength of 3.06 m in vacuum. Saved wavelength_plot.png
11.2 What each part does
| from scipy.constants import c, h, e | Exact SI constants, so no typed-in rounding. |
| np.array([...]) | Works on every value at once; no loop needed for the maths. |
| f"{x:#.3g}" | 3 significant figures, keeping trailing zeros (3.40, not 3.4). |
| np.allclose(f * lam, v) | The substitution check. |
| savefig(..., dpi=300) | Report-quality figure. |
Python traps: ^ is bitwise XOR, so write 10**6 or 1e6; round() rounds half to even; math.sin takes radians; scipy.constants.g is 9.80665 m/s².
11.3 What the figure shows
The same straight line as the R figure: λ = c/f on log-log axes with the stations as blue dots.
11.4 Common problems and fixes
- ModuleNotFoundError: scipy: run the pip line above.
- No window appears: the script saves a PNG instead; remove the
matplotlib.use("Agg")line in Jupyter to see it inline. - Strange huge numbers:
10^6was used instead of10**6.
11.5 Useful one-liners
from scipy.constants import c, h, e, m_e c / 2.4e9 # Wi-Fi wavelength, m h * c / (2.0 * e) * 1e9 # 2 eV photon, nm h / (2 * m_e * e * 100) ** 0.5 # electron at 100 V (non-relativistic), m 2.897771955e-3 / 5772 # Sun's peak wavelength (Wien), m
Run it in a terminal (python wavelength.py), a Jupyter notebook, or Google Colab, which has NumPy, SciPy and Matplotlib already installed.
📋 12. Reference Tables
12.1 Constants used (CODATA 2022)
| Constant | Symbol | Value | Status |
|---|---|---|---|
| Speed of light in vacuum | c | 299 792 458 m/s | exact |
| Planck constant | h | 6.626 070 15 × 10⁻³⁴ J s | exact |
| Elementary charge (1 eV in joules) | e | 1.602 176 634 × 10⁻¹⁹ C | exact |
| Avogadro constant | NA | 6.022 140 76 × 10²³ mol⁻¹ | exact |
| Boltzmann constant | kB | 1.380 649 × 10⁻²³ J/K | exact |
| Wien displacement constant | b | 2.897 771 955 × 10⁻³ m K | exact (derived) |
| Stefan–Boltzmann constant | σ | 5.670 374 419 × 10⁻⁸ W m⁻² K⁻⁴ | exact (derived) |
| Planck constant × c | hc | 1239.841 98 eV nm | exact (derived) |
| Electron mass | me | 9.109 383 7139 × 10⁻³¹ kg | measured |
| Proton mass | mp | 1.672 621 925 95 × 10⁻²⁷ kg | measured |
| Neutron mass | mn | 1.674 927 500 56 × 10⁻²⁷ kg | measured |
| Atomic mass constant | u | 1.660 539 068 92 × 10⁻²⁷ kg | measured |
Source: NIST CODATA 2022 recommended values (Mohr et al., 2025, Reference 1).
12.2 The electromagnetic spectrum
| Band | Wavelength | Frequency | Photon energy |
|---|---|---|---|
| Gamma ray | below 10 pm | above 30 EHz | above 124 keV |
| X-ray | 10 pm to 10 nm | 30.0 PHz to 30.0 EHz | 124 eV to 124 keV |
| Ultraviolet | 10 nm to 3.8e+02 nm | 789 THz to 30.0 PHz | 3.26 eV to 124 eV |
| Visible | 3.8e+02 nm to 7.5e+02 nm | 400 THz to 789 THz | 1.65 eV to 3.26 eV |
| Infrared | 7.5e+02 nm to 1.0 mm | 300 GHz to 400 THz | 1.24 meV to 1.65 eV |
| Microwave | 1.0 mm to 1.0 m | 300 MHz to 300 GHz | 1.24 μeV to 1.24 meV |
| Radio | above 1.0 m | below 3.0e+02 MHz | below 1.24 μeV |
Band edges are conventions, not sharp physical limits, and sources differ slightly. Values are vacuum wavelengths.
12.3 Wavelength to colour: the visible spectrum
| Colour | Wavelength | Frequency | Photon energy |
|---|---|---|---|
| Violet | 380 to 450 nm | 666 to 789 THz | 2.76 to 3.26 eV |
| Blue | 450 to 485 nm | 618 to 666 THz | 2.56 to 2.76 eV |
| Cyan | 485 to 500 nm | 600 to 618 THz | 2.48 to 2.56 eV |
| Green | 500 to 565 nm | 531 to 600 THz | 2.19 to 2.48 eV |
| Yellow | 565 to 590 nm | 508 to 531 THz | 2.10 to 2.19 eV |
| Orange | 590 to 625 nm | 480 to 508 THz | 1.98 to 2.10 eV |
| Red | 625 to 750 nm | 400 to 480 THz | 1.65 to 1.98 eV |
Colour names are approximate; perceived colour depends on the observer and lighting (Smith & Guild, 1931; Stockman & Sharpe, 2000). The swatches use a display approximation.
12.4 Wave speed in common media
| Medium | Wave speed | Note |
|---|---|---|
| Light or radio in vacuum | 299 792 458 m/s | exact |
| Light in air, 15 °C, sea level | c / 1.000293 = 299 704 645 m/s | visible light (Edlén, 1966; Ciddor, 1996) |
| Light in water | c / 1.333 = 2.249 × 10⁸ m/s | n near 589 nm (Daimon & Masumura, 2007) |
| Light in crown glass | c / 1.52 = 1.97 × 10⁸ m/s | n varies 1.50 to 1.53 by glass type |
| Solid polyethylene coax (VF 0.66) | 1.98 × 10⁸ m/s | RG-58, RG-213 type cables |
| Foam dielectric coax (VF 0.85) | 2.55 × 10⁸ m/s | check the maker’s data sheet |
| FR-4 circuit board (εr ≈ 4.4) | c / √4.4 = 1.43 × 10⁸ m/s | stripline; microstrip is faster |
| Sound in dry air, 0 °C | 331.3 m/s | rises about 0.6 m/s per °C (Cramer, 1993) |
| Sound in dry air, 20 °C | 343.2 m/s | the usual textbook value |
| Sound in fresh water, 20 °C | 1482 m/s | Del Grosso & Mader (1972) |
| Sound in seawater | about 1500 m/s | depends on temperature, salinity and depth |
| Ultrasound in soft tissue | 1540 m/s | standard value used by scanners |
| Sound in steel (longitudinal) | about 5960 m/s | varies by alloy |
12.5 Common frequencies and their wavelengths
| Source | Frequency | Wavelength | Photon energy |
|---|---|---|---|
| Long-wave radio | 198 kHz | 1.51 km | 8.19 × 10⁻¹⁰ eV |
| AM radio | 1.00 MHz | 300 m | 4.14 neV |
| FM radio | 98.10 MHz | 3.06 m | 406 neV |
| ISM remote keys | 433.9 MHz | 691 mm | 1.79 μeV |
| GPS L1 | 1.575 GHz | 190 mm | 6.52 μeV |
| Wi-Fi 2.4 GHz | 2.400 GHz | 125 mm | 9.93 μeV |
| Microwave oven | 2.450 GHz | 122 mm | 10.1 μeV |
| Wi-Fi 5.8 GHz | 5.800 GHz | 51.7 mm | 24.0 μeV |
| 5G mmWave | 28.00 GHz | 10.7 mm | 116 μeV |
| Telecom laser | 193.4 THz | 1.55 μm | 800 meV |
| Red laser (HeNe) | 473.8 THz | 633 nm | 1.96 eV |
| Green laser | 563.5 THz | 532 nm | 2.33 eV |
| Blue-violet laser | 740.2 THz | 405 nm | 3.06 eV |
| Copper Kα X-ray | 1.946 EHz | 154 pm | 8.05 keV |
| Lowest audible sound (air, 20 °C) | 20.0 Hz | 17.2 m | not EM |
| Concert A (air, 20 °C) | 440 Hz | 780 mm | not EM |
| Highest audible sound (air) | 20.0 kHz | 17.2 mm | not EM |
| Ultrasound 5 MHz in tissue | 5.000 MHz | 308 μm | not EM |
12.6 de Broglie wavelength of an electron
| Accelerating voltage | λ (relativistic) | λ (non-relativistic) | Error of the simple formula | v/c |
|---|---|---|---|---|
| 54 V | 166.9 pm | 166.9 pm | 0.00% | 0.015 |
| 100 V | 122.6 pm | 122.6 pm | 0.00% | 0.020 |
| 1 000 V | 38.76 pm | 38.78 pm | 0.05% | 0.062 |
| 10 000 V | 12.20 pm | 12.26 pm | 0.49% | 0.195 |
| 100 000 V | 3.701 pm | 3.878 pm | 4.78% | 0.548 |
| 200 000 V | 2.508 pm | 2.742 pm | 9.35% | 0.695 |
| 300 000 V | 1.969 pm | 2.239 pm | 13.73% | 0.777 |
12.7 Unit prefixes for wavelength and frequency
| Prefix | Factor | Length example | Frequency example |
|---|---|---|---|
| pico (p) | 10⁻¹² | 1 pm = 10⁻¹² m (X-rays, electrons) | – |
| ångström (Å) | 10⁻¹⁰ | 1 Å = 0.1 nm (crystal spacings) | – |
| nano (n) | 10⁻⁹ | 1 nm (light, UV) | – |
| micro (μ) | 10⁻⁶ | 1 μm (infrared) | – |
| milli (m) | 10⁻³ | 1 mm (microwaves, ultrasound) | – |
| kilo (k) | 10³ | 1 km (long-wave radio) | 1 kHz |
| mega (M) | 10⁶ | – | 1 MHz (AM, FM radio) |
| giga (G) | 10⁹ | – | 1 GHz (Wi-Fi, phones) |
| tera (T) | 10¹² | – | 1 THz (far infrared) |
| peta (P) | 10¹⁵ | – | 1 PHz (ultraviolet) |
📈 13. Example Results
Frequency of a red laser pointer
The classic light question: wavelength in nm, answer in hertz.
A red helium-neon laser emits light of wavelength 633 nm in vacuum. Find its frequency and photon energy.
| Quantity | Value |
|---|---|
| f = c/λ | 299 792 458 ÷ 633 × 10⁻⁹ = 4.74 × 10¹⁴ Hz |
| Photon energy | 1239.84 ÷ 633 = 1.96 eV |
| Period | 2.11 × 10⁻¹⁵ s |
What it means: About 474 million million crests pass every second; each photon carries 1.96 eV.
How to write it: f = 4.74 × 10¹⁴ Hz (3 s.f.).
Speed of sound from a measured wavelength
The examiner gives f and λ and asks for the speed.
A 440 Hz tuning fork sets up a sound wave of wavelength 0.780 m. Find the speed of sound.
| Quantity | Value |
|---|---|
| v = fλ | 440 × 0.780 = 343.2 m/s |
| Rounded (3 s.f.) | 343 m/s |
| Air temperature implied | about 20 °C |
What it means: This is the textbook speed of sound in air at about 20 °C.
How to write it: v = 343 m/s.
Wi-Fi wavelength in inches
Antenna builders in the US work in inches.
Find the wavelength of 2.4 GHz Wi-Fi in inches, and the length of a quarter-wave antenna.
| Quantity | Value |
|---|---|
| λ = c/f | 0.1249 m = 12.49 cm |
| In inches | 4.918 in |
| Quarter wave | 1.229 in |
What it means: A Wi-Fi wavelength is about the width of a hand.
How to write it: λ = 4.9 in (2 s.f., matching 2.4 GHz); λ/4 = 1.2 in.
Middle C on a piano
Sound wavelengths are human-sized.
Middle C has a frequency of 261.63 Hz. Find its wavelength in air at 20 °C.
| Quantity | Value |
|---|---|
| v = 331.3√(1 + 20/273.15) | 343.2 m/s |
| λ = v/f | 343.21 ÷ 261.63 = 1.312 m |
| Closed pipe length (λ/4) | 0.328 m |
What it means: Middle C spans a little over a metre, so it bends easily around people, doors and furniture.
How to write it: λ = 1.312 m (4 s.f.).
Electron in a 200 kV microscope
Tiny wavelength, so atoms become visible.
A transmission electron microscope accelerates electrons through 200 kV. Find the de Broglie wavelength.
| Quantity | Value |
|---|---|
| Relativistic λ | 2.508 pm |
| Simple formula h/√(2meV) | 2.742 pm |
| Error of the simple formula | 9.3% |
What it means: At 0.70c the electron is relativistic, and the simple formula is 9% too long.
How to write it: λ = 2.51 pm (relativistic).
Light entering water
The trap that catches most students: what changes?
Green light of 532 nm (vacuum) enters water, n = 1.333. Find its wavelength and frequency in water.
| Quantity | Value |
|---|---|
| Frequency (both) | 563 THz |
| λ in water = λ₀/n | 532 ÷ 1.333 = 399 nm |
| Speed in water | 2.25 × 10⁸ m/s |
What it means: The colour you see does not change, because colour follows frequency.
How to write it: λ = 399 nm in water, f = 5.64 × 10¹⁴ Hz.
Ocean swell: deep vs shallow water
Where the simple deep-water formula fails.
Ocean swell has a period of 10 s. Find its wavelength in deep water, then in water 5 m deep near a beach.
| Quantity | Value |
|---|---|
| Deep water, λ = gT²/2π | 156.1 m |
| Shallow water, λ = T√(gd) | 70.0 m |
| Deep-water formula valid when | depth more than about 78 m |
What it means: Near the shore the waves slow and bunch up, so the deep-water value is 2.2 times too long.
How to write it: λ = 156 m in deep water; the deep-water model does not apply at 5 m depth.
Coax quarter-wave stub without the velocity factor
A common radio-build mistake.
A 433.92 MHz quarter-wave stub is cut from coax with VF = 0.66. A student uses the free-space wavelength.
| Quantity | Value |
|---|---|
| Free-space λ/4 | 17.27 cm |
| In coax, VF × λ/4 | 11.40 cm |
| Error if VF is ignored | 52% too long |
What it means: Ignoring the velocity factor makes the stub resonate at the wrong frequency.
How to write it: λ/4 = 11.4 cm in VF 0.66 coax.
✏️ 14. How to Solve Wavelength Problems by Hand, Step by Step
This is the written method examiners expect, worked on the same example as Sections 7, 9, 10 and 11: an FM station broadcasts at 98.1 MHz. Find its wavelength in vacuum and the length of a quarter-wave antenna.
14.1 The written method (GRESS)
- Given. f = 98.1 MHz = 98.1 × 10⁶ Hz = 9.81 × 10⁷ Hz; v = c = 3.00 × 10⁸ m/s (or 299 792 458 m/s).
- Required. λ (m) and λ/4 (m).
- Equation. v = fλ, so λ = v/f.
- Substitute, with units. λ = (2.998 × 10⁸ m/s) ÷ (9.81 × 10⁷ Hz).
- Solve. λ = 3.056 m; λ/4 = 0.764 m.
- Check the units and the size. (m/s) ÷ (1/s) = m. Estimate: 300 ÷ 98 ≈ 3. Both agree.
- Write the answer with units and significant figures. λ = 3.06 m and λ/4 = 0.764 m (3 significant figures, matching 98.1).
14.2 On a scientific calculator
| Calculator | Keys | What you see |
|---|---|---|
| Any scientific calculator | 299792458 ÷ 98.1 ×10ˣ 6 = | 3.055988359 |
| Any scientific calculator | Ans ÷ 4 = | 0.7639970897 |
| Photon, eV to nm | 1239.84 ÷ 2 = | 619.92 |
| Electron at 100 V | 1.226 ÷ √ 100 = | 0.1226 (nm) |
The power-of-ten key is labelled ×10ˣ on Casio models and EE or ×10ⁿ on many Texas Instruments models. Typing 299792458 ÷ 98.1 × 10 ^ 6 without brackets divides by 98.1 and then multiplies by 10⁶, which is wrong; use the ×10ˣ key or brackets. Built-in constant menus (CONST) differ between models, so check your manual before using them in an exam.
14.3 Measure it yourself: a school lab practical
Wavelength of sound with a resonance tube
- Stand a long glass or plastic tube in a tall jar of water, so the length of the air column above the water can be changed by raising the tube.
- Strike a tuning fork (for example 512 Hz) and hold it just above the open end.
- Raise the tube slowly from the water. Mark the first length L₁ where the sound is loudest (first resonance, about λ/4).
- Keep raising it to find the second loud point L₂ (about 3λ/4). Then λ = 2(L₂ − L₁); the unknown end correction cancels.
- Repeat with 3 forks and record each in the table. Phone apps such as phyphox can replace the fork with a tone generator (Staacks et al., 2018).
| f (Hz) | L₁ (m) | L₂ (m) | λ = 2(L₂ − L₁) (m) | v = fλ (m/s) |
|---|---|---|---|---|
| 384 | 0.212 | 0.659 | 0.894 | 343 |
| 512 | 0.157 | 0.492 | 0.670 | 343 |
| 640 | 0.123 | 0.391 | 0.536 | 343 |
Graph: plot λ (y) against 1/f (x). The points lie on a straight line through the origin whose gradient is the speed of sound, here about 343 m/s at 20 °C. To check one row in the calculator, choose "Wave speed v", type 0.670 in a group box in m, and set the frequency to 512 Hz.
Main errors: judging the loudest point by ear (repeat and average), room temperature changing v, and a wide tube making the end correction larger (using L₂ − L₁ removes it). A smartphone version of Kundt’s tube gives similar results (Parolin & Pezzi, 2015).
14.4 Practice problems with answers
1. A 600 Hz sound travels at 343 m/s in air. Find λ.
λ = 343 ÷ 600 = 0.572 m.
2. An AM station broadcasts at 1.5 MHz. Find its wavelength.
λ = 3.00 × 10⁸ ÷ 1.5 × 10⁶ = 2.0 × 10² m (200 m).
3. Green light has λ = 500 nm. Find its frequency.
f = 2.998 × 10⁸ ÷ 500 × 10⁻⁹ = 6.00 × 10¹⁴ Hz.
4. A photon has an energy of 3.0 eV. Find its wavelength.
λ = 1239.84 ÷ 3.0 = 413 nm, which is 4.1 × 10² nm to 2 s.f. (violet).
5. A wave on a string has v = 12 m/s and λ = 0.40 m. Find f.
f = 12 ÷ 0.40 = 30 Hz.
6. A phone uses 1800 MHz. Find λ in centimetres.
λ = 2.998 × 10⁸ ÷ 1.8 × 10⁹ = 0.167 m = 16.7 cm (17 cm to 2 s.f.).
7. Non-SI: sound travels at 1125 ft/s. Find λ of a 5.0 kHz tone in feet.
λ = 1125 ÷ 5000 = 0.23 ft (0.225 ft, about 6.9 cm).
8. An electron is accelerated through 150 V. Find its de Broglie wavelength.
λ ≈ 1.226 ÷ √150 = 0.100 nm.
9. A student writes T = −300 °C for a gas and asks for λmax. What is wrong?
Not physical. −300 °C is below absolute zero (−273.15 °C). No real object can have that temperature.
10. Trap: 600 nm light enters glass (n = 1.50). Find its new frequency and wavelength.
Frequency is unchanged, 5.00 × 10¹⁴ Hz. Wavelength falls to 600 ÷ 1.50 = 400 nm.
14.5 Mistakes that lose marks
- Dividing by 98.1 instead of 98.1 × 10⁶ (forgetting MHz).
- Writing nm as 10⁻⁶ m (that is μm); 1 nm = 10⁻⁹ m.
- Using c for sound waves, or 343 m/s for light.
- Saying the frequency changes when light enters water. Only the speed and wavelength change.
- Using °C in Wien’s law instead of kelvin.
- Using E = hf with E in eV but h in J s, which gives an answer 1.6 × 10⁻¹⁹ times wrong.
- Giving 8 significant figures from data with 3.
- Leaving out the unit, or writing "3.06" with no m.
✅ 15. When to Use This Equation
Use λ = v/f when
- The wave has one clear frequency (a radio carrier, a laser, a tuning fork).
- You know the wave speed in that medium, or it is light or radio in vacuum or air.
- The medium is not dispersive, or you know v at that frequency.
- You need antenna, pipe, string or cable lengths (λ/2, λ/4).
Use something else when
- You know a photon’s energy, not its frequency: λ = hc/E.
- It is a moving particle with mass: λ = h/p (de Broglie).
- You want the peak of thermal radiation: λmax = b/T.
- Water waves in shallow water: v = √(gd), then λ = vT.
- A guided wave in a hollow metal waveguide: the guide wavelength is longer than the free-space one and needs the cut-off frequency.
Four real examples
- Ham radio: cutting a 2 m band dipole at 146 MHz: λ/2 = 1.03 m before end-effect shortening.
- Chemistry: a hydrogen emission line at 656.3 nm has a photon energy of 1.89 eV.
- Music: a bass note of 41.2 Hz in a room at 20 °C is 8.33 m long, longer than most rooms.
- Medicine: a 7.5 MHz ultrasound probe in tissue has λ = 0.205 mm, which sets its fine detail limit.
Decision tree
- Is it light, radio or another electromagnetic wave? If you know f, use λ = v/f with v = c/n. If you know E, use λ = hc/E.
- Is it a particle with mass (electron, neutron, proton)? Use λ = h/p, and the relativistic momentum above about 10 kV for electrons.
- Is it sound? Find v from the medium and temperature, then λ = v/f.
- Is it a water wave? Deep water: λ = gT²/2π. Shallow water: λ = T√(gd).
- Is it thermal glow from a hot object? Use λmax = b/T with T in kelvin.
🔧 16. Common Mistakes and Troubleshooting
My answer is a million times too big
Cause: the frequency was entered in MHz but treated as Hz. Fix: pick MHz in the unit box, or multiply by 10⁶ before dividing.
My wavelength is 1000 times off for light
Cause: nm and μm mixed up. 1 nm = 10⁻⁹ m, 1 μm = 10⁻⁶ m. Fix: visible light must come out between 380 and 750 nm.
My sound wavelength is a million times too large
Cause: the medium is still "vacuum", so c was used for sound. Fix: choose sound in air and set the temperature.
The book answer differs in the third digit
Cause: the book used c = 3.00 × 10⁸ m/s, 340 m/s for sound, or hc = 1240 eV nm. Fix: use the same constant as the question, or round to 2 significant figures.
The calculator says "not physical"
Cause: a zero or negative frequency, wavelength or energy, a temperature at or below 0 K, or a particle speed at or above c. Fix: check the sign and the unit; frequency, wavelength and absolute temperature are always positive.
My antenna made from the calculated length is out of tune
Cause: real antennas resonate a few percent shorter than the free-space λ/2 or λ/4. Fix: cut slightly long and trim, or apply a factor of about 0.95; inside coax use the cable’s velocity factor.
My electron wavelength disagrees with the 1.226/√V shortcut
Cause: above a few kilovolts the electron is relativistic and the shortcut overestimates λ (by 4.9% at 100 kV). Fix: use the relativistic value in the table.
Excel shows #VALUE! or #N/A
Cause: text such as "98.1 MHz" in a number cell, or a misspelt CONVERT unit. Fix: keep only the number in the cell and the unit in the header.
My CSV upload shows no columns
Cause: the cells contain units or commas as decimal separators (3,06). Fix: save numbers only, with a full stop as the decimal point.
Wien’s law gives a strange answer for the Sun
Cause: temperature typed in °C with the unit left on K, or vice versa. Fix: the Sun’s surface is about 5772 K, which gives 502 nm.
⚠️ 17. Assumptions and Limitations
Assumptions
- A single frequency. v = fλ describes one pure tone or carrier. A pulse contains many frequencies; the calculator gives the wavelength of the centre frequency only.
- Known, constant wave speed. If the real medium is warmer than you set (sound), v and λ are underestimated by about 0.17% per °C.
- Refractive index fixed. n changes with wavelength (dispersion). Using n at 589 nm for blue light slightly overestimates the in-glass wavelength, because n is larger for blue.
- Ideal blackbody for Wien. Real surfaces have emissivity below 1. That lowers the brightness but barely moves the peak, so λmax stays close to b/T.
- Deep water for ocean waves. When depth is less than about λ/2, the deep-water formula overestimates the wavelength; in very shallow water the true λ is T√(gd).
- Free-space antenna lengths. Real antennas resonate 2 to 5% shorter, so the calculated λ/2 and λ/4 overestimate the cut length.
- Constants. c, h and e are exact; electron and proton masses are CODATA 2022 values. Since 2019 the vacuum permeability is not exactly 4π × 10⁻⁷ N/A², which affects answers only in the tenth significant figure.
Limitations
- Waveguides and fibres have a guide wavelength that differs from v/f; use a waveguide calculator with the cut-off frequency.
- Doppler shift is not included: a moving source changes the observed frequency and wavelength. Use a Doppler effect calculator.
- Humidity and pressure are not included in the sound-speed formula; humid air is slightly faster (Cramer, 1993).
- Air wavelengths for light use one n = 1.000293; precision spectroscopy uses the Edlén or Ciddor equations with temperature, pressure and humidity.
- Colour names are approximate and do not model human colour vision.
🏁 18. Conclusion
___ Press Calculate to add a summary of your own values here.
What the answer is
A wavelength calculator turns a frequency, a photon energy, a particle’s energy or a temperature into a length in metres. The core relation is v = fλ: divide the wave speed by the frequency. The headline example, an FM station at 98.1 MHz, gives 3.06 m, with a half-wave dipole of 1.53 m and a quarter-wave antenna of 0.764 m.
What it means physically
Wavelength is the spacing of the repeating pattern. It sets the colour of light, the size of an antenna, how sound bends round a doorway, the detail an ultrasound scan can resolve, and whether an electron beam can see an atom. Frequency belongs to the source and never changes between media; the wavelength shrinks when the wave slows down.
Watch out for
Most wrong answers come from prefixes (MHz, nm, μm), from using the speed of light for sound, from °C in Wien’s law, and from E in eV mixed with h in J s. The units check and the substitution check on every answer catch these before you write them down.
Next steps
Use the photon energy, the wavelength or the speed you found in the next problem: diffraction angles, standing waves, the photoelectric effect or kinetic energy. The related tools in Section 21 take you there. Bookmark this wavelength calculator for any wave, from radio to electrons.
❓ 19. Frequently Asked Questions
How do you calculate wavelength?
Divide the wave speed by the frequency: λ = v/f. For a 98.1 MHz radio wave, λ = 299 792 458 m/s ÷ 98 100 000 Hz = 3.06 m. Convert the frequency to hertz first so the answer comes out in metres.
What is the formula for wavelength?
The formula for wavelength is λ = v/f, from the wave equation v = fλ. For photons λ = hc/E, for particles λ = h/p, and for the peak of thermal radiation λmax = b/T.
How do you convert frequency to wavelength?
Divide the wave speed by the frequency in hertz. For radio waves, a quick version is λ in metres = 300 ÷ f in MHz, so 150 MHz is 2.00 m. For sound in air at 20 °C, divide 343 m/s by the frequency.
How do you convert wavelength to frequency?
Divide the wave speed by the wavelength in metres: f = v/λ. Red laser light at 633 nm has f = 299 792 458 ÷ 633 × 10⁻⁹ = 4.74 × 10¹⁴ Hz (474 THz).
What is the relationship between wavelength and frequency?
Wavelength and frequency are inversely proportional at a fixed wave speed: double the frequency and the wavelength halves. Their product is always the wave speed, v = fλ.
What is the SI unit of wavelength?
The SI unit of wavelength is the metre (m). Light is usually given in nanometres (1 nm = 10⁻⁹ m), infrared in micrometres, and X-rays and electron waves in picometres or ångströms (1 Å = 0.1 nm).
How do you find wavelength from energy?
Use λ = hc/E, with E in joules per photon. With E in electronvolts the shortcut is λ in nm = 1239.84 ÷ E, so a 2.00 eV photon has λ = 620 nm. Divide kJ/mol values by Avogadro’s number first, or use λ in nm = 119 627 ÷ E in kJ/mol.
How do you convert eV to nm?
Divide 1239.84 by the energy in eV: λ(nm) = 1239.84 / E(eV). For example, 1.42 eV (the band gap of GaAs) gives 873 nm, in the near infrared.
How do you convert wavenumber to wavelength?
Wavelength is the reciprocal of wavenumber. With the wavenumber in cm⁻¹, λ in μm = 10 000 ÷ wavenumber, so a 1715 cm⁻¹ carbonyl band is at 5.83 μm.
How do you calculate the wavelength of sound?
Divide the speed of sound by the frequency. In dry air at 20 °C the speed is 343.2 m/s, so concert A at 440 Hz has λ = 0.780 m. The speed rises by about 0.6 m/s for each °C warmer.
Does wavelength change when light enters water or glass?
Yes, the wavelength gets shorter by the refractive index, but the frequency stays the same. Green light of 532 nm in vacuum is 399 nm in water (n = 1.333) and 350 nm in glass (n = 1.52).
How do you calculate the de Broglie wavelength of an electron?
Use λ = h/p, where p is the electron’s momentum. For an electron accelerated through V volts at low voltage, λ in nm ≈ 1.226 ÷ √V, so 100 V gives 0.123 nm. Above about 10 kV use the relativistic momentum, as this calculator does.
How do you calculate half wavelength and quarter wavelength for an antenna?
Find λ = c/f, then divide by 2 or 4. At 433.92 MHz, λ = 0.691 m, so a half-wave dipole is about 0.345 m and a quarter-wave whip about 0.173 m, trimmed a few percent shorter in practice.
What is velocity factor and how does it change wavelength in coax?
Velocity factor (VF) is the wave speed in a cable as a fraction of c. A wavelength inside coax is VF times the free-space wavelength, so a 433.92 MHz quarter-wave stub in VF 0.66 cable is 11.4 cm instead of 17.3 cm.
How do you find the peak wavelength from temperature?
Use Wien’s displacement law, λmax = b/T with b = 2.898 × 10⁻³ m K and T in kelvin. The Sun at 5772 K peaks at 502 nm, and the human body at 310 K peaks near 9.35 μm in the infrared.
What colour is a wavelength of 550 nm?
A wavelength of 550 nm looks green, close to the peak of human daytime vision. Roughly, 380 to 450 nm is violet, 450 to 485 nm blue, 500 to 565 nm green, 565 to 590 nm yellow, 590 to 625 nm orange and 625 to 750 nm red.
How do you calculate wavelength in Excel?
Put the frequency in Hz in a cell and divide the speed of light by it, for example =299792458/B2. For a frequency in MHz use =299792458/(B2*10^6), which returns 3.056 for 98.1 MHz. Section 9 shows the whole sheet.
How do you calculate wavelength in Python?
Import c from scipy.constants and divide: lam = c / f with f in Hz. NumPy arrays let you do a whole list at once, and f"{lam:#.3g}" prints 3 significant figures. Section 11 has a complete script.
How do you calculate wavelength in R?
Divide 299792458 by the frequency in Hz, for example 299792458 / 98.1e6, which prints 3.055988. Use signif(x, 3) to round. Section 10 has a full base-R script with a 300 dpi plot.
How do you calculate wavelength on a scientific calculator?
Type the speed, divide, then type the frequency using the power-of-ten key: 299792458 ÷ 98.1 ×10ˣ 6 = gives 3.055988359. The key is labelled ×10ˣ on Casio models and EE on many Texas Instruments models.
📑 20. Cite This Tool
Pushbanathan, R. (2026). Wavelength calculator [Interactive physics tool]. StatsUnlock. https://statsunlock.com/wavelength-calculator/ (accessed November 24, 2026)@misc{statsunlock_wavelength_2026, author={Pushbanathan, Reegan}, title={Wavelength Calculator}, year={2026}, publisher={StatsUnlock}, note={Interactive physics tool, accessed 2026-11-24}, url={https://statsunlock.com/wavelength-calculator/}}Wavelengths were calculated from frequency using the wave equation, lambda = v / f, with c = 299 792 458 m/s and h = 6.62607015e-34 J s (CODATA 2022, exact), using the StatsUnlock Wavelength Calculator (Pushbanathan, 2026). Results were reported to the number of significant figures in the input data.📖 22. Glossary of Terms
| Term | Plain-English meaning | SI unit |
|---|---|---|
| Amplitude | The height of the wave from the centre line. It does not affect wavelength. | depends on the wave (m for water) |
| Angular frequency (ω) | 2π times the frequency. | rad/s |
| Band gap | The energy a semiconductor needs to emit or absorb a photon; sets an LED’s colour. | J (usually eV) |
| Blackbody | An ideal object that absorbs all light and glows with a spectrum set only by its temperature. | – |
| Crest | The highest point of a wave. | – |
| de Broglie wavelength | The wavelength of a moving particle, λ = h/p. | m |
| Dispersion | When the wave speed depends on frequency, as in glass or deep water. | – |
| Electromagnetic wave | Light, radio, X-rays and so on; travels at c in vacuum. | – |
| Electronvolt (eV) | The energy gained by one electron crossing 1 V; 1.602176634 × 10⁻¹⁹ J. | J |
| Frequency (f) | How many cycles pass a point each second. | Hz |
| Hertz (Hz) | One cycle per second. | 1/s |
| Medium | The material a wave travels through. | – |
| Momentum (p) | Mass times velocity (relativistic at high speed). | kg m/s |
| Nanometre (nm) | One billionth of a metre; the usual unit for light. | 10⁻⁹ m |
| Period (T) | The time for one complete cycle, 1/f. | s |
| Photon | A packet of electromagnetic energy, E = hf. | – |
| Planck constant (h) | Links a photon’s energy to its frequency; exact. | J s |
| Refractive index (n) | How many times slower light travels in a material than in vacuum. | no unit |
| Speed of light (c) | 299 792 458 m/s in vacuum, exact. | m/s |
| Trough | The lowest point of a wave. | – |
| Velocity factor (VF) | Wave speed in a cable as a fraction of c. | no unit |
| Wave speed (v) | How fast the wave pattern travels, v = fλ. | m/s |
| Wavelength (λ) | The distance between two matching points on a wave, such as two crests. | m |
| Wavenumber | The number of waves per unit length, 1/λ (spectroscopy uses cm⁻¹). | m⁻¹ |
| Wien’s law | The peak wavelength of a blackbody equals b/T. | m |
📚 23. References
Peer-reviewed sources for the constants, equations, wave speeds and teaching methods used in this wavelength calculator. Every DOI was checked against Crossref on November 24, 2026.
- Mohr, P. J., Newell, D. B., Taylor, B. N., & Tiesinga, E. (2025). CODATA recommended values of the fundamental physical constants: 2022. Reviews of Modern Physics, 97(2), 025002. https://doi.org/10.1103/RevModPhys.97.025002
- Young, T. (1804). The Bakerian Lecture: Experiments and calculations relative to physical optics. Philosophical Transactions of the Royal Society of London, 94, 1–16. https://doi.org/10.1098/rstl.1804.0001
- Planck, M. (1901). Ueber das Gesetz der Energieverteilung im Normalspectrum. Annalen der Physik, 309(3), 553–563. https://doi.org/10.1002/andp.19013090310
- Einstein, A. (1905). Über einen die Erzeugung und Verwandlung des Lichtes betreffenden heuristischen Gesichtspunkt. Annalen der Physik, 322(6), 132–148. https://doi.org/10.1002/andp.19053220607
- Millikan, R. A. (1916). A direct photoelectric determination of Planck’s “h”. Physical Review, 7(3), 355–388. https://doi.org/10.1103/PhysRev.7.355
- Compton, A. H. (1923). A quantum theory of the scattering of X-rays by light elements. Physical Review, 21(5), 483–502. https://doi.org/10.1103/PhysRev.21.483
- de Broglie, L. (1924). A tentative theory of light quanta. The London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science, 47(278), 446–458. https://doi.org/10.1080/14786442408634378
- Davisson, C., & Germer, L. H. (1927). Diffraction of electrons by a crystal of nickel. Physical Review, 30(6), 705–740. https://doi.org/10.1103/PhysRev.30.705
- Thomson, G. P., & Reid, A. (1927). Diffraction of cathode rays by a thin film. Nature, 119(3007), 890. https://doi.org/10.1038/119890a0
- Edlén, B. (1966). The refractive index of air. Metrologia, 2(2), 71–80. https://doi.org/10.1088/0026-1394/2/2/002
- Ciddor, P. E. (1996). Refractive index of air: New equations for the visible and near infrared. Applied Optics, 35(9), 1566–1573. https://doi.org/10.1364/AO.35.001566
- Daimon, M., & Masumura, A. (2007). Measurement of the refractive index of distilled water from the near-infrared region to the ultraviolet region. Applied Optics, 46(18), 3811–3820. https://doi.org/10.1364/AO.46.003811
- Cramer, O. (1993). The variation of the specific heat ratio and the speed of sound in air with temperature, pressure, humidity, and CO₂ concentration. The Journal of the Acoustical Society of America, 93(5), 2510–2516. https://doi.org/10.1121/1.405827
- Del Grosso, V. A., & Mader, C. W. (1972). Speed of sound in pure water. The Journal of the Acoustical Society of America, 52(5B), 1442–1446. https://doi.org/10.1121/1.1913258
- Smith, T., & Guild, J. (1931). The C.I.E. colorimetric standards and their use. Transactions of the Optical Society, 33(3), 73–134. https://doi.org/10.1088/1475-4878/33/3/301
- Stockman, A., & Sharpe, L. T. (2000). The spectral sensitivities of the middle- and long-wavelength-sensitive cones derived from measurements in observers of known genotype. Vision Research, 40(13), 1711–1737. https://doi.org/10.1016/S0042-6989(00)00021-3
- Wittmann, M. C., Steinberg, R. N., & Redish, E. F. (1999). Making sense of how students make sense of mechanical waves. The Physics Teacher, 37(1), 15–21. https://doi.org/10.1119/1.880142
- Hestenes, D., Wells, M., & Swackhamer, G. (1992). Force concept inventory. The Physics Teacher, 30(3), 141–158. https://doi.org/10.1119/1.2343497
- Staacks, S., Hütz, S., Heinke, H., & Stampfer, C. (2018). Advanced tools for smartphone-based experiments: phyphox. Physics Education, 53(4), 045009. https://doi.org/10.1088/1361-6552/aac05e
- Parolin, S. O., & Pezzi, G. (2015). Kundt’s tube experiment using smartphones. Physics Education, 50(4), 443–447. https://doi.org/10.1088/0031-9120/50/4/443





