How to calculate wavelength and frequency

Compute wavelength λ and frequency f of waves with λ·f = v. Light in vacuum c=3·10⁸ m/s, sound in air 343 m/s. EM spectrum, photon energy E=hf, period T=1/f. Maxwell, Planck.

Calculation parameters
Was this calculator useful?

How to calculate wavelength and frequency: the universal wave relation is λ·f = v, where λ is wavelength in meters, f frequency in Hz, v propagation speed in the medium. For light in vacuum v = c = 299,792,458 m/s; sound in air at 20°C v = 343 m/s; in water v_light = 225·10⁶ m/s, v_sound = 1482 m/s. Photon energy is E = h·f.

Formula and parameters

The equation λ·f = v expresses a universal wave property: propagation speed equals distance between consecutive crests (wavelength) times complete cycles per unit time (frequency). Period T = 1/f, angular frequency ω = 2π·f. For electromagnetic photons E = h·f = h·c/λ with h = 6.626·10⁻³⁴ J·s (Planck constant). Visible spectrum: 380-750 nm (430-790 THz). Human audible: 20 Hz - 20 kHz. Light in materials slows: v = c/n with n refractive index (water 1.33; glass 1.5; diamond 2.42).

History and context

Christiaan Huygens proposed wave theory of light in 1690. Thomas Young (1801) confirmed wave nature with double-slit experiment. James Clerk Maxwell (1865) unified electricity and magnetism deriving electromagnetic wave equations with speed c. Heinrich Hertz (1887) generated and detected radio waves. Max Planck (1900) introduced E=hf for blackbody radiation. Albert Einstein (1905) used same formula for photoelectric effect (Nobel 1921). Today λ·f=v underlies radio astronomy, 5G telecom, GPS, fiber optics, medical NMR, spectroscopy.

Electromagnetic spectrum table

  • Radio waves: λ > 1 m, f < 300 MHz (AM 530-1700 kHz, FM 88-108 MHz)
  • Microwaves: 1 mm-1 m, 300 MHz-300 GHz (WiFi 2.4/5 GHz, 5G 24-71 GHz)
  • Infrared: 700 nm-1 mm, 300 GHz-430 THz (remotes, thermography)
  • Visible red: 700 nm, 430 THz
  • Visible green: 550 nm, 545 THz (peak eye sensitivity)
  • Visible violet: 380 nm, 790 THz
  • UV: 10-380 nm, 790 THz-30 PHz (UV-A, UV-B, UV-C)
  • X-rays: 0.01-10 nm, 30 PHz-30 EHz (medical imaging)
  • Gamma rays: 30 EHz (radiotherapy, nuclear decay)

Worked numerical examples

Example 1 — green visible light. λ = 550 nm. v = c. f = 545 THz. Period T = 1.83 fs. Photon energy E = 2.25 eV. Maximum eye sensitivity (V(λ) curve).

Example 2 — FM radio. f = 100 MHz. λ = 3 m. Period T = 10 ns. Dipole antennas are λ/2 = 1.5 m long. FCC regulates US FM band 88.0-108.0 MHz. Yagi-Uda antennas common.

Example 3 — A 440 musical. f = 440 Hz (concert pitch ISO 16). v_air = 343 m/s at 20°C. λ = 0.78 m. Period T = 2.27 ms. Piano "A4" reference and tuning fork.

Example 4 — WiFi 2.4 GHz. f = 2.4·10⁹ Hz. λ = 12.5 cm. PCB antennas typically λ/4 = 3.1 cm. Good wall penetration but interference with microwave ovens at 2.45 GHz. 5G mid-band 3.5 GHz: λ = 8.6 cm; 5G mmWave 28 GHz: λ = 1.07 cm.

Example 5 — medical X-rays. λ = 0.1 nm. f = 3·10¹⁸ Hz. Photon energy E = 12.4 keV. Sufficient to penetrate soft tissue but absorbed by bone: radiological contrast. Average chest X-ray dose 0.1 mSv (CDC, FDA).

Model limitations

  1. For non-monochromatic waves (white light, noise) λ and f are distributed, need spectral analysis (Fourier).
  2. In dispersive media v depends on f (prisms separate colors): v_phase ≠ v_group.
  3. For gravitational waves formula holds but c is universally the same (LIGO/Virgo 2015 confirmed).
  4. In quantum mechanics particles have de Broglie wavelength λ = h/p.
  5. For waves on string v depends on tension T and linear density μ: v = √(T/μ).
  6. Doppler effect alters observed f in relative motion (relativistic for v→c).
  7. For nonlinear waves (tsunamis, solitons) speed depends on amplitude.
  8. Single-frequency waves idealization: real wave packets are localized in space.

