Is it based on the formula (what formula?) or based on the simulation (maybe the greatest stress ?) or is it based maximum allowable stress of the material (S) ?
Depending on where you are in the world there is for most countries (dont know any exceptions) thoroughly and very detailed rules on how pressurized constructions (any kind of vessel) should be fabricated and tested/certified for the given use. Check locally.