Wave Speed Calculator – The Wave Equation for Sound, Strings and Light
Every periodic wave obeys the same three-way relation between how fast it travels, how often it repeats and how far apart its crests sit. A wave speed calculator turns that relation, v = f λ, into whichever form you need: supply any two of speed, frequency and wavelength and the third follows immediately. It is not an approximation. For a sinusoidal wave the equation is exact by definition, and it applies just as well to a plucked guitar string as to a radio broadcast or a beam of green light.
Why unit scale is the real difficulty
The arithmetic is trivial; the units are where answers go wrong. Wavelengths in everyday physics span from picometres to thousands of kilometres, and frequencies from a few hertz to 10²⁰ Hz. Type a wavelength in nanometres while the selector still says metres and the answer is out by nine orders of magnitude. This wavelength frequency calculator converts every input to SI before it computes anything, converts back only at the moment of display, and screens every derived speed against the speed of light so a unit slip is caught rather than printed.
Working the wave equation, and the period shortcut
Concert A at 440 Hz travelling through air at 343 m/s has a wavelength of λ = v / f = 0.7795 m, or about 78 cm — roughly the length of the guitar you played it on. If you are reading an oscilloscope instead, enter the period: a 4 ms trace is f = 1/T = 250 Hz, which in air gives 1.372 m. The tool also reports the angular wavenumber k = 2π/λ and the angular frequency ω = 2πf, the two quantities that appear once you write the wave as y = A sin(kx − ωt).
Waves on a stretched string
A string sets its own speed through tension and mass: v = √(T/µ), where µ = m / L. A 0.65 m string weighing 3.25 g has µ = 0.005 kg/m; pull it to 80 N and waves run along it at 126.4911 m/s— 2.712 times slower than sound in the air around it. Fixed at both ends it resonates at λ₁ = 2L = 1.30 m and f₁ = v / 2L = 97.3009 Hz, with harmonics at integer multiples.
v = √(T/µ) assumes a perfectly flexible, uniform string at small amplitude. Real strings resist bending, which speeds up the higher harmonics and makes overtones progressively sharp. That inharmonicity is why piano tuners stretch octaves instead of tuning to exact integer multiples.Sound in air changes with the weather
The speed of sound in dry air follows v = 331.3 √(1 + T/273.15): 331.3 m/s at freezing, 343.2146 m/s at 20 °C and 346.1292 m/sat 25 °C. Pressure does not enter, because compressing air raises its density in the same proportion. Temperature does, at roughly 0.6 m/s per degree — enough to move the wavelength of a tuned note between a cold hall and a warm one.
Light entering a medium
In vacuum v = c = 299 792 458 m/s exactly. Enter a medium of refractive index n and both the speed and the wavelength drop by n, while the frequency does not move at all. Green light at 550 nm carries 545.0772 THz; in water at n = 1.333 it slows to 2.249 × 10⁸ m/s and shortens to 412.6032 nm— but divide those and the frequency comes straight back. Crests cannot pile up at a boundary, so colour is unchanged underwater.
Where the single-speed picture breaks
One speed per medium only works when the medium is non-dispersive. Vacuum is exactly so, and air is very nearly so for audible sound. Glass and water are not: their index varies with wavelength, which is precisely why a prism makes a rainbow, so every optical preset here is labelled with the wavelength its index was measured at. Deep-water surface waves and waveguides are strongly dispersive, with phase and group velocity parting company, and sit outside what this calculator models.