Yes, you can use the same formulas for both above-ground and in-ground pools. The shape and dimensions determine the volume, not whether it’s in or above the ground. Just be sure to measure the water depth, not the pool wall height, for the depth value when calculating.