For reference, check measurements 1 and 2 on a hat you already own.
Measure from the outer edge of the brim inward to the base of the hat.
Measure around the circular inside edge of the hat's head hole. For a more accurate fit, measure your head circumference.
Measure all the way around your head, with the measuring tape sitting just above your ears.