Mach Number Calculator

Pri Geens

Pri Geens

Mach Number Calculator

Calculation Results

Mach Number 0.00
Calculations use standard ideal gas formulas for dry air. The speed of sound depends primarily on temperature. Computations assume a specific heat ratio (γ) of 1.4 and a specific gas constant (R) of 287.05 J/(kg·K).

What Is a Mach Number Calculator?

A Mach Number Calculator compares an object’s speed with the local speed of sound. Mach 1 means the object is moving at the calculated speed of sound. Mach 2 means it is moving twice as fast. Because the speed of sound changes with temperature, the same object speed can produce different Mach numbers under different temperature conditions.

This calculator finds Mach number from speed or finds object speed from Mach number. It first calculates the local speed of sound using air temperature, a specific heat ratio of 1.4, and a gas constant of 287.05 J/(kg·K). It then displays the result and the corresponding flight regime.

In speed-to-Mach mode, you can enter speed in meters per second, kilometers per hour, miles per hour, knots, or feet per second. In Mach-to-speed mode, the result appears in meters per second, with additional conversions to kilometers per hour, miles per hour, and knots.

How the Mach Number Calculator Formula Works

The calculator first converts the entered air temperature to kelvin. It then uses the ideal-gas formula for the speed of sound in dry air.

a=γRTa=\sqrt{\gamma RT}

In this formula:

  • a is the local speed of sound in meters per second.
  • γ is the specific heat ratio, fixed at 1.4.
  • R is the specific gas constant, fixed at 287.05 J/(kg·K).
  • T is the air temperature in kelvin.

To calculate Mach number from object speed, the calculator uses:

M=vaM=\frac{v}{a}

Here, M is Mach number, v is object speed in meters per second, and a is the local speed of sound.

To calculate object speed from Mach number, it reverses the calculation:

v=M×av=M\times a

Worked Example

Assume the air temperature is 15°C and the object speed is 340 m/s. The calculator converts 15°C to 288.15 K. It then calculates the local speed of sound:

a=1.4×287.05×288.15340.29 m/sa=\sqrt{1.4\times287.05\times288.15}\approx340.29\text{ m/s}

Next, it divides the object speed by the local speed of sound:

M=340340.290.999M=\frac{340}{340.29}\approx0.999

The displayed result is Mach 0.999. Under the calculator’s classification rules, this is transonic because it falls between Mach 0.8 and Mach 1.2, including both boundaries.

The method assumes dry air and constant gas properties. It does not adjust for humidity, altitude, air composition, pressure effects, or changing atmospheric layers. Temperature must not be below absolute zero. At exactly 0 K, the formula produces a speed of sound of zero, so a speed-to-Mach calculation may not give a useful physical result.

How to Use the Mach Number Calculator: Step by Step

  1. Select Calculate Mach Number (from Speed) or Calculate Object Speed (from Mach).
  2. Enter the air temperature for the conditions you want to evaluate.
  3. Select Celsius, Fahrenheit, or kelvin as the temperature unit.
  4. In Mach-number mode, enter the object speed and select m/s, km/h, mph, knots, or ft/s.
  5. In object-speed mode, enter the Mach number. The speed-unit selector is hidden because the main result is always shown in meters per second.
  6. Select Calculate to display the result, local speed of sound, and flight regime.
  7. Select Reset to return to Mach-number mode with 15°C and 340 m/s as the default entries.

In Mach-number mode, the main output is shown to a maximum of three decimal places. The result details also show object speed in meters per second and the calculated local speed of sound. In object-speed mode, speeds are shown to a maximum of two decimal places in m/s, km/h, mph, and knots.

How to Read Your Mach Number Calculator Result

A Mach number is a ratio, not a fixed speed. Mach 1 does not always equal the same number of miles per hour because the local speed of sound depends on temperature. In warmer air, the calculated speed of sound is higher. In colder air, it is lower.

Flight Regime Categories

Mach NumberDisplayed Flight Regime
Below 0.8Subsonic
0.8 through 1.2Transonic
Above 1.2 and below 5.0Supersonic
5.0 or higherHypersonic

These categories come directly from the calculator’s decision rules. For example, Mach 1.2 is labeled transonic, while a value slightly above Mach 1.2 is labeled supersonic. Mach 5.0 is labeled hypersonic.

Temperature Conversions

Celsius values are converted to kelvin by adding 273.15. Fahrenheit values are converted to Celsius first, then to kelvin. Kelvin values are used directly. The calculator rejects temperatures below 0 K because they are below absolute zero.

Important Limitations

The result is an estimate based on the ideal-gas model for dry air. Actual acoustic conditions can differ because of humidity, gas composition, atmospheric variation, and measurement error. The calculator does not model aircraft performance, aerodynamic drag, shock waves, pressure altitude, or structural limits. Use the output as a technical estimate, not as operational aviation or engineering advice.

Frequently Asked Questions

What does Mach number mean?

Mach number shows how fast an object is moving compared with the local speed of sound. Mach 1 equals the calculated speed of sound, Mach 0.5 equals half that speed, and Mach 2 equals twice that speed. The ratio changes with temperature because the local speed of sound also changes.

How do I calculate Mach number from speed?

Enter the air temperature, select its unit, and enter the object speed. Then choose the speed unit and calculate. The tool converts the speed to meters per second, calculates the local speed of sound, and divides object speed by that value to produce the Mach number.

How do I convert Mach number to miles per hour?

Select the option to calculate object speed from Mach. Enter the air temperature and Mach number, then calculate. The tool multiplies Mach number by the local speed of sound and displays the result in meters per second, kilometers per hour, miles per hour, and knots.

Why does Mach 1 change with temperature?

Mach 1 changes because the speed of sound depends on absolute temperature. The calculator uses the square root of temperature in kelvin. A higher temperature produces a higher calculated speed of sound, while a lower temperature produces a lower value under the same dry-air assumptions.

What speed units can I use in the calculator?

For speed-to-Mach calculations, you can enter meters per second, kilometers per hour, miles per hour, knots, or feet per second. The calculator converts the selected unit to meters per second before calculating. In Mach-to-speed mode, it reports m/s, km/h, mph, and knots.

How accurate is this Mach Number Calculator?

The calculator accurately follows its stated ideal-gas formula using γ = 1.4 and R = 287.05 J/(kg·K). Real atmospheric results may differ because the tool does not account for humidity, changing gas properties, altitude-based atmospheric models, or instrument error. Treat the result as an estimate.

What happens if I enter an invalid value?

The calculator displays an error when the temperature or main input is not numeric, when the speed or Mach input is negative, or when the converted temperature is below 0 K. Zero is accepted as a main input, although some zero-temperature calculations may not be physically useful.