Android app on Google Play

Frustum of a pyramid

Drawing of a frustum pyramid
The volume of a frustum of a pyramid is given by:

V=frac{h}{3}*(B_1+B_2+sqrt{B_1*B_2})

where V is the volume, h is the height of the frustum, B1 is the lower base’s area and B2 is the upper base’s area.

Calculate the volume of a frustum of a pyramid

Please enter the height of the frustum (h), the area of the lower base (B1) and the area of the upper base (B2)

The lower base (B1): 
The upper base (B2): 
Height (h):