The speed of a sound wave in dry air is calculated with the ideal-gas relationship a = √(γRT), where a is the speed of sound, γ is the ratio of specific heats (1.4 for air), R is the specific gas constant (287.05 J/(kg·K) for dry air), and T is the absolute temperature in kelvin. Plugging 20 °C into that expression gives a = √(1.4 × 287.05 × 293.15) ≈ 343.23 m/s, which is why 343 m/s is the textbook number for a sound wave in a quiet room. To use this formula you only need one number: the air temperature in degrees Celsius. The calculator converts that input to kelvin, evaluates the square root, and reports the result in four common speed units so you can compare it against references in any system. Because the relationship comes from calorically perfect ideal-gas theory, it is fast, transparent, and reproducible by hand, which is why it remains the standard classroom and first-pass engineering estimate for the speed of a small pressure disturbance traveling through air.
The relationship between temperature and the speed of a sound wave is direct: warmer air is faster air. Particles in a warmer gas collide more energetically, so a small pressure disturbance propagates from one region to the next more quickly. This is described independently in standard physics references; OpenStax University Physics Volume 1 notes that warmer gas produces a larger sound speed because its particles transfer the pressure disturbance more rapidly. The NASA Glenn Research Center documents the same ideal-gas relationship and emphasizes that the temperature used in the formula must be absolute. The Speed of Sound Calculator implements both of those requirements, converting the Celsius you enter into kelvin by adding 273.15 before it touches the square root.

Why Temperature Alone Sets the Speed of a Sound Wave
Many readers expect humidity, pressure, or altitude to be required inputs, but for a dry-air estimate the temperature is the dominant variable. The a = √(γRT) expression has no term for humidity, no term for ambient pressure, and no term for elevation; those factors enter only as second-order corrections to a more detailed atmospheric model. If you are working in a physics class, an acoustics lab note, or a first-pass engineering calculation, a single temperature gives you a defensible answer that matches the values printed in most textbooks.
The bounds of the Speed of Sound Calculator reflect that focus. The input field accepts any finite Celsius value from -100 °C through 100 °C, which covers the range from the coldest stratosphere to a hot desert afternoon. Blank fields and out-of-range values produce an explicit error rather than silently substituting zero or clamping the temperature, so a typo will not quietly corrupt your result.
For situations where altitude actually does change the dry-air result, the same calculator sits behind a dedicated walkthrough that explains how the standard atmosphere profile shifts the answer. If your scenario involves a specific elevation rather than a single temperature point, the guide on calculating speed of sound at different altitudes shows how to chain the calculator with an altitude-to-temperature step.
Inside the Equation a = √(γRT)
Every part of the result comes from a small set of constants that the calculator prints next to the answer so you can audit them. The full expression evaluated by the tool is √(1.4 × 287.05 × T), where T is the kelvin temperature produced by adding 273.15 to your Celsius input.
- γ (gamma) = 1.4 — the ratio of specific heats for diatomic air. It captures how much a parcel of air heats up when you compress it quickly, which is exactly what a pressure disturbance does as it moves through the medium.
- R = 287.05 J/(kg·K) — the specific gas constant for dry air. It links the universal gas constant to the molecular weight of air.
- T (kelvin) — the absolute temperature. The formula requires absolute temperature; this is why Celsius is converted by adding 273.15.
Worked example at 20 °C:
- Convert to kelvin: T = 20 + 273.15 = 293.15 K
- Multiply the constants by T: 1.4 × 287.05 × 293.15 = 117,808.19
- Take the square root: √117,808.19 ≈ 343.23 m/s
That 343.23 m/s figure is what the calculator displays when you enter 20, and the unit conversions downstream are exact arithmetic derived from that one unrounded number. A different calculator that rounds constants early, applies a linear approximation, or folds in humidity may give a value that differs by a fraction of a percent; the page shows its own constants precisely so that gap is never a mystery.
How to Run the Calculation in the Calculator
The tool runs the formula locally in your browser, requires no account, and updates the result the instant you change the temperature. To get a speed of sound wave estimate:
- Open the Speed of Sound Calculator.
- Enter the dry-air temperature in degrees Celsius, anywhere from -100 through 100. Use a thermometer reading, a standard-atmosphere table, or a weather station value.
- Read the meters-per-second result immediately below the input, alongside the three converted speed units.
- Confirm the kelvin value and the constants printed next to the result, so you know which version of the dry-air model produced the number.
- Click the copy button next to the m/s value if you need to paste it into a lab report, worksheet, or engineering note.
Because the calculation happens in the browser, refreshing the page resets the input but does not lose your last result if you keep the tab open. The temperature stays visible after you enter it, so you can nudge the value up or down to compare nearby conditions such as a warm room versus a cool hallway.
Reading the Four Output Units
Only one physical number is calculated. The four displayed units are that single meters-per-second value converted by exact factors, so the underlying speed never drifts between displays. The exact multipliers used internally are:
| Output unit | Conversion from m/s | Typical use |
|---|---|---|
| m/s (meters per second) | 1 (no conversion) | SI physics, textbook values |
| km/h (kilometers per hour) | × 3.6 | European speed limits, weather reports |
| mph (miles per hour) | × 2.2369362920544 | U.S. aviation weather, METAR remarks |
| knots | × 1.9438444924406 | Maritime and aviation navigation |
For 20 °C the underlying value is 343.23 m/s; the calculator displays that single number plus its exact conversions to km/h, mph, and knots using the factors in the table. None of them is a Mach number adjusted for a separate local atmosphere; they are the same modeled speed rendered in different units. If your application demands a Mach number, divide the m/s result by the local speed of sound rather than by some fixed reference.
What the Estimate Does Not Cover
The dry-air ideal-gas relationship is deliberately bounded, and the calculator is explicit about the cases where another model is the better choice.
- Humidity. Real moist air has a slightly different composition, so a moist-air model can give a marginally different speed from the dry-air estimate.
- Wind. The equation describes propagation relative to the modeled air. A wind component along the path of the sound will add to or subtract from the observed speed over the ground.
- Strong gradients and refraction. Temperature or wind that changes sharply with height can bend a sound path; that physics lives outside the single-point formula.
- Other gases, liquids, and solids. The constants γ and R are specific to dry air. Helium, carbon dioxide, water, and steel each need their own values.
- Shock waves and reacting flows. The constant γ = 1.4 is a calorically perfect-air approximation. It works across the bounded everyday temperature range here, but it is not a high-temperature reacting-flow or real-gas solver.
For classroom checks, quick acoustics estimates, unit comparisons, or a transparent first-pass engineering number, the Speed of Sound Calculator is exactly the right tool. For flight safety, meteorology, certified instrumentation, or experimental work, measure the local conditions and use a validated atmospheric model; retain the source's own atmospheric model whenever exact agreement with another published number is required.
For a deeper look, see The Celsius to Fahrenheit Formula: How It Works.