Home › Calculators › Wavelength Frequency Calculator

Wavelength Frequency Calculator

Convert frequency to wavelength or wavelength to frequency for light, radio waves or sound, solve for wave speed, and see the period, photon energy and where your wave sits on the spectrum. Runs entirely in your browser.

Last updated:

λ = v / f  ·  f = v / λ  ·  E = h f

Examples:

Electromagnetic spectrum

Advertisement

How to use the Wavelength Frequency Calculator

  1. Choose what to solve for: Wavelength, Frequency or Wave speed.
  2. Pick the medium, e.g. light in vacuum for radio and light, or sound in air at 20 °C for audio.
  3. Enter the known value and its unit, such as 2.4 GHz or 532 nm.
  4. Read the result in the highlighted field and change its unit to convert, then check the period and photon energy.
  5. See the band on the spectrum bar and press Copy result to paste the answer.

The wave equation: λ = v / f

Every wave obeys v = f × λ: the speed equals the frequency (cycles per second, in hertz) times the wavelength (the distance between two crests). Rearranged, λ = v / f and f = v / λ. For light and radio in a vacuum the speed is exactly c = 299,792,458 m/s. In a material with refractive index n, light travels at c / n; sound has its own speed in each medium.

WaveFrequencySpeed usedWavelength
AM radio1 MHzc≈ 300 m
FM radio100 MHzc≈ 3.00 m
Wi-Fi / microwave oven2.4–2.45 GHzc≈ 12.2–12.5 cm
Green laser563.5 THzc532 nm
Note A4440 Hz343 m/s (air, 20 °C)≈ 0.780 m
Medical ultrasound5 MHz1,481 m/s (water)≈ 0.296 mm

Speed of waves in common media

MediumSpeed
Light in vacuum (exact, SI definition)299,792,458 m/s
Light in air (n ≈ 1.000293)≈ 299,705,000 m/s
Light in water (n ≈ 1.333)≈ 224,900,000 m/s
Light in typical glass (n ≈ 1.5)≈ 199,900,000 m/s
Sound in dry air at 20 °C≈ 343 m/s
Sound in fresh water at 20 °C≈ 1,481 m/s
Sound in steel (longitudinal)≈ 5,960 m/s

The speed of sound in air rises by roughly 0.6 m/s for every degree Celsius, so pick the custom speed option for other temperatures or materials.

Photon energy and the spectrum

For electromagnetic waves each photon carries E = hf, with Planck's constant h = 6.62607015 × 10⁻³⁴ J·s. A handy shortcut is E (eV) ≈ 1239.84 / λ (nm): red light at 650 nm is about 1.91 eV, violet at 400 nm about 3.10 eV, which is why ultraviolet and X-ray photons can break chemical bonds while radio photons cannot. The band boundaries shown by the tool are common conventions: radio (above 1 m), microwave (1 mm – 1 m), infrared (750 nm – 1 mm), visible (380 – 750 nm), ultraviolet (10 – 380 nm), X-ray (10 pm – 10 nm) and gamma (below 10 pm). Radio frequencies are also labelled with their ITU band, from ELF to EHF.

Frequently asked questions

How do you convert frequency to wavelength?

Divide the wave speed by the frequency: λ = v / f. For radio and light in a vacuum v = c = 299,792,458 m/s, so 100 MHz has a wavelength of 299,792,458 / 100,000,000 ≈ 3.00 m and 2.4 GHz Wi-Fi has about 12.5 cm.

How do you convert wavelength to frequency?

Divide the wave speed by the wavelength: f = v / λ. Green laser light at 532 nm has f = 299,792,458 / 532 × 10⁻⁹ ≈ 563.5 THz.

What is the wavelength of sound?

Use the speed of sound in the medium. In air at 20 °C sound travels at about 343 m/s, so the note A4 (440 Hz) has λ = 343 / 440 ≈ 0.78 m. In water (≈1,481 m/s) the same frequency has a wavelength of about 3.37 m.

How do I calculate photon energy?

E = hf, where h = 6.62607015 × 10⁻³⁴ J·s is Planck's constant. In electronvolts, E (eV) ≈ 1239.84 / λ (nm). A 532 nm green photon carries about 2.33 eV; a 0.1 nm X-ray photon about 12.4 keV.

Does the frequency change when light enters water or glass?

No. The frequency stays the same, but the speed drops to c / n and the wavelength shrinks by the same factor n (the refractive index). That is why the calculator uses the vacuum wavelength to name the spectrum band.

What is the relationship between period and frequency?

The period is the time for one full cycle: T = 1 / f. A 50 Hz mains supply has a period of 20 ms; a 1 GHz signal has a period of 1 ns.

Where are the boundaries between spectrum bands?

Band edges are conventions, not sharp physical limits. This tool uses: radio above 1 m, microwaves 1 mm to 1 m, infrared 750 nm to 1 mm, visible light 380 to 750 nm, ultraviolet 10 to 380 nm, X-rays 10 pm to 10 nm and gamma rays below 10 pm.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Scientific CalculatorTrig, logs, powers and more in your browser.555 Timer CalculatorAstable frequency, duty cycle and monostable pulse width for the NE555 timer.Speed Distance Time CalculatorSolve for speed, distance or travel time and get your arrival time.Ohm's Law CalculatorSolve voltage, current, resistance and power from any two values.Antenna Length CalculatorDipole, quarter-wave and 5/8-wave antenna lengths for any frequency or radio band.Audio Equalizer10-band EQ for audio files: boost bass, clarify vocals or tame treble, then save as MP3 or WAV.Audio Spectrogram GeneratorTurn any audio file into a spectrogram image: FFT size, color maps, log or linear scale, PNG export.BPM to MS CalculatorNote lengths in milliseconds and Hz for any tempo: straight, dotted and triplet delay times.Half Life CalculatorSolve radioactive decay for amount left, half-life, time or initial amount, with a curve.Kinetic Energy CalculatorSolve KE = ½mv² and PE = mgh for energy, mass, speed or height, with unit conversions.Projectile Motion CalculatorRange, max height, flight time and impact speed of a projectile, with an animated trajectory.Free Fall CalculatorFall time and impact velocity from a height, or height from time or speed, with a chart and table.Meeting Cost CalculatorWork out what a meeting really costs from attendees and salaries, with a live cost ticker.Velocity CalculatorSolve v = d/t and a = Δv/t for any variable, plus a SUVAT solver for any three kinematics values.Torque CalculatorSolve τ = r·F·sin θ for torque, force, lever arm or angle, and convert torque to power at any rpm.Acceleration CalculatorAcceleration from velocity change and time, distance and time, or force and mass.Force CalculatorSolve F = ma for force, mass or acceleration, plus weight on every planet.Density CalculatorSolve density, mass or volume with unit conversion and a table of common material densities.Momentum CalculatorCalculate momentum (p = mv), mass, velocity, impulse and momentum change with unit conversion.Potential Energy CalculatorGravitational PE = mgh and spring PE = ½kx²: solve for energy, mass, height, k or stretch.Power CalculatorCalculate power from work and time, force and velocity, or volts and amps, in W, kW and hp.PPI CalculatorPixel density (PPI), dot pitch and retina viewing distance from resolution and screen size.Download Time CalculatorHow long a file takes to download at your internet speed, or the speed you need.Pressure CalculatorSolve P = F/A for pressure, force or area in Pa, kPa, bar, psi and atm.Work CalculatorSolve W = F·d·cos θ for work, force, distance or angle in J, kWh and ft-lb.Hooke's Law CalculatorSolve F = kx for spring force, spring constant or extension, plus stored spring energy.Centripetal Force CalculatorCentripetal force and acceleration from mass, radius and speed or RPM: F = mv²/r.Gravitational Force CalculatorNewton's law of gravitation F = Gm₁m₂/r² for any two masses, with planet presets.Speed of Sound CalculatorSpeed of sound from air temperature or medium, and distance from an echo or thunder delay.Doppler Effect CalculatorObserved frequency from source and observer speeds, or source speed from a pitch shift.Specific Heat CalculatorSolve Q = mcΔT for heat energy, mass, specific heat or temperature change, with materials.Decibel CalculatorAdd dB levels, convert power or voltage ratios to dB, and find sound level at a distance.Bernoulli Equation CalculatorSolve Bernoulli's equation for pressure, velocity or height, with pipe continuity and flow.Buoyancy CalculatorBuoyant force from fluid density, volume and gravity, with a float or sink check.Escape Velocity CalculatorEscape and orbital velocity for any planet, moon or custom mass and radius.Friction Force CalculatorStatic and kinetic friction from material presets, normal force or mass and incline angle.Inclined Plane CalculatorForces, acceleration and push force for a mass on a slope with friction.Light Travel Time CalculatorHow long light or radio takes to reach the Moon, Sun, Mars, Voyager 1 or any distance.Lightning Distance CalculatorTap at the flash and again at the thunder to see how far away lightning struck, in miles and km.Magnetic Declination CalculatorFind magnetic declination, inclination and field strength for any place and date (WMM2025).Map Radius ToolDraw circles of any radius around points on a map, with multiple rings and a share link.MTBF CalculatorMTBF, failure rate, availability and mission reliability from operating hours and failures.Pipe Pressure Drop CalculatorDarcy-Weisbach pressure drop and head loss with Reynolds number and Colebrook friction factor.Refrigerant PT ChartPressure-temperature chart for R-410A, R-32, R-454B, R-22, R-134a, R-404A and more.Reynolds Number CalculatorReynolds number and laminar, transitional or turbulent regime for pipes, ducts, plates and spheres.RMS Voltage CalculatorConvert peak, peak-to-peak, RMS and average voltage for sine, square and triangle waves.Spring Rate CalculatorCompression spring rate from wire size, coil diameter, coils and material, plus solid height.Standard Atmosphere (ISA) CalculatorISA 1976 temperature, pressure, density, speed of sound and viscosity at any altitude to 86 km.Steam Table CalculatorSaturated and superheated steam properties: enthalpy, entropy, volume and quality (IAPWS-IF97).Superheat and Subcooling CalculatorFind superheat, subcooling and target values from gauge pressures and line temperatures.Thermal Expansion CalculatorLinear, area or volume expansion from size, temperature change and material coefficient.Top of Descent CalculatorWhen to start descending: distance and time to top of descent, required fpm, 3-degree rule.True Airspeed CalculatorTrue airspeed, Mach number and density altitude from IAS/CAS, pressure altitude and OAT.Valve Cv CalculatorSize a valve: required Cv or Kv for liquid, gas or steam, or flow and pressure drop from Cv.Water Heating Time CalculatorHow long to heat water: time, energy and cost from volume, temperatures and heater power.Wave Speed CalculatorSolve v = f × λ, find wave speed from distance and time, or from string tension and density.E=mc2 CalculatorConvert mass to energy and back with E=mc², in joules, kWh, eV and tons of TNT.Orbital Period CalculatorOrbital period from central mass and semi-major axis with Kepler's third law and presets.Photon Energy CalculatorPhoton energy in eV and joules from wavelength or frequency, with momentum and color.Snell's Law CalculatorRefraction angle, critical angle and total internal reflection from n₁, n₂ and the angle.Speeds and Feeds CalculatorSpindle RPM and feed rate (mm/min, in/min) from tool size, flutes, surface speed and chip load.Terminal Velocity CalculatorTerminal velocity and time to 95% from mass, drag coefficient, area and air density.Thin Lens Equation CalculatorSolve 1/f = 1/do + 1/di for any value, with magnification, image type and a ray diagram.Time Dilation CalculatorLorentz factor, dilated time and length contraction from speed and proper time.Displacement CalculatorDisplacement from velocity and time, s = ut + ½at², or start and end coordinates, with steps.Kinematics Calculator (SUVAT)Enter any 3 of s, u, v, a and t to solve the other 2 with the SUVAT equations shown.3D Printer Filament Length CalculatorFilament weight to length and back for PLA, PETG, ABS and more, plus spool remaining.Fuel Injector Size CalculatorInjector size in lb/hr and cc/min from target horsepower, BSFC, cylinders, duty cycle and fuel.
See all 88 Physics Calculators →