How this instrument works
Every elastic wave obeys the same shape of formula: speed equals the square root of a stiffness term over an inertia term. In a solid rod, the stiffness term is Young's modulus, E — how hard the material resists being stretched along its length — and the inertia term is density, ρ, the mass packed into each cubic metre. A stretched region snaps back and overshoots into the next, and E ⁄ ρ sets how quickly that handoff runs down the material. Because it's a ratio, a material does not need to be exceptionally stiff or exceptionally light to carry sound quickly; it needs a favourable balance of the two.
This particular expression is the bar velocity, not the confined bulk velocity that ultrasonics tables often quote for the same metal. It assumes the material is free to bulge sideways as it stretches lengthwise — true for a thin rod, wire, or rail, where the cross-section is small next to the wavelength. Squeeze the same material into a thick slab or a large forging and the sides can no longer move freely; the wave then answers to a stiffer effective modulus that includes the Poisson's-ratio term, and the bulk longitudinal speed comes out roughly 10 to 20 percent higher than E ⁄ ρ predicts for common metals. Reading a rod-velocity figure off a bulk-velocity table, or the reverse, is the single most common error this formula invites.
The formula also has nothing to say about a plucked string or a struck bell in the sense most people first imagine sound in a solid. Those are transverse waves, restored by tension rather than by the material's own stiffness, and governed by a different ratio entirely — tension over mass per unit length. What E ⁄ ρ describes is the push-pull wave that travels along a bar's own axis, the kind you'd generate by striking one end of a length of rail or rebar and timing how long the shove takes to reach the other end.
- Enter Young's modulus for the material — its resistance to being stretched, in MPa. Structural steel sits near 200,000 MPa (200 GPa).
- Enter Density in kg/m³ — the mass in every cubic metre of that same material. Steel is about 7,850 kg/m³.
- Read Speed of sound in the solid — the longitudinal wave speed along a thin rod or wire of that material, in m/s.
- Treat the result as a bar velocity: a thick block or forging of the same material carries sound somewhat faster, because its sides can't bulge freely.
- To compare materials fairly, look at the ratio each gives, not the individual numbers — a low-modulus, low-density material can easily out-pace a stiffer, denser one.
Worked example — sound in a steel rail
A length of steel rail: Young's modulus 200,000 MPa (200 GPa, or 200,000,000,000 Pa) and density 7,850 kg/m³, standard textbook values for structural steel. Divide the two: 200,000,000,000 ⁄ 7,850 = 25,477,707 m²/s². The square root of that is 5,047.5 m/s, and that is exactly what Speed of sound in the solid returns for those two inputs.
That figure is nearly fifteen times the roughly 343 m/s sound manages through room-temperature air, and the rail loses far less energy carrying it. A traveller who presses an ear to a steel rail can hear an approaching train through the metal many seconds before the same sound arrives by air — a trick trackside workers relied on well before any electronic detection existed, and one that falls straight out of this one division and one square root.
Questions
Does a stiffer material always carry sound faster?
No — speed tracks the ratio E ⁄ ρ, not stiffness by itself. Aluminium's modulus, 69 GPa, is barely a third of steel's 200 GPa, but its density, 2,700 kg/m³, is also about a third of steel's 7,850 kg/m³, so the two nearly cancel: aluminium's bar velocity works out to 5,055 m/s, almost identical to steel's 5,048 m/s. Glass, at 70 GPa and 2,500 kg/m³, has the highest E ⁄ ρ ratio of the three and comes out fastest at 5,291.5 m/s despite being neither the stiffest nor the densest material.
Is this the same figure ultrasonics tables quote for steel?
Not quite. Ultrasonics references usually quote the confined longitudinal, or bulk, velocity — commonly tabulated near 5,900 to 6,000 m/s for steel — measured in material thick enough that it can't bulge sideways as the wave passes. This formula gives the bar velocity, correct for a rod, wire, or rail slender enough to contract freely across its width while it stretches lengthwise. Expect the bar figure to sit noticeably below the tabulated bulk value for the same metal.
Why doesn't this match the formula for a guitar string's pitch?
Because a plucked string carries a different kind of wave. Its transverse vibration is restored by tension, not by the material's own stiffness, and its speed is √(T ⁄ μ) — tension over mass per unit length — with no Young's modulus in sight. This calculator instead gives the longitudinal wave that races down a rod's own axis when you strike or tap its end. Both are legitimate speeds of sound in a solid; they just answer different questions about the same piece of material.
What happens if density is entered as zero?
The instrument stops rather than divide by zero: the check reads 'Density must be greater than zero' and withholds a result instead of returning an undefined or infinite figure. Every real material carries positive mass per unit volume, so this only surfaces from a typo or a misplaced unit — check that density was entered in kg/m³ and not, say, g/cm³ shifted by a factor of a thousand.
Where does this calculation actually get used?
A geotechnical engineer running a pile driving analyzer times how fast a stress wave travels down a concrete or timber pile to judge its integrity and bearing capacity, leaning on this same stiffness-over-density relationship for the pile material. A materials-testing engineer running a split-Hopkinson pressure bar uses it to convert the transit time of a strain pulse along a steel bar into an exact wave speed, which is how that rig measures stress-strain behaviour at very high strain rates.
Does temperature change the answer?
Only indirectly, through E and ρ, both of which drift with temperature. In most metals, Young's modulus softens a few percent per hundred degrees Celsius as atomic bonds loosen, while density falls more slowly through thermal expansion. Steel's modulus drops roughly 3 to 4 percent between 20°C and 300°C, enough to lower the bar velocity by about 1.5 to 2 percent — enter values for the temperature the material actually sits at rather than generic room-temperature defaults.