The standard ISO 5218 defines the representation of the human sexes by a numeric digital code. It was created by the Data Management and Interchange Technical Committee and proposed in November 1976.
The goal is to represent in a reliable way the human sex in an information system.
The codes used are:
This standard for example is used in France for the INSEE number .