Common errors

  1. Confusing frequency f (Hz) with angular frequency ω (rad/s): ω = 2π·f.
  2. Using v = c for light in materials: need v = c/n with n refractive index.
  3. Confusing vacuum wavelength with medium wavelength (frequency unchanged, λ changes).
  4. Inconsistent units: λ in nm and f in Hz needs careful conversion.
  5. For acoustic waves assuming v = 343 m/s at different temperatures (T-dependent: v = 331·√(1+T/273)).
  6. Confusing period T with angular frequency ω or propagation time.
  7. Photon energy in eV vs J: 1 eV = 1.602·10⁻¹⁹ J.
  8. Applying λ·f = v to nonlinear waves or dispersive packets.

Practical applications

  1. Telecommunications: AM/FM radio, digital TV, 4G/5G, WiFi, Bluetooth.
  2. GPS: 1.575 GHz and 1.227 GHz, λ ~19 cm.
  3. Astronomy: radio astronomy (VLA, ALMA), space telescopes (Hubble, JWST 0.6-28 µm).
  4. Medicine: NMR (1H at 600 MHz), X-ray (12-150 keV), CT, scintigraphy.
  5. Architectural acoustics: hall design, soundproofing.
  6. Spectroscopy: UV-Vis, IR, Raman, NMR for compound identification.
  7. Fiber optics: 1310 and 1550 nm (low loss), global Internet backbone.
  8. Microwave ovens: 2.45 GHz (water absorption).
  9. Material identification: absorption spectrum, fluorescence, RAMAN.
  10. Seismology: P waves (5-8 km/s) and S waves (3-4 km/s) for Earth interior imaging.

Support

Questions: info@calcoi.com. Educational tool for λ·f = v calculation. For telecommunications and spectroscopy applications consult international standards (ITU-R, IEEE, IEC).

Updated July 2026

Frequently Asked Questions

What is the relationship between wavelength and frequency?

It is the universal wave relation: wavelength times frequency equals speed, lambda f = v. For light in vacuum v is the speed of light c, about 3 x 10^8 m/s; for sound in air it is 343 m/s. At a given speed, wavelength and frequency are inversely proportional.

How do you compute frequency from wavelength?

You divide the wave speed by the wavelength: f = v/lambda. For example, for visible light of 500 nm in vacuum, f = 3 x 10^8 / 5 x 10^-7 = 6 x 10^14 Hz. Conversely, the wavelength is lambda = v/f. The calculator accepts either one and derives the other.

How does the speed change in different media?

In vacuum light travels at c; in a medium it slows to v = c/n, where n is the refractive index. In water it is about 2.25 x 10^8 m/s (n = 1.33), in glass 2 x 10^8 (n = 1.5), in diamond 1.24 x 10^8 (n = 2.42). Sound instead travels at 343 m/s in air, 1482 in water, 5960 in steel.

What is the period of a wave?

It is the time needed for one complete oscillation, equal to the inverse of the frequency: T = 1/f. It is measured in seconds. A high frequency corresponds to a short period. The angular frequency, omega = 2 pi f, expresses the same quantity in radians per second and is used in wave equations.

How do you compute the energy of a photon?

With the Planck-Einstein formula E = h f, where h is Planck's constant (6.626 x 10^-34 J s). It equals E = hc/lambda. It is often expressed in electronvolts (eV). The higher the frequency, the more energetic the photon: ultraviolet light carries photons far more energetic than red light.

What is the electromagnetic spectrum?

It is the set of all electromagnetic waves ordered by frequency: radio waves, microwaves, infrared, visible light, ultraviolet, X-rays and gamma rays. They are all the same thing, but with different wavelength and frequency. Visible light occupies only a small window between about 380 and 750 nm.

Why are X-rays and gamma rays dangerous?

Because their photons, having very high frequency, are extremely energetic, with enough energy to tear electrons from atoms (ionizing radiation) and damage DNA. Visible light and radio waves, with less energetic photons, are non-ionizing and far less harmful.

Where is the wavelength-frequency relation used?

In telecommunications (5G, GPS at 1.575 GHz), in astronomy with telescopes such as Hubble and JWST, in medicine with magnetic resonance and X-rays, in acoustics, in spectroscopy to identify materials, in optical fiber, in microwave ovens at 2.45 GHz and in seismology. It is a fundamental relation of physics.

Formula

\lambda \cdot f = v, \quad E_{photon} = h \cdot f = \frac{hc}{\lambda}

Comments (0)

No comments yet. Be the first!