Area and Perimeter Calculator (Square, Rectangle, Parallelogram, Trapezoid, Rhombus)
Calculate the area, perimeter and diagonals of a square, rectangle, parallelogram, trapezoid or rhombus.
How to use this calculator
Choose the shape and enter the measurements listed beside it; unused boxes are ignored. Use any unit, as long as all lengths use the same one: areas come out in that unit squared. For a trapezoid, leave the legs at 0 to assume an isosceles trapezoid.
Formula
Square: A = a², P = 4a, diagonal a√2. Rectangle: A = ab, P = 2(a + b), diagonal √(a² + b²). Parallelogram: A = a × h, P = 2(a + b). Trapezoid: A = (a + b) ÷ 2 × h; isosceles leg = √(h² + ((a − b) ÷ 2)²). Rhombus with diagonals a and b: A = ab ÷ 2, side = √((a ÷ 2)² + (b ÷ 2)²), P = 4 × side.
Calculator credits
Calculator developmentJulia Edwards
Editorial supervisionSamad Aslam Khan
Expert reviewIfrahMSc Mathematics
Published byThe Calculatorz
Last updated
Read how we research, test, review and correct our calculators in our editorial policy.
Frequently asked questions
What is the difference between area and perimeter?
Area is the space inside a shape, in square units. Perimeter is the distance around it, in ordinary length units.
Why do I need the height for a parallelogram?
Area depends on the perpendicular height, not the slanted side. A leaning parallelogram has less area than a rectangle with the same sides.
What is an isosceles trapezoid?
A trapezoid whose two non-parallel sides (legs) are equal, so it is symmetric.
How is a rhombus different from a square?
All four sides are equal in both, but a rhombus's angles need not be 90°. Its area is half the product of its diagonals.
Can I mix metres and centimetres?
No. Convert all measurements to the same unit first.
Where are the triangle and circle?
Use the Triangle Area, Triangle Solver, Circle and Regular Polygon calculators.
References & methodology sources
These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.
- Kirk, D. (2023). Area. In Contemporary mathematics (Section 10.6). OpenStax. View source
- Kirk, D. (2023). Polygons, perimeter, and circumference. In Contemporary mathematics (Section 10.4). OpenStax. View source
- Abramson, J. (2021). Precalculus 2e. OpenStax. View source
- Kirk, D. (2023). Contemporary mathematics. OpenStax. View source