Skip to content

Geometry Calculator

Area, perimeter and volume of common shapes.

How to use

Geometry Calculator for Area, Volume and Perimeter

This geometry calculator finds area, perimeter, surface area, volume and diagonals for eleven shapes. Pick a shape, enter its measurements, and the results appear immediately without pressing a button.

How to use it

  • Select a shape: Circle, Rectangle, Triangle (base, height), Triangle (3 sides), Right triangle, Trapezium, Sphere, Cylinder, Cone, Cube or Cuboid.
  • Fill in the fields shown for that shape, such as radius, height or side lengths. Values must be zero or positive.
  • Read the result cards. Depending on the shape these include Area, Perimeter, Circumference, Diagonal, Hypotenuse, Slant height, Volume and Surface area.
  • Results are rounded to six decimals. The tool has no unit field, so use the same unit for every input and read the answer in that unit (squared or cubed for area and volume).

Formulas / rules

Circle: A = πr², C = 2πr. Rectangle: A = lw. Triangle: A = ½bh, or Heron's formula with s = (a+b+c)/2. Trapezium: A = ½(a+b)h. Sphere: V = 4/3 πr³. Cylinder: V = πr²h, surface area = 2πr(r+h). Cone: V = ⅓πr²h with slant height l = √(r²+h²).

Worked example: a cylinder with r = 7 and h = 10 has V = π × 49 × 10 = 1539.38 and surface area 2π × 7 × 17 = 747.699.

For a triangle with sides 3, 4 and 5, Heron's formula gives s = 6 and area √(6×3×2×1) = 6. If the sides cannot form a triangle, the tool says so.

Study tips

  • Draw the shape before using a formula, and label what each number means.
  • Do not mix units. Convert centimetres and metres first.
  • Watch for the slant height of a cone: it is not the same as the vertical height.
  • In exams, leave answers in terms of π when asked, and use the tool afterwards to check the decimal value.
Need a Ready-to-Launch Website in 24 Hours?
Want to launch an e-commerce store, portfolio, or business website without coding from scratch? Explore finished, mobile-ready websites with free full setup and 100% code ownership at Nowvelle.

Frequently asked questions

Which shapes can I calculate?

Circle, Rectangle, Triangle by base and height, Triangle by three sides, Right triangle, Trapezium, Sphere, Cylinder, Cone, Cube and Cuboid. Pick one from the dropdown and the input boxes change to match it.

What units does the geometry calculator use?

It has no unit setting. It just calculates with the numbers you enter, so use one consistent unit. If you enter centimetres, area comes out in square centimetres and volume in cubic centimetres.

What if my three triangle sides are invalid?

In the Triangle (3 sides) option, the calculator uses Heron's formula. If the sides cannot form a triangle, because the two shorter sides do not add up to more than the longest, it shows a message that they are not valid.