Account

What new tool do you want?

Math & Education

Area, Perimeter & Volume Calculator

Calculate the area and perimeter of 2D shapes (circle, rectangle, triangle, trapezoid, ellipse, hexagon) and the volume and surface area of 3D solids (sphere, cylinder, cone, box, pyramid).

How to use

  1. 1Pick a shape.
  2. 2Enter its dimensions in any unit — results are in the same unit (squared or cubed).

How it's calculated

Circle: A = πr², C = 2πr. Sphere: V = 4⁄3πr³, S = 4πr². Cylinder: V = πr²h. Cone: V = ⅓πr²h. Ellipse perimeter uses Ramanujan's approximation.

Frequently asked questions

What units are the results in?

The same unit you enter, squared for area and cubed for volume — cm in, cm² and cm³ out.

How do I find the area from a circle's diameter?

Halve the diameter to get the radius first: a 10 cm diameter circle has r = 5 cm and area ≈ 78.54 cm².

How do I convert cubic feet to gallons?

1 ft³ ≈ 7.48 US gallons, and 1,000 cm³ = 1 litre.

Why units always come out squared or cubed

Area multiplies two length measurements together (like side × side for a square), so whatever unit you enter comes back multiplied by itself — centimetres become square centimetres. Volume multiplies three length dimensions, so it comes back cubed. This is also why doubling every dimension of a shape doesn't double its area or volume: doubling a cube's side multiplies its surface area by 2² = 4 and its volume by 2³ = 8, which is the same scaling law behind why a slightly bigger pizza has disproportionately more topping-covered area than its price usually reflects.

Worked example: Area, Perimeter & Volume Calculator

A sphere with radius 3 has volume (4/3)π(3³) = 113.097 and surface area 4π(3²) = also 113.097 — those two numbers matching is a coincidence specific to radius 3 (the ratio of volume to surface area for a sphere is r/3, so they're only numerically equal when r = 3), not a general rule. A cone with radius 3 and height 4 has volume (π × 3² × 4) ÷ 3 ≈ 37.699, using the slant height computed internally via the Pythagorean theorem (√(r² + h²) = √(9+16) = 5) to get the lateral surface area, for a total surface of about 75.398.

Ellipse perimeter is the one formula here without an exact answer

Unlike a circle's circumference (2πr, exact), there's no simple closed-form formula for an ellipse's perimeter — it requires an elliptic integral that can't be written with elementary functions. This calculator uses Ramanujan's second approximation, which is extremely accurate (typically accurate to many decimal places for most practical aspect ratios) but is still technically an approximation rather than an exact value, unlike every other perimeter and area formula on this page.

One set of input fields adapts to fourteen different shapes

Rather than building a separate form for each shape, this tool keeps three generic dimension fields and shows only as many as the selected shape actually needs — a circle shows just one (radius), a box shows all three (length, width, height), and the field labels' hint text changes to suggest what each one means for the current shape. That's also why switching shapes mid-session can leave a 'dimension 3' value sitting unused in the background: the field only reappears, with whatever number was last typed into it, if you pick a shape that needs a third dimension again.

Related tools

More: Math & Education