You can use this tool to easily calculate stresses for cylindrical and spherical pressure vessels using Barlows Formula. This app will also allow you to estimate the wall thickness necessary to withstand known pressures and stresses.