# Pyramid Volume and Surface Area

Calculate the volume and surface area of a rectangular pyramid.

*This calculator works for any measurement unit. For example, if you calculate inches, inches will have to be used in all the length fields, and the result of the areas will be square inches; the volume results in cubic inches and length measurements in the starting unit inches.
*

#### Calculation

- the length of the base
- the width of the base
- the height of the pyramid
- decimal precision, number of digits after the decimal point

#### Results

- the pyramid volume (unit cubed)
- the base area of the pyramid (unit squared)
- the lateral area (unit squared)
- the surface area (unit squared)
- o to p diagonal of the base (starting unit)
- the hip length (outside diagonal) (starting unit)
- angle a (degrees)
- angle b (degrees)
- angle c (degrees)
- surface area to volume ratio (decimal)

##### Formula

V = LWH/3
BA = LW
LA = L√(W/2)²+H²+W√ (L/2)²+H²
SA = LW+L√(W/2)²+H²+W√ (L/2)²+H²
D = √L²+W²
HL = √(D/2)²+H²
a = sin-1(H/(D/2))
b = tan-1(H/(W/2))
c = tan-1(H/(L/2))
s/v = SA/V
where V is the volume of the pyramid
L the lenght of the base
W the width of the base
H the height of the pyramid
BA the area of the base
LA the lateral suface area
SA the surface area of the pyramid
D the base diagonal length
HL the length of the hip (outside edge)
a the angle of the hip
b the angle at the length side
c the angle at the width side
s/v is the surface area to volume ratio