Here is a Formula
Area of the Primary Tube (PPA) = (peak torque rpm ÷ 88,200) x (c.i.d. ÷ number of cylinders)
For example, let's look at a 350 c.i.d. small block with a peak torque goal of 5,000 rpm.
PPA = (5,000 rpm ÷ 88,200) x (350 c.i. ÷

PPA = 0.057 x 43.75 c.i.
PPA = 2.49 square in.
PPA Primary Tube Diameter
1.78 square in. 1 1/2 in.
2.07 square in. 1 5/8 in.
2.41 square in. 1 3/4 in.
2.76 square in. 1 7/8 in.
3.14 square in. 2 in.
There is several links if you search exhaust header size. Mike