You can use the equation for the pressure stress calculation and take pressure difference dP instead of pressure P.