In order to calculate the volume of a pyramid, we can use the formula below:
Where A is the base area and h is the height.
Since the base is a square, the area is the side length squared:
Now, calculating the volume, we have:
Therefore the correct option is A.