The indication of size (shown in millimeters) corresponds to the diagonal of the longest side of the button. The indicated size i. e. of a foursquare button corresponds to the distance between the top left and the down right of the button (diagonal).