Many authors define dynamic pressure only for incompressible flows. (For compressible flows, these authors use the concept of impact pressure.) However, the definition of dynamic pressure can be extended to include compressible flows.
For compressible flow the isentropic relations can be used (also valid for incompressible flow):
Where: