You can use that formula, however you still need to consider a lot of B31.3 provisions that, in the end, would reveal that using thickness based on pressure is not relevant. For example, in your case 2800mm dia, sustain, local stress, etc. are probably more restrictive in calculation than pressure. But in the end, it depends on the design pressure you/ your Client assumed.