The Mach angle is defined very simply and is based on the speed of sound waves propagating relative to a supersonic source. It is
μ=arcsin1M1
where M is the inflow Mach number. In contrast, the shock angle is defined very differently. For a simple 2D wedge, it is common to use the θ-β-M equation, which is quadratic in M12 and depends on θ (the flow turning angle or wedge angle) and β (the shock angle).
tanθ=2cotβM12sin2β−1M12(γ+cos2β)+2.
Clearly, β≠μ. Additionally, β>μ and μ+θ>β. Finally,
limθ→0β=μ.
The schematic below from Wikimedia commons (and the
oblique shock Wikipedia page) lays out the variables. Note that γ=cp/cv is the ratio of specific heats of the gas.
I will note that the θ-β-M does not work for conical flows, so you have to use the more complicated
Taylor-Maccoll equations to solve for β in that case, though the answers are similar to those for a wedge.