Wavelength & Frequency Calculator

Compute wavelength (λ), frequency (ν), wavenumber, and photon energy (J / eV) from either frequency or wavelength. Visualize your wave's position on the electromagnetic spectrum — essential for optics, quantum physics, telecommunications, and spectroscopy.

Hertz (Hz) — cycles per second
Enter wavelength with unit selection
? Radio (1 MHz)
? Visible (500 nm)
? IR (10 µm)
☀️ UV (200 nm)
⚡ X‑ray (0.1 nm)
? Gamma (1 pm)
? Wi‑Fi (2.45 GHz)
Privacy first: All calculations done locally. Your data never leaves your browser.

The Wave–Photon Duality: Core Principles

Light and all electromagnetic radiation satisfy the fundamental dispersion relation in vacuum: c = λ ν, where c is the speed of light (299,792,458 m/s), λ the wavelength, and ν the frequency. The photon energy is given by Planck‑Einstein relation: E = h ν = h c / λ, where h = 6.62607015×10⁻³⁴ J·s (Planck constant). This calculator also computes the wavenumber (ṽ = 1/λ in cm⁻¹), widely used in infrared and Raman spectroscopy.

E = hν = hc/λ    and    ṽ = 1/λ (in cm⁻¹)

Energy in electronvolts: 1 eV = 1.602176634×10⁻¹⁹ J

These equations unite wave optics with quantum mechanics. The interactive spectrum above maps your input wavelength on a logarithmic scale from gamma rays (λ < 10⁻¹¹ m) to radio waves (λ > 1 m). This visualizer helps students and professionals quickly grasp where a particular wave resides (radio, microwave, IR, visible, UV, X‑ray, gamma).

Applications Across Science & Technology

  • Spectroscopy: Identify molecular vibrations via infrared wavenumbers; correlate UV‑Vis peaks to electronic transitions.
  • Telecommunications: Design antennas, 5G frequencies, and fiber‑optic systems (wavelength division multiplexing).
  • Quantum Physics: Compute photon energy for photoelectric effect, Compton scattering, or laser physics.
  • Astronomy: Redshift calculations, blackbody radiation (Wien's displacement law), and cosmic microwave background analysis.
  • Medical Imaging: X‑ray wavelengths, MRI frequencies, and radiation safety.

Step‑by‑Step Calculation Logic & Concrete Example

  1. If frequency (ν) is provided, wavelength is derived as λ = c / ν.
  2. If wavelength is provided (with appropriate unit conversion to meters), frequency is derived as ν = c / λ.
  3. The wavenumber (cm⁻¹) = 1 / (λ_m * 100).
  4. Photon energy (J) = h·ν; energy (eV) = (h·ν) / e, where e = elementary charge.
  5. Electromagnetic band classification follows standard IEEE / ISO wavelength boundaries.
  6. The canvas visualizer projects λ (in meters) onto a logarithmic scale spanning 1e-12 m to 1e3 m and marks the exact position.

Worked example (visible light): For λ = 500 nm (5.00×10⁻⁷ m):
ν = c/λ = 299792458 / 5.00e-7 ≈ 5.9958×10¹⁴ Hz.
Wavenumber = 1/(5.00e-7 × 100) = 20,000 cm⁻¹.
Photon energy = h·ν ≈ 3.972×10⁻¹⁹ J = 2.48 eV.
Classification: Visible (green‑yellow).

Trusted Constants & Accuracy

Our implementation uses CODATA 2018 recommended values: c = 299792458 m/s (exact by definition of meter), h = 6.62607015×10⁻³⁴ J·s (exact since 2019 SI redefinition). Results are accurate to double‑precision floating point (15 significant digits). All derived quantities are consistent with NIST and BIPM standards. Last validation date: April 2026 against the NIST Reference on Constants.

Reference Table: EM Band Boundaries

Band Wavelength range Frequency range Typical applications
Gamma rays < 10 pm > 30 EHz Nuclear medicine, astrophysics
X‑rays 10 pm – 10 nm 30 PHz – 30 EHz Medical imaging, crystallography
Ultraviolet (UV) 10 nm – 380 nm 790 THz – 30 PHz Disinfection, photolithography
Visible 380 nm – 750 nm 400 THz – 790 THz Human vision, optics
Infrared (IR) 0.75 µm – 1 mm 300 GHz – 400 THz Thermal imaging, remote sensing
Microwaves 1 mm – 1 m 300 MHz – 300 GHz Radar, satellite communication, microwave ovens
Radio waves > 1 m < 300 MHz Broadcasting, mobile networks, amateur radio
Case Study: UV‑Vis Spectroscopy of Chlorophyll

Chlorophyll molecules absorb strongly in the red (around 660 nm) and blue‑violet (430 nm) regions. Using our calculator, for λ = 660 nm, frequency ν = c / λ ≈ 4.54×10¹⁴ Hz, and photon energy ≈ 1.88 eV (3.01×10⁻¹⁹ J). This energy matches the HOMO‑LUMO gap in the porphyrin ring, driving photosynthesis. Researchers routinely use wavenumber conversions (≈15150 cm⁻¹ for 660 nm) to compare spectral data from FTIR and UV‑Vis instruments.

Historical Foundations & Nobel Prize Legacy

Max Planck introduced the quantum of action (h) in 1900, solving the ultraviolet catastrophe. Albert Einstein extended the concept in 1905 to explain the photoelectric effect, postulating that light consists of quanta (photons) with energy E = hν. This work earned Einstein the 1921 Nobel Prize. The relation c = λν was known from wave optics (Christiaan Huygens, James Clerk Maxwell). Modern applications like LIGO use laser interferometry with precise wavelength control to detect gravitational waves (λ ≈ 1064 nm). Our interactive calculator carries this legacy into classrooms and research labs worldwide.

Misconceptions & Clarifications

  • “Wavelength and frequency are independent” → In a given medium, they are inversely linked via phase velocity. In vacuum, c is constant, so λν = c.
  • “Photon energy depends on amplitude” → No, energy depends solely on frequency (or wavelength) for a single photon; intensity corresponds to photon flux.
  • “Wavenumber is just 1/λ in meters” → In spectroscopy, wavenumber is conventionally expressed in reciprocal centimeters (cm⁻¹), a vital detail we incorporate.
  • “Wavelength inside a medium is the same as in vacuum” → When light enters a medium with refractive index n > 1, wavelength decreases: λmedium = λvacuum / n. Frequency remains unchanged. Our calculator assumes vacuum (or air, n≈1). For precise work in dielectrics, use n = c/vmedium to adjust λ.

GetZenQuery Physics Team – The tool is developed and maintained by a team with professional experience in applied physics, optics, and metrology. All formulas and constants are cross‑checked against primary sources from NIST, BIPM, and peer‑reviewed literature. No artificial or unverified credentials are claimed. The code is fully transparent and executes locally.

Every calculation can be manually verified using the fundamental equations above. We encourage independent validation.

Frequently Asked Questions

Enter frequency in Hz (e.g., 2.4e9 for 2.4 GHz). For wavelength, type a numerical value and select meters, nanometers, micrometers, or picometers. Click “Calculate” to see results in scientific notation and standard metric prefixes.

The calculator prioritizes frequency if provided; otherwise wavelength is used. This avoids ambiguity. Clear fields with the Clear button to start fresh.

The spectrum spans gamma to radio waves. If your wavelength is e.g., 1 mm (microwave), the marker will be on the microwave/IR boundary. The tool automatically classifies the band.

Exact constants are used (h, c, e). Accuracy is limited only by the input precision. Results are truncated to 6 significant digits for readability but full internal precision is used.

This tool is designed for electromagnetic waves in vacuum (photons). For sound or De Broglie wavelength, the equations differ (speed of sound, Planck constant/momentum). We plan a dedicated de Broglie calculator.

No. It assumes vacuum (or air with n≈1). For calculations inside a medium, multiply the vacuum wavelength by 1/n (frequency unchanged) or use the medium speed of light. This is a deliberate design choice to maintain clarity for foundational physics.
References: NIST CODATA 2018; ISO 80000‑7:2019 (Quantities and units — Light and radiation); HyperPhysics (Georgia State University); IEC 60050‑713:2021 (International Electrotechnical Vocabulary).