I spent part of the weekend trying to figure out the thread count on some bolts on the truck.

I know there must be an easier way than determining the bolt diameter then just guessing if it is fine or course thread and trying different nuts to fit at the store.

Any suggestions that will make this easier?