BeanNestTools

Shape calculator

Area and perimeter, with the shape rules checked for you.

Choose rectangle, circle, or triangle. Values are unit-agnostic, so use one consistent length unit and read area in the corresponding squared unit.

Choose a shape

Use the same unit for every dimension. All lengths must be greater than zero.

Result—

Enter values and calculate to see the formula here.

Ready.

Formulas

Rectangle

Area = width × height. Perimeter = 2 × (width + height).

Circle

Area = πr². Circumference = 2πr. Results using π are shown as practical decimal approximations.

Triangle

Perimeter is the sum of the three sides. Area uses Heron’s formula after confirming the three lengths satisfy the triangle inequality.

Why does the triangle calculator reject some positive lengths?

Any two triangle sides must add to more than the third side. If that condition fails, the lengths cannot form a non-degenerate triangle.

Which measurement unit does the calculator use?

It is unit-agnostic. If lengths are in centimetres, perimeter is in centimetres and area is in square centimetres; the same pattern applies to other consistent units.

Keep checking

More calculators

Working notes

How to use this tool

  1. Choose a rectangle, circle, or triangle.
  2. Enter the required dimensions or sides, using the same unit for every length.
  3. Read the area and perimeter or circumference with the formula shown.
  4. Check that the triangle sides actually form a valid triangle before using the result.

Limits to know

Results are numeric calculations with the unit you supply; the page does not convert units automatically. Triangle validity is checked, but a numerically valid triangle can still be a poor model of a physical object. Circle results use the browser's value of pi.

What stays on this device

Dimensions are calculated in this tab and are not uploaded.

Related tools

Common questions

Which unit is the result in?

The result uses the same unit as your input. If lengths are in centimeters, area is in square centimeters and perimeter is in centimeters.

Why does my triangle get rejected?

The two shorter sides must add up to more than the longest side. A degenerate triangle with zero area is not accepted.