Speed Of Sound Calculator - Sound Velocity in Gases, Liquids, and Solids

Use this speed of sound calculator to calculate the velocity of sound in air, water, gases, and solid materials with temperature adjustments.

Updated: June 29, 2026 • Free Tool

Speed Of Sound Calculator

Select whether the medium is an ideal gas (like air), pure water, or a general solid/liquid.

Load preset properties for common gases or choose Custom to specify your own values.

Enter the temperature of the gas or water. Pure water is restricted to 0°C to 95°C.

Choose Celsius (°C), Fahrenheit (°F), or Kelvin (K).

Ratio of specific heats (Cp/Cv) for custom gases. Air is 1.4, monatomic gases are 1.66.

Molar mass of the gas in g/mol. Air is 28.96 g/mol, Helium is 4.00 g/mol.

Young's modulus (for solids) or Bulk modulus (for liquids) in GPa.

Mass density of the solid or liquid in kg/m³.

Results

Sound Speed (m/s)
0m/s
Sound Speed (km/h) 0km/h
Sound Speed (mph) 0mph
Sound Speed (ft/s) 0ft/s
Sound Speed (knots) 0knots
Sound Speed (Mach) 0Mach

What Is Sound Velocity Calculator?

The speed of sound represents the velocity at which mechanical acoustic waves propagate through a medium such as gas, liquid, or solid. This sound velocity calculator provides an easy way to calculate sound velocity under different physical conditions, supporting multiple units such as meters per second (m/s), miles per hour (mph), and Mach number.

  • Acoustics research: Calculating exact sound speed to calibrate acoustic transducers, sonar instruments, or echo sounders.
  • Aviation analysis: Converting flight speeds to Mach numbers to determine transonic or supersonic thresholds.
  • Meteorological study: Estimating how changes in air temperature affect atmospheric sound transmission speeds.
  • Industrial inspection: Providing wave speed values for non-destructive ultrasonic testing of steel or composites.

In physics, sound propagates as a longitudinal wave, which means the particles of the medium oscillate parallel to the direction of wave propagation. In gases and liquids, sound waves travel exclusively as longitudinal compression and rarefaction waves. In solids, however, sound can also travel as transverse shear waves, where particle movement is perpendicular to the wave's path. This tool focuses on longitudinal sound waves, which are the primary acoustic pulses studied in environmental physics, marine engineering, and structural acoustics. The velocity at which these waves travel dictates how quickly acoustic energy can move from a source to a receiver, affecting signal timing and measurement calibration in applications ranging from architectural acoustics to sonar imaging.

While we often speak of a single acoustic velocity, there is no universal number. Temperature, medium composition, and physical phase change the velocity dramatically. For instance, sound travels at approximately 343 meters per second in dry air at room temperature, but it speeds up to 1,482 meters per second in fresh water and reaches over 5,000 meters per second in structural steel. This vast range of velocities highlights the role of material stiffness and density in wave mechanics. In colder environments, such as high-altitude flight paths, the air becomes less dense and colder, which slows acoustic propagation. Understanding these variations is crucial for aerospace engineering, sonar calibration, and noise control systems.

Once you determine the velocity, you can use the Sound Wavelength Calculator to convert the propagation speed and wave frequency into physical wavelength.

How Sound Velocity Calculator Works

To calculate the speed of sound, you first select the medium type. For gases, the calculator uses the thermodynamic ideal gas law equation. For pure water, it implements a highly accurate fifth-order polynomial. For general solids and liquids, it evaluates the classical wave equation from elastic moduli.

c = sqrt(gamma * R * T / M) for gases; classical c = sqrt(E / rho) for solids/liquids.
  • gamma (γ): Adiabatic index, which is the ratio of specific heats. For dry air, this constant is 1.4.
  • R: The universal gas constant, equal to 8.314462618 J/(mol*K).
  • T: Absolute temperature in Kelvin, converted automatically from Celsius or Fahrenheit.
  • M: Molar mass of the gas in kg/mol, representing its molecular density.

For pure water, simple ideal gas approximations fail. Instead, our calculator uses Wojciech Marczak's 1997 fifth-order empirical formula, which is accurate to within 0.02 m/s between 0°C and 95°C. Water molecule interactions are highly complex and temperature-dependent, meaning a simple linear approximation is insufficient for high-precision scientific work. By using a fifth-order polynomial, our model captures the non-linear relationship between temperature and water density/compressibility, providing highly reliable velocity values for laboratory research and oceanographic studies.

For solid materials like metals or polymers, the speed is computed from Young's modulus and mass density, representing the balance of restoring force and mass inertia. Young's modulus measures the material's resistance to elastic deformation, while density represents its mass per unit volume. In general, stiffer materials transmit sound waves faster, while denser materials slow them down. Because solids are much stiffer than gases, the high elastic modulus overrides the density effect, resulting in sound velocities that are several times faster than those observed in air.

Worked example: sound speed in air at 20°C

Air preset: Temperature = 20°C (293.15 K), γ = 1.4, M = 0.0289644 kg/mol.

c = sqrt(1.4 * 8.31446 * 293.15 / 0.0289644) = sqrt(3412.355 / 0.0289644) = sqrt(117812.05) ≈ 343.24 m/s.

c ≈ 343.24 m/s.

This confirms that at room temperature, sound waves cover 343 meters in one second.

According to Wikipedia - Speed of Sound, the speed of sound in an ideal gas depends only on its temperature and composition, and is given by the formula c = sqrt(gamma * R * T / M).

To relate local acoustic speed directly to a vehicle's travel velocity, check out our Mach Number Calculator for flight speed conversions.

Key Concepts Explained

Understanding speed of sound propagation involves several physical concepts that dictate how pressure pulses travel through different phases of matter. These principles describe the relationship between thermodynamic variables, molecular behavior, and wave physics, helping to explain why sound behaves differently in the atmosphere than it does underwater or inside solid structural beams. By mastering these concepts, students and engineers can better predict acoustic behavior in real-world environments.

Elasticity and Compressibility

Stiffer media resist compression and transmit mechanical forces faster, leading to high sound speeds. Liquids and solids are much stiffer than gases, which is why sound travels faster through them.

Temperature and Kinetic Energy

In fluids, temperature measures the average kinetic energy of molecules. Hotter molecules collide more frequently, passing acoustic pressure pulses along faster.

Adiabatic Compression in Gases

Sound waves compress gases so rapidly that heat does not have time to escape. Thus, the expansion is adiabatic, governed by the ratio of specific heats γ.

Mach Number Definition

The Mach number is the ratio of an object's speed to the local speed of sound. A value of Mach 1.0 indicates travel at exactly the velocity of sound in that local medium.

These core principles explain why sound behaves differently in the atmosphere than it does underwater or inside solid structural beams. They form the foundation of modern acoustics, guiding the design of sonar arrays, aircraft wings, and noise-damping materials. By understanding how temperature, pressure, and material phase interact, researchers can optimize wave transmission and minimize energy loss at interface boundaries.

When either the sound emitter or the receiver is moving relative to the medium, the Doppler Effect Calculator computes the resulting frequency shifts.

How to Use This Calculator

You can calculate sound velocity in seconds by following these simple operational steps.

  1. 1 Select the medium category: Choose either Gas, Pure Water, or General Solid/Liquid from the primary dropdown.
  2. 2 Choose gas preset or custom: If in Gas mode, select a preset like Air, Helium, or Nitrogen. If Custom, enter your own adiabatic index and molar mass.
  3. 3 Enter the temperature: Provide the temperature and select the unit (Celsius, Fahrenheit, or Kelvin).
  4. 4 Input solid/liquid properties: If in Solid/Liquid mode, enter the Elastic Modulus in GPa and the Material Density in kg/m³.
  5. 5 Review converted outputs: Read the calculated velocity instantly converted into m/s, km/h, mph, ft/s, knots, and Mach.

To find the velocity in helium at room temperature, select Gas, choose Helium preset, input 20 in temperature, choose Celsius, and read 1,007.41 m/s in the results.

Benefits of Using This Calculator

Using this calculator saves time and eliminates computation errors when dealing with wave mechanics.

  • Multi-mode flexibility: Switch easily between atmospheric gases, water, and engineering solids in a single tool.
  • Instant unit conversion: No manual multiplication is required to get feet per second, knots, or kilometers per hour.
  • Authoritative equations: Uses precise physical constants and empirical models like Marczak's pure water formula to support scientifically reliable outputs.
  • Custom parameter support: Allows advanced physics users to input custom molar masses and adiabatic indexes.

These features make the tool useful for students, pilots, engineers, and researchers working on audio and ultrasonic projects. By automating complex conversions and using precise formulas, the calculator helps prevent manual calculation errors and speeds up acoustic design workflows. Whether you are analyzing aircraft performance, calibrating hydrophones, or verifying concrete strength, having instant access to accurate velocities is essential.

For calculations involving atmospheric density variations at different temperatures and pressures, visit the Air Density Calculator.

Factors That Affect Your Results

Several real-world conditions affect sound propagation beyond basic temperature and phase.

Humidity in Air

Water vapor decreases the average molar mass of air slightly, which increases the speed of sound very marginally compared to dry air.

Salinity in Water

Dissolved salts increase the density of water, but they increase its stiffness (bulk modulus) even more, raising the sound speed in seawater.

Shear vs. Longitudinal Waves

In solids, sound can travel as longitudinal compression waves or transverse shear waves. Shear waves are slower and depend on shear modulus.

  • The ideal gas formula assumes the gas behaves ideally, which can deviate at very high pressures or close to the condensation point.
  • Marczak's formula is limited to pure water at standard atmospheric pressure and should not be used for high-depth oceanography without depth corrections.

According to Journal of the Acoustical Society of America, Wojciech Marczak's fifth-order polynomial describes the speed of sound in pure water as a function of temperature with high precision.

According to Engineering ToolBox, the sound velocity in water is approximately 1482 m/s at 20 °C, and varies with bulk modulus and density changes.

To evaluate how much sound reflections bounce off solid boundaries, combine the velocity with density in our Acoustic Impedance Calculator.

Speed of Sound calculator panel showing medium selections, temperature inputs, and results for sound speed in meters per second, miles per hour, and Mach.
Speed of Sound calculator panel showing medium selections, temperature inputs, and results for sound speed in meters per second, miles per hour, and Mach.

Frequently Asked Questions

Q: What is the speed of sound?

A: The speed of sound is the rate at which sound pressure waves propagate through a given medium. It depends entirely on the physical characteristics of the substance—specifically its density and elastic properties—and is heavily influenced by factors like temperature, whereas parameters like frequency or loudness have no effect on it.

Q: What is the speed of sound in air at room temperature?

A: In dry air at standard room temperature of 20°C (68°F) at sea level, the speed of sound is approximately 343.2 meters per second. This translates to about 1,236 kilometers per hour, 768 miles per hour, 1,126 feet per second, or 667 knots.

Q: Why does the speed of sound change with temperature?

A: Temperature directly affects the kinetic energy and speed of molecules in a fluid. In gases, warmer temperatures mean molecules move and collide faster, permitting sound pressure pulses to transmit more rapidly. Thus, sound velocity rises as temperature increases.

Q: What is the speed of sound in water?

A: Sound travels much faster in water than in air because water is far less compressible (it has a higher bulk modulus). At 20°C (68°F), the speed of sound in pure water is approximately 1,482 meters per second, which is about 4.3 times faster than in air.

Q: How does density affect the speed of sound in solids?

A: In solid materials, the speed of sound is determined by the ratio of the material's elastic modulus (stiffness) to its density. While higher density tend to slow down sound propagation, highly stiff materials (such as steel or diamond) have huge elastic moduli that override the density effect, producing extremely fast sound speeds.