Since the shocks form when the local air velocity reaches supersonic speeds, there is a certain "critical mach" speed where sonic flow first appears on the wing. There is a following point called the drag divergence mach number where the effect of the drag from the shocks becomes noticeable. This is normally when the shocks start generating over the wing, which on most aircraft is the largest continually curved surface, and therefore the largest contributor to this effect.