Area & Volume Calculator

10 flat shapes and 8 solids

Choose a Shape
Circle area
-
Perimeter-


2D Area Formulas
ShapeAreaPerimeter
Rectanglewidth × height2 × (width + height)
Squareside²4 × side
Trianglebase × height ÷ 2-
Circleπ × r²2 × π × r
Trapezoid(a + b) × height ÷ 2-
Parallelogrambase × height-
Rhombusd1 × d2 ÷ 24 × √((d1/2)² + (d2/2)²)
Ellipseπ × a × bRamanujan approximation
Sectorπ × r² × angle ÷ 3602r + arc length
Regular polygonn × side² ÷ (4 tan(180°/n))n × side
3D Volume Formulas
ShapeVolumeSurface area
Rectangular boxl × w × h2(lw + wh + hl)
Cubeside³6 × side²
Cylinderπ × r² × h2πr(r + h)
Coneπ × r² × h ÷ 3πr(r + slant height)
Sphere4/3 × π × r³4πr²
Hemisphere2/3 × π × r³3πr²
Square pyramida² × h ÷ 3a² + 2a√((a/2)² + h²)
Triangular prismbase × height ÷ 2 × length-

1 liter = 1,000 cm³; 1 m³ = 1,000 liters; 1 ft³ = 28.32 liters = 7.48 US gallons. A cone's slant height is √(r² + h²).

Formulas & Sources
📐 Wikipedia — Area
📦 Wikipedia — Volume
Last reviewed: 2026-10-19
FAQ
How do I find the area of a circle?
Area = π × r². A circle with a 5-inch radius has an area of about 78.54 in² and a circumference of about 31.42 in.
What is the formula for the area of a trapezoid?
(top + bottom) × height ÷ 2. With sides 4 and 8 and a height of 5, the area is 30.
How do I convert volume to liters or gallons?
Calculate cubic units first: 1,000 cm³ = 1 liter, 1 in³ = 16.387 mL and 1 ft³ = 7.48 US gallons. The calculator shows both.
What are the volume and surface area of a sphere?
Volume = 4/3 × π × r³ and surface area = 4 × π × r². A 10 cm sphere holds about 4,189 cm³ (4.19 L).
Why is a cone one third of a cylinder?
A cone (or pyramid) always has one third of the volume of a cylinder (or prism) with the same base and height.

How to calculate area and volume

2D shapes have an area and a perimeter; 3D shapes have a volume and a surface area. This calculator covers 10 flat shapes — circle, triangle, trapezoid, rhombus, sector, regular polygon and more — and 8 solids including boxes, cylinders, cones and spheres.

Enter the dimensions to see the result and the formula, with volumes converted to liters and US gallons for tanks, planters and containers.

Share