A regular pentagonal prism is a solid with two congruent regular pentagons as bases, joined by five rectangles. Because every base edge has the same length, the volume follows directly from that one value and the prism length.
Enter the pentagon side and the prism length to get the volume and the total surface area. The area of a regular pentagon is (5/4)·cot 36° ≈ 1.7205 times the side squared, which is where the constant in the formula comes from.
A regular pentagonal prism uses the base area (1/4)√(5(5 + 2√5))a² ≈ 1.7205a², so a = 6 and h = 10 give a base of 61.94, a volume of 619.37 and a total surface area of 423.87. A regular pentagon does not tile the plane, which is why pentagonal prisms belong to decoration and architecture rather than to packing.