Article — Wave Speed Calculator
The wave speed calculator and propagation through different media
Wave speed is the speed at which a wave's disturbance propagates through its medium, measured in meters per second. The defining relation is v = f × λ, where f is the frequency in Hz and λ is the wavelength in meters. Light in vacuum travels at exactly 299,792,458 m/s. Sound in air at 20°C travels at 343 m/s. Sound in steel reaches 5,960 m/s — nearly 17 times faster than in air. The medium fixes the speed; frequency and wavelength adjust accordingly.
The wave speed calculator multiplies frequency by wavelength and converts the result into six unit conventions, including Mach number and fraction of c, so you can quickly tell whether your numbers describe a mechanical or an electromagnetic wave.
What is wave speed?
Wave speed describes how fast the wave pattern travels. It is not the speed of the medium itself — in a transverse water wave, water molecules move up and down while the wave moves horizontally across the surface. In a longitudinal sound wave, air molecules vibrate back and forth along the propagation axis but do not migrate with the wave. What moves is the disturbance.
The speed depends on the medium's properties. For mechanical waves, two factors set the speed: a restoring force (elasticity) and inertia (density). Stiffer media propagate faster; denser media propagate slower at fixed stiffness. Steel is stiff and not too dense, so sound zips through at 5,960 m/s. Air is very compliant, so sound creeps at 343 m/s.
The speed of light is now a defined constant. Since 1983 the meter has been defined as the distance light travels in 1/299,792,458 of a second. Any measurement of c in m/s therefore returns the defined value by construction — precision now lies in measuring lengths against the speed, not the other way around.
The wave speed formula v = fλ
The wave speed formula is the simplest in wave physics: v = f × λ. Frequency multiplied by wavelength gives speed. This identity follows from the definition of period (T = 1/f) and the fact that one wavelength passes any point in one period. Speed = distance / time = λ / T = f × λ.
v = f × λ universal wave relationv_sound = 331.3 + 0.606T in air, T in °Cv_light = c / n in a mediumλ = v / f solve for wavelengthThe wave speed formula applies to every kind of wave, so a single calculation works whether you are studying ocean swells, radio transmissions, or seismic P-waves. What changes is the speed itself — once you know v for the medium, frequency and wavelength sort themselves out.
Wave speed of light through different materials
In vacuum, light travels at c = 299,792,458 m/s — exactly. In matter, light slows down by a factor called the refractive index, n. Water has n = 1.333, so light moves at c/1.333 = 225,000,000 m/s through water. Common window glass has n = 1.5, slowing light to 200,000,000 m/s. Diamond has n = 2.42, the highest of common materials, which is why diamonds sparkle so spectacularly — light bends sharply on entering and exiting the gem.
The wave speed calculator's medium presets include vacuum, air, water, glass, and diamond for light. Switching presets recalculates the speed automatically; you then enter frequency or wavelength and the calculator works out the third quantity.
Wave speed of sound in air, water, and steel
Sound is a mechanical wave and its speed depends strongly on the medium. In dry air at 20°C, sound travels at 343 m/s. The speed changes with temperature in a simple linear approximation: v = 331.3 + 0.606T (T in °C). At 0°C the speed is 331 m/s; at 40°C it is 355 m/s. Pressure and humidity have only minor effects compared with temperature.
- air 0°C = 331 m/s
- air 20°C = 343 m/s
- air 40°C = 355 m/s
- helium 20°C = 1007 m/s (Donald Duck voice)
- fresh water 20°C = 1482 m/s
- seawater 20°C = 1531 m/s
- steel = 5960 m/s
- granite = 6000 m/s
- diamond = ~12000 m/s
Sound in seawater travels four-and-a-half times faster than in air. That is why sonar works: a 1 ms pulse covers 1.5 m underwater and reflects off submarines, ship hulls, or the seabed within microseconds. The wave speed calculator lets you check sonar ping wavelengths in seawater quickly.
How to calculate wave speed step by step
An A4 piano note vibrates at 440 Hz and produces sound waves with wavelength 0.78 m in air. Wave speed = 440 × 0.78 = 343 m/s. The wave speed calculator confirms that you really did hear a sound wave in air, not in water or in steel.
WiFi at 2.4 GHz uses a wavelength of 12.5 cm (0.125 m) in vacuum. Wave speed = 2.4 × 10^9 × 0.125 = 3.00 × 10^8 m/s — the speed of light, as expected for any EM wave. If the wavelength came out to 10 m instead, you would know something was wrong with the data.
Green light has frequency 5.45 × 10^14 Hz and wavelength 550 nm in vacuum. Wave speed = 5.45e14 × 550e-9 = 3.00 × 10^8 m/s, again the speed of light.
For any electromagnetic wave in vacuum, f × λ must equal exactly c. If your numbers do not multiply to 299,792,458 m/s, either the medium is not vacuum or your data is in the wrong units.
Wave speed in seismology, sonar, and optics
Wave speed is central to several fields. In seismology, P-waves travel through Earth at 5-8 km/s in the crust and faster in the mantle. S-waves are slower (3-4.5 km/s) and cannot pass through liquids. Comparing the arrival time of P and S waves lets seismologists locate earthquake epicenters within seconds of detection.
In oceanography, sonar maps the seafloor by timing acoustic pulses. The deepest part of the ocean — the Mariana Trench at 11,034 m — takes a ping about 14.5 seconds to make the round trip at 1,530 m/s. Modern multibeam echo sounders send thousands of pings simultaneously to build high-resolution bathymetric maps.
In fiber-optic telecommunications, light travels through silica glass at about 200,000,000 m/s. A signal crosses the Atlantic in roughly 30 ms one way. Sub-millisecond latency requires shorter cables or different routing.
Common wave speed mistakes
The first mistake is assuming light always travels at c. In water, glass, and other dense materials, it is slower. The frequency stays the same as light crosses a boundary, but speed and wavelength both shift.
In dispersive media, the phase velocity of a wave can exceed the speed of light. That sounds like it violates relativity, but it does not — phase velocity is just the speed of a fixed point on a sine wave, not the speed of any signal or particle. The group velocity, which transports energy and information, stays below c.
The second mistake is ignoring temperature for sound. At -10°C in air, sound travels at 325 m/s; at 30°C it travels at 349 m/s — a 7 percent difference. Using 343 m/s for outdoor measurements on a cold day will give wavelengths that are too long.
The third mistake is mixing units. Frequency in Hz times wavelength in meters gives speed in m/s. If you use kHz and centimeters, scale carefully or convert to base SI units first. The wave speed calculator accepts numbers directly so the unit work is done internally.