Hat pattern for a specific guage of yarn?

Is there any way to find a mens hat pattern for a specific guage of yarn? I have yarn I want to make into a hat, but I’m having a hard time finding a pattern that would work well with it.

Any info and advice is greatly appreciated!

http://www.mielkesfarm.com/bsic_hat.htm

This site gives a formula for a basic hat with any gauge yarn.

This is great, thanks Ingrid!