Link 
CALCULATOR : ASME B31.8 841.3 Pipe Hydrotest Pressure And Local Hoop Stress Check From Relative Elevation (Onshore) ... more ...
ASME B31.8 onshore pipe hydrotest pressure and local hoop stress from design pressure and relative elevation.
The leak test pressure is calculated according to ASME B31.8 841.3. The leak test factor is calculated according to Table 841.3.21. The internal pressure should be set to the design pressure at the reference elvation. The reference test pressure is calculated at the reference elevation. The test pressure is calculated at the local elevation. The hoop stress is calculated at the local test pressure.

CALCULATOR : ASME B31.8 841.3 Pipe Maximum Test Pressure And Operating Pressure Using Air Or Gas Test Medium ... more ...
ASME B31.8 steel pipe maximum test pressure and operating pressure using air or gas test medium.
The maximum allowable test pressure and operating pressure are calculated according to ASME B31.8 841.3 and 841.1. The maximum hoop stress to yield stress ratio is taken from Table 841.3.31. The calculated test pressure is the maximum test pressure, and the calculated internal pressure is the maximum operating pressure. For onshore gas pipelines, small changes in pressure due to elevation can usually be ignored. For leak tests on new pipelines use the nominal wall thickness option. For leak tests on old pipelines which may have wall thickness loss, use the minimum wall thickness option.

CALCULATOR : ASME B31.8 841.3 Pipe Test Pressure And Hoop Stress Check ... more ...
ASME B31.8 steel pipe test pressure and hoop stress from design pressure.
The leak test pressure is calculated according to ASME B31.8 841.3, A847.2 and Table 841.3.21. The internal pressure should be set to the design pressure. For offshore platforms and risers the external pressure should be set to zero.

CALCULATOR : ASME B31.8 842.5 Plastic Pipe Test Pressure And Hoop Stress Check ... more ...
ASME B31.8 plastic pipe leak test pressure from maximum operating pressure.
The leak test pressure is calculated according to ASME B31.8 842.5. The minimum leak test pressure is 1.5 times the maximum operating pressure. The test pressure for thermoset plastic pipes shall not exceed 3 times the maximum operaitng pressure. For thermoplastic plastic pipe, the leak test pressure shall not exceed 3 times the maximum operating pressure for pipes operating below 100 degrees Fahrenhite, or 2 times the maximum operating pressure for pipes operating above 100 degrees Fahrenhite. The internal pressure should be set to the maximum operating pressure. In some cases it may be neccessary to check the hoop stress at the leak test pressure.

CALCULATOR : ASME B31.8 A847.2 Pipe Hydrotest Pressure And Local Hoop Stress Check From Relative Elevation (Offshore) ... more ...
ASME B31.8 offshore pipe hydrotest pressure and local hoop stress from design pressure and relative elevation.
The leak test pressure is calculated according to ASME B31.8 A847.2. The leak test factor is calculated according to Table A847.2. The internal pressure should be set to the design pressure at the reference elvation. The reference test pressure is calculated at the reference elevation. The test pressure is calculated at the local elevation. The hoop stress is calculated at the local test pressure.

CALCULATOR : Pipeline Internal And External Pressure From Elevation ... more ...
Pipeline internal and external static pressure from elevation, for single phase liquid, single phase gas, and two phase gas liquid.
External pressure is optional. For onshore pipelines use the ignore external pressure option. The two phase calculation is approximate and should be used for information only. For more accurate results, or to calculate transients, specialised fluid flow software should be used.

WWW LINK : US GPO : CFR 192 Natural Gas Pipelines 