Danger Danger Warning Warning!! Sorry for that, Robbie the Robot's favorite warning or forecast

and I couldn't help myself
Bolt torque, and flanges and pipe, easy!
"John H Bickford", from memory gives:
Tin = Fp.d.k ((lb.in, NOT! lb.ft) or (N.m)), where Tin = Torque input, Fp = Bolt preload, d = nominal bolt diameter, and k is a fudge factor depending on many variables. The most important of which is the Friction on the bolt/nut threads "which make the bolt work".
The wee calc above, gives an close approximation (10 to 20 percent (%)) to much longer and more detailed calc(s) and methods.
There are many! parametres! to be taken into account. Too many to list here anyway!
Go to the library and ask them for "John H Bickford" title on "Introduction to the design and behavior of bolted joints"
Kind regards
Deezul