In the context of stellar bow shock, the magnetopause is the point where the magnetic field is strong enough to brake the incident wind. The condition is that the magnetic pressure at that point is equal to the ram pressure of the wind
If the planet can be considered as a magnetic dipole, then
where subscript s corresponds to the surface of the planet, and subscript m to the magnetopause. Putting it all together yields
For example, earth's magnetic field is about , the proton density of the solar wind is about and its bulk velocity is about substituting in the formula above yields
where is earth's radius.