Atmospheric pressure formula is the weight of air per unit area. Its value varies with altitude. The value of atmospheric…