What size thread is a M12 connector?

What size thread is a M12 connector?

The M12 name comes from the metric thread on the coupling nut and mating socket of most connectors. They are basically 12 mm diameter fasteners with an M12 thread.