The stated size of a cotter pin is determined by the diameter of the hole it is designed to fit into, therefore the actual diameter of the pin will be slightly under the stated size to allow for clearance.
The length of a pin is measured not including the eye, from the base of the eye to the end of the shortest leg.