I believe that there is a general rule for fasteners:
The thread engagement of a fastener should be equal to or greater that its diameter/width. A 3/8 bolt should engage the threaded hole a minimum of 3/8 of an inch.
Its the same with lug nuts, at least thats been my own practice.