Both represent the size of the gear tooth, the module is used in the metric system, the larger the number, the larger the gear tooth; DP is used in the imperial system, the higher the number, the smaller the gear tooth.
Represents the total size of a gear tooth
Measured in inches
1 diametral pitch = 25.400 module