Math Calculators

Area and Volume Calculator

Find area, perimeter, volume and surface area of common shapes.

Area, perimeter, volume and surface area

Geometry formulas are needed far beyond the classroom: working out how much paint covers a wall, how many tiles a floor needs, how much water a tank holds or how much fabric covers a cushion. This calculator covers the most common flat (2D) and solid (3D) shapes, shows the formula it uses and gives the answer in the right square or cubic units.

How to use the calculator

  1. Choose the shape and the unit of your measurements.
  2. Enter the measurements shown. All of them must be in the same unit.
  3. Read the results and the formula used.

Key formulas

ShapeArea or volumePerimeter or surface
CircleA = πr²C = 2πr
RectangleA = l × wP = 2(l + w)
TriangleA = ½ × b × hP = a + b + c
TrapezoidA = ½(a + b) × h—
CuboidV = l × w × hSA = 2(lw + wh + lh)
SphereV = ⁴⁄₃πr³SA = 4πr²
CylinderV = πr²hTSA = 2πr(r + h)
ConeV = ⅓πr²hTSA = πr(r + l)

Worked examples

Units matter

Area is measured in square units (cm², m², ft²) and volume in cubic units (cm³, m³). Converting between them is not the same as converting lengths: 1 m = 100 cm, but 1 m² = 10,000 cm² and 1 m³ = 1,000,000 cm³. Convert your measurements to one unit before entering them, or use the Unit Converter.

Frequently asked questions

What value of π is used?

JavaScript's built-in value, 3.141592653589793. School problems that use 22/7 or 3.14 will give slightly different answers.

How do I find the area of an irregular room?

Split it into rectangles and triangles, calculate each one, and add them up.

What is the slant height of a cone?

The distance from the tip down the side to the edge of the base: l = √(r² + h²).