Normal road and mtb helmets end some distance above the ears. The large majority of the noise is air going past and over the ears. The helmet straps in front of the ears can affect this to some degree. Keeping the flat against your head's temples, usually under the temples of any glasses, can help a bit.