How to use this calculator
Compare an object or flow speed with the local speed of sound to calculate Mach number.
- Enter Object or flow speed, Local speed of sound. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
How this calculation works
Mach number is a dimensionless ratio used to describe motion relative to acoustic propagation in the surrounding medium. Enter the object or flow speed and local speed of sound in the same units; the result is a ratio and does not depend on which matching speed unit you choose.
Inputs and units
speed— Object or flow speed- Speed in metres per second (m/s).
soundSpeed— Local speed of sound- Sound speed in the same medium and conditions, also in metres per second (m/s).
Formula
Mach number = object or flow speed ÷ local speed of sound.
Method
Divide the measured or modeled speed by the sound speed at the same location and medium conditions. If you do not already know sound speed, obtain it from a separate atmospheric or material-property calculation rather than assuming a fixed value for every environment.
Worked example
At 680 m/s in a medium where sound travels at 340 m/s, Mach number is 680 ÷ 340 = 2.0.
Assumptions and limits
This page does not compute sound speed from temperature or gas properties. Local sound speed changes with the medium and thermodynamic state; matching units and conditions are essential for a meaningful ratio.
Frequently asked questions
Does Mach number have units?
No. It is a ratio of two speeds expressed in matching units.
Can I use the speed of sound at sea level for any altitude?
No. Use the local sound speed for the medium and conditions being modeled.
Does this calculator find the speed of sound?
No. It accepts sound speed as an input so you can use a measured value or one obtained from an appropriate atmospheric or material model.
How do I use the Mach Number Calculator?
Enter Object or flow speed, Local speed of sound. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Mach Number?
At 680 m/s in a medium where sound travels at 340 m/s, Mach number is 680 ÷ 340 = 2.0.
Reference: NASA Glenn definition of Mach number as speed divided by sound speed. See our calculation methodology.