Thread pitch is the axial distance between matching points on adjacent threads. Measure a span covering a known number of complete pitch intervals, then divide span by intervals. This thread pitch calculator reports threads per inch (TPI) and an inch pitch, with a metric conversion below.
It estimates spacing from your measurements rather than identifying a complete thread specification. For a 17.5 mm span across 14 intervals, the exact measured pitch is 1.25 mm and the TPI result is 20.32. The inch pitch rounds before the metric card converts it, so that card shows 1.2446 mm.