For standard structural nuts and bolts, no "stick-thru" is required. The end of the nut must only be flush with the end of the bolt.
For self-drilling screws in light-gauge steel, three threads need to be exposed beyond the parts connected.
This is for building construction per AISC and AISI and manufacturer recommendations. These may be different for other applications or disciplines.