a five by four rectangle
- Shape
- Rectangle
- First dimension
- 5
- Second dimension
- 4
- Third dimension or height
- 0
Area20
arithmetic identity
Open this exampleArea and perimeter for the common plane figures. A triangle given three sides is checked against the triangle inequality first, because three lengths that cannot close have no area.
Also called: area of a shape, surface area 2d.
The area is 20 square units, and the perimeter is 18. Exact for the dimensions given.
Each shape has its own formula. The one that needs care is a triangle from three side lengths: Heron's formula takes the square root of a product that goes negative when the sides cannot form a triangle, which is what the validity check catches. An ellipse has no closed-form perimeter at all, so the figure shown uses Ramanujan's approximation, accurate to a few parts per million.
each shape has its own area formula; a triangle from three sides uses HeronEach of these is asserted on every build. If a change to the engine ever moved one of these answers, the build would fail before the page could print it.
Area20
arithmetic identity
Open this exampleArea6
The classic right triangle: half of 3 times 4
Open this exampleFormula version 1.0.0 · definition 1.0.0 · India · Report a problem with this calculator