Geometry Calculator
Calculate area, perimeter, and diagonal for all shapes including triangles, squares, rectangles, circles, ellipses, and trapezoids quickly and accurately.
Frequently asked questions
Which shapes can this calculator handle?
It covers nine shapes — right triangle, equilateral triangle, isosceles triangle, general triangle, square, rectangle, circle, ellipse, and trapezoid — calculating area, perimeter (or circumference), and diagonal where applicable. Just select a shape and enter the required values.
Can I get the area of a general triangle from just the three side lengths?
Yes. General and isosceles triangles use Heron's formula, which calculates the exact area from the three side lengths alone, without needing any angles.
Why is the ellipse's circumference an approximation while the circle's isn't?
A circle's circumference has an exact formula (2πr), but there is no exact closed-form formula for an ellipse's perimeter, so an approximation is used instead. The ellipse's area (πab) is still calculated exactly.
How is the diagonal calculated for squares and rectangles?
Both use the Pythagorean theorem. A square's diagonal equals its side length times √2, while a rectangle's diagonal is √(width² + length²).
Can the trapezoid formula be used for other quadrilaterals?
The trapezoid area formula, (top base + bottom base) × height ÷ 2, also works for parallelograms and similar shapes where the top and bottom bases are equal.