How do You Find the Volume of a Pyramid?

The general formula for the volume of a pyramid is: area of the base times the height times 1/3. The volume of a pyramid with a rectangular base is equal to: length of base times the width of base times the height times 1/3. Too confusing for me.