Your local building codes may specify this based on the size of your shed. If not, a general rule is one shed foundation pier at least every 8-10 feet along the width and length of your shed. For example, you would need 6-9 piers for a 10×12 shed. You would need 15-18 piers for a 16×40 shed.