A minimum of three pipe diameters (i.e. 12” on 4” pipe) is the accepted rule.