Finance 44 tools → Date 19 tools → Health 27 tools → Everyday 23 tools → Math 19 tools → Construction 16 tools → PDF 23 tools → Education 10 tools → Conversion 7 tools → Text 12 tools → Image 8 tools → About → Contact →

Geometry Calculator

Which measurement each shape uses: circle 1 = radius; rectangle 1 = length, 2 = width; square 1 = side; triangle 1 = base, 2 = height; cube 1 = side; box 1 = length, 2 = width, 3 = height; sphere 1 = radius; cylinder 1 = radius, 2 = height; cone 1 = radius, 2 = height. See the full guide table in the content below.

Runs entirely in your browser — your numbers are never sent anywhere.

Area / surface area
—

Detail

Formula substitution steps

Area, perimeter, surface area and volume in one place

Geometry questions in homework, DIY and work tend to ask for one of four quantities. Perimeter is the distance around a flat shape (circumference for a circle), measured in ordinary units. Area is the surface a flat shape covers, in square units. Surface area is the total outside surface of a solid, also in square units. Volume is the space a solid fills, in cubic units. This calculator covers nine common shapes: pick the shape, enter its measurements using the guide below, and the headline shows the area (or surface area for solids), with the perimeter or volume alongside.

Which measurement each shape uses

ShapeMeasurement 1Measurement 2Measurement 3Results
CircleRadius——Area, circumference
RectangleLengthWidth—Area, perimeter
SquareSide——Area, perimeter
TriangleBaseHeight—Area only (perimeter needs all 3 sides)
CubeSide——Surface area, volume
BoxLengthWidthHeightSurface area, volume
SphereRadius——Surface area, volume
CylinderRadiusHeight—Surface area, volume
ConeRadiusHeight—Surface area, volume

Unused measurements are simply ignored, so a circle only reads Measurement 1. Radius means the distance from the centre to the edge — half the diameter. If you were given a diameter, halve it before entering it, the single most common geometry input error.

The formulas

Circle: A = πr2, C = 2πr  ·  Rectangle: A = lw, P = 2(l + w)  ·  Triangle: A = bh ÷ 2  ·  Cube: SA = 6s2, V = s3  ·  Sphere: SA = 4πr2, V = (4/3)πr3  ·  Cylinder: SA = 2πr(r + h), V = πr2h  ·  Cone: SA = πr(r + √(h2 + r2)), V = (1/3)πr2h

Every volume here is built from a base area times a height, with two famous adjustments: a sphere packs (4/3)πr3, and a cone is exactly one third of the cylinder on the same base and height. The cone surface area needs its slant height — the distance up its sloping side — which Pythagoras gives as √(h2 + r2) from the vertical height and radius. The step-by-step panel substitutes your measurements into the relevant formula so you can audit the arithmetic.

Worked example

A rectangle 8 units long and 5 units wide has area 8 × 5 = 40 square units and perimeter 2 × (8 + 5) = 26 units. A circle of radius 5 has area pi × 25 = about 78.5398 and circumference about 31.4159.

How to use this calculator

  1. Choose your shape from the list.
  2. Look at the guide table or the note under the fields to see which measurements that shape uses.
  3. Enter the measurements in the matching numbered fields — halve a diameter to get a radius first.
  4. Read the area or surface area in the green panel, and the perimeter or volume in the breakdown.
  5. Check the substitution steps below to confirm the formula and numbers.

Units: the quiet source of wrong answers

Geometry formulas only work when every measurement shares one unit. A garden 5 metres by 300 centimetres must be converted first (5 m by 3 m, area 15 m2), and areas then come out in square units while volumes come out in cubic units — 1 m2 is 10,000 cm2, not 100, because the conversion factor is squared along with the unit. For real projects, add a margin: paint, tiles, turf and concrete are all easier to over-order slightly than to match later, and cutting waste is real. For circular areas in landscaping or paving, this calculator plus a 5–10% allowance is a solid estimating habit.

Frequently asked questions

Why does the triangle not show a perimeter?
Perimeter needs the lengths of all three sides. Base and height determine the area completely, but many different triangles share the same base and height with different side lengths and perimeters, so no honest perimeter can be calculated from those two measurements alone.
Should I enter the radius or the diameter?
Enter the radius — the distance from the centre to the edge. If your measurement goes across the whole circle through the centre, that is the diameter; halve it first. Entering a diameter as a radius quadruples the area, a very common error.
What is slant height on a cone?
It is the distance from the tip down the sloping surface to the edge of the base, longer than the vertical height. The calculator works it out from your radius and height using Pythagoras: slant = square root of (h squared + r squared).
Keep going

Related math calculators