The paper describes created applications for matching the dimensions of tight keys to shafts and design proposal of a slot for tight keys in the shaft and in the hub. The designed application determines basic dimensions in dependence on shaft diameter: breadth, height of the key and specifies the depth of the slot in the shaft and in the hub with corresponding marginal deviations of dimensions. The application is created in the NetBeans program by the Java programming language. The application can be used by technically oriented students as well as workers in the technical field.