Screw threads are a bit of a mine field, especially for pipes.
For example the British Standard Pipe thread, refers to the bore size of the pipe and not the size of the thread.
In addition to the diameter of a thread, the form of the thread needs to be considered along with the pitch
of threads...