---
slug: speed-of-sound-calculator
title: "Speed of Sound Calculator"
category: scientific
updated: 2026-11-17
canonical: https://calcseed.com/c/scientific/speed-of-sound-calculator/
html: /c/scientific/speed-of-sound-calculator/
---

# Speed of Sound Calculator

Calculate the speed of sound in air at a given temperature using v = 331.3 + 0.606T. Free and instant.

## Quick answer

**Quick answer:** with the default inputs (20 °C), the speed of sound is **343.42**. Change any input to update the result.

## Default calculation

Values computed by this calculator at exactly the default inputs listed below.

### Inputs (defaults)

| Input | Value | Unit |
| --- | --- | --- |
| Temperature | 20 | °C |

### Outputs at these defaults

| Output | Value | Unit |
| --- | --- | --- |
| Speed of sound | 343.42 |  |

## Formula

```text
v = 331.3 + 0.606 × T
```

## Inputs

| Variable | Type | Unit | Default |
| --- | --- | --- | --- |
| Temperature | number | °C | 20 |

## Outputs

| Result | Format |
| --- | --- |
| Speed of sound | primary |
| Speed of sound | unit |

## How it works

### What this calculator does

Type in an air temperature in degrees Celsius and the calculator returns how fast sound travels through that air, in metres per second. At the default of 20 &deg;C — a standard laboratory room — the answer is 343.42 m/s, which is the figure most physics textbooks quote rounded to 343 m/s. Drop the temperature to 0 &deg;C and the speed falls to 331.3 m/s; heat the air to 35 &deg;C and it rises to 352.51 m/s.

### The formula

v is the speed in metres per second and T the air temperature in degrees Celsius. The intercept 331.3 m/s is the speed of sound at exactly 0 &deg;C, and the slope 0.606 m/s per degree is how much extra speed each degree of warmth buys. Both constants come from the physics of gases: sound speed depends on the square root of absolute temperature, and the linear form is the first-order approximation of that square-root law around everyday temperatures.

The underlying mechanism is molecular. Sound is a pressure wave pushed along by molecules colliding with their neighbours, and molecules in warmer air move faster, so they pass the disturbance along sooner. Humidity plays a minor supporting role — water vapour is lighter than the nitrogen and oxygen it displaces, so very humid air carries sound about 0.1 to 0.3 percent faster — but for most purposes temperature alone decides the answer.

#### A dimensional check

Both terms must carry m/s, and they do: 331.3 m/s is a speed, and 0.606 (m/s per &deg;C) times a temperature in &deg;C returns m/s. The one trap is entering a temperature in Fahrenheit. Treating 68 &deg;F as if it were Celsius would add 41.2 m/s of phantom speed, so convert first: &deg;C = (&deg;F − 32) ÷ 1.8.

### Worked example at the defaults

At 20 &deg;C: v = 331.3 + 0.606 × 20 = 331.3 + 12.12 = 343.42 m/s. In more familiar units that is about 1,236 km/h, or Mach 1 at sea level on a mild day. Concorde-style supersonic flight and the crack of a whip both live in the regime above this number; a strong commercial jet at cruise crosses it and produces the double-boom of a sonic boom crossing, not one.

Everyday consequences follow directly from the slope. A cold winter morning at −10 &deg;C slows sound to 325.24 m/s — 18.18 m/s slower than the default room. Over a 1 km distance that is roughly a 0.05 s delay difference, imperceptible to the ear but real enough that outdoor acoustic measurements always log the air temperature alongside the data.

### Speed of sound at common temperatures

| Temperature | Speed of sound | Context |
| --- | --- | --- |
| −40 &deg;C | 307.06 m/s | polar winter air |
| 0 &deg;C | 331.30 m/s | the formula&rsquo;s reference point |
| 20 &deg;C (default) | 343.42 m/s | standard room temperature |
| 35 &deg;C | 352.51 m/s | a hot summer afternoon |
| 100 &deg;C | 391.90 m/s | boiling-water conditions |

The table spans nearly 85 m/s — about 25 percent — from the coldest to the hottest air you are likely to measure. Note that the reference value 331.3 m/s sits at 0 &deg;C, not at 20 &deg;C, which explains why older textbooks quote different speeds: both are correct, one per degree convention. When comparing sources, always check which temperature the quoted speed assumes.

### Using the speed in real calculations

- Thunder distance: count the seconds between flash and rumble and multiply by 343 m/s; 3 s ≈ 1,029 m, so dividing by 3 gives kilometres.
- Echo ranging: clap near a wall and time the return; a 0.6 s round trip at 343.42 m/s means the wall is about 103 m away.
- Wavelength checks: a 1 kHz tone in 20 &deg;C air has a wavelength of 343.42 ÷ 1,000 ≈ 0.343 m.
- Mach numbers: an aircraft at 300 m/s in 20 &deg;C air flies at Mach 300 ÷ 343.42 ≈ 0.87.

Each of these inherits the temperature dependence. The thunder rule of thumb (three seconds per kilometre) uses the rounded 20 &deg;C speed; in freezing air the correct divisor is closer to 3.1 seconds per kilometre. Precision work — concert hall acoustics, sonar calibration, ultrasonic flow meters — measures temperature to a fraction of a degree because a 1 &deg;C error shifts every distance estimate by about 0.18 percent.

### Common mistakes and edge cases

- Entering Fahrenheit: 68 &deg;F is 20 &deg;C, but the formula would treat the raw 68 as Celsius and return 372.51 m/s.
- Using the formula in water or steel: the constants are tuned for air; water carries sound near 1,480 m/s and steel near 5,100 m/s.
- Applying it at extreme altitude: the linear fit works for the lower atmosphere, but the physics remains temperature-driven, not altitude-driven — thin cold air at 11 km still follows the local temperature.
- Rounding the slope to 0.6: fine for estimates, but across a 100 degree span the shortcut drifts by 0.6 m/s.

### Sound in media other than air

The general law is v = &radic;(K/&rho;) — stiffness over density — and air is simply one material with a particular pair of values. Water is roughly 800 times denser than air but far harder to compress, and the stiffness wins: sound moves near 1,480 m/s in fresh water, about 4.3 times the 20 &deg;C air value. In steel the stiffness dominates even more, carrying vibrations near 5,100 m/s, which is why one rail worker taps a rail and another hears the ring down the line well before the sound arrives through the air.

#### Why lightning lags so far behind

Light crosses a kilometre in about 3.3 microseconds, effectively instantly; sound needs 2.9 s to cover the same ground at 343.42 m/s. That 900,000-to-one speed gap turns every thunderstorm into a rangefinder. The same lag is why a distant fireworks display looks silent and out of sync, and why the sound of a struck ball arrives a beat late from across a large field.

## FAQ

### What is the speed of sound in air?

About 343.42 m/s at 20 degrees Celsius, or roughly 1,236 km/h. At 0 &deg;C it is 331.3 m/s, which is the reference value in the formula.

### Does temperature affect the speed of sound?

Yes. Warmer air carries sound faster, at about 0.606 m/s for each extra degree Celsius. Going from 0 &deg;C to 20 &deg;C adds 12.12 m/s.

### How do I calculate the speed of sound at a given temperature?

Use v = 331.3 + 0.606T with T in degrees Celsius. At 35 &deg;C the result is 331.3 + 21.21 = 352.51 m/s.

### How far away is lightning if thunder arrives after 6 seconds?

Sound covers about 343 m per second at 20 &deg;C, so 6 s × 343.42 ≈ 2,061 m — roughly 2 km. The classic shortcut of dividing seconds by 3 gives kilometres.

### Is sound faster in water or air?

Much faster in water: about 1,480 m/s versus 343.42 m/s in 20 &deg;C air, a factor of roughly 4.3. Steel is faster still at around 5,100 m/s.

### Why do some sources say 331 m/s and others 343 m/s?

They assume different temperatures. 331.3 m/s is the value at 0 &deg;C; 343 m/s is the value at 20 &deg;C. Both come from the same formula.

### What happens if I enter Fahrenheit by mistake?

The formula would treat the number as Celsius. A 68 &deg;F room entered as 68 &deg;C returns 372.51 m/s instead of the correct 343.42 m/s, an error of about 29 m/s.

### Does humidity change the speed of sound?

Slightly. Humid air is less dense than dry air, raising the speed by roughly 0.1 to 0.3 percent. Temperature is the dominant factor by a wide margin.

### What is Mach 1 at sea level?

Mach 1 is exactly the local speed of sound, about 343 m/s at 20 &deg;C sea-level air. Because the speed depends on temperature, Mach 1 is faster on a hot day than a cold one.

### How accurate is the linear formula?

Very good near everyday conditions. The true law varies with the square root of absolute temperature, and the linear fit is its local approximation; across −40 &deg;C to +40 &deg;C the error stays within a metre per second or so.

## Method and sources

Methodology: Physical constants follow CODATA 2022 recommended values, and formulas follow standard physics definitions.

Last updated: 2026-11-17.
- Speed of sound in air, linear approximation v = 331.3 + 0.606T m/s.
