Skip to content
thecalculatorstudio

Area Calculator for Common Shapes

Pick a shape and enter its lengths. You get the area in square units, plus the perimeter, diagonal, arc length or other measures that follow exactly from your inputs.

Last reviewed

m
m

Area

96 m²

rectangle

Perimeter
40 m
Diagonal
14.4222051019 m

Area is measured in square units: a length of 12 m by 8 m gives 96 m². Use the same unit for every length.

Area formulas

Area is the amount of flat surface inside a shape, measured in square units. Pick the shape and the calculator applies its formula to the lengths you enter:

Shape Inputs Area
Rectangle length l, width w l × w
Triangle base b, height h ½ × b × h
Circle radius r π × r²
Trapezoid parallel sides a and b, height h ½ × (a + b) × h
Parallelogram base b, height h b × h
Ellipse semi-axes a and b π × a × b
Rhombus diagonals p and q ½ × p × q
Regular polygon n sides, side s ¼ × n × s² × cot(π ÷ n)
Sector radius r, angle θ ½ × r² × θ (θ in radians)

The trapezoid, parallelogram, ellipse, rhombus, sector and regular polygon formulas are those given by Wolfram MathWorld. For a sector the calculator takes the angle in degrees and converts it to radians, by multiplying by π ÷ 180.

Extra measures

Where they follow exactly from your inputs, the calculator also gives:

  • Rectangle: the perimeter 2(l + w) and the diagonal √(l² + w²).
  • Circle: the circumference 2πr and the diameter.
  • Rhombus: the side, √(p² + q²) ÷ 2, and the perimeter, 4 times the side.
  • Regular polygon: the perimeter n × s.
  • Sector: the arc length r × θ and the angle in radians.
  • Trapezoid: the average of the parallel sides.

It does not give the perimeter of a triangle, trapezoid, parallelogram or ellipse, since those need more than the inputs provide (for example, the slanting sides).

Worked examples

Shape and inputs Area Other
Rectangle 12 by 8 96 perimeter 40, diagonal 14.4222051019
Triangle base 10, height 6 30
Circle radius 5 78.5398163397 circumference 31.4159265359
Trapezoid sides 6 and 10, height 4 32
Parallelogram base 9, height 5 45
Ellipse semi-axes 5 and 3 47.1238898038
Rhombus diagonals 10 and 24 120 side 13, perimeter 52
Regular hexagon, side 4 41.5692193817 perimeter 24
Sector radius 10, angle 90° 78.5398163397 arc length 15.7079632679

A sector of 90° is a quarter of a circle, so its area, 78.54, is a quarter of the area of the circle of radius 10, which is 314.16. The regular hexagon’s area is exactly 24√3, which is 41.5692.

Units

Use one unit of length for every input. The answer is in the same unit squared: lengths in metres give square metres. To change between square units, use the area converter, remembering that area changes by the square of the length factor. A square metre holds 10,000 square centimetres, not 100.

Common mistakes

  • Using a slanting side as the height. The height is perpendicular to the base.
  • Using the diameter as the radius. Halve the diameter first.
  • Forgetting the one half in a triangle or trapezoid.
  • Entering the angle of a sector in radians. Enter degrees.
  • Adding units that differ. Convert all lengths first.

For the surface of a three-dimensional object, use the surface area calculator, and for solids the volume calculator. Circles have their own circle calculator, and triangles with sides and angles the triangle calculator.

Area in everyday jobs

  • Painting a wall. A wall 4.5 m by 2.4 m has an area of 10.8 m². A window of 1.2 m by 1.0 m takes away 1.2 m², so the paintable area is 9.6 m².
  • Comparing pizzas. A 30 cm pizza has an area of π × 15² = 706.86 cm². Two 20 cm pizzas have 2 × π × 10² = 628.32 cm², so the single large pizza is the bigger meal. A circle’s area grows with the square of its radius, so doubling the diameter gives four times the area.

Triangles from three sides

If you know the three sides of a triangle but not the height, use Heron’s formula. With s as half the perimeter, the area is √(s × (s − a) × (s − b) × (s − c)).

  • Sides 3, 4 and 5: s = 6, and the area is √(6 × 3 × 2 × 1) = 6.
  • Sides 7, 8 and 9: s = 12, and the area is √(12 × 5 × 4 × 3) = √720 = 26.8328.

The formula is exact, so it gives the same area as half the base times the height.

How it is calculated

The arithmetic is exact decimal arithmetic to 50 digits, with π computed to the same precision, and results are shown to 12 significant figures.

Frequently asked questions

What is area?

The amount of flat surface a shape covers, measured in square units such as square metres or square feet. A rectangle 12 m by 8 m covers 96 square metres.

How do I find the area of a rectangle, triangle and circle?

Rectangle: length × width. Triangle: half the base times the height. Circle: π times the radius squared. A circle of radius 5 has an area of 78.54.

How do I find the area of a trapezoid?

Take half the sum of the two parallel sides and multiply by the height: A = ½(a + b)h. For parallel sides of 6 and 10 and a height of 4, the area is ½ × 16 × 4 = 32.

How do I find the area of a regular polygon?

With n sides of length s, the area is ¼ n s² cot(π/n), the formula given by MathWorld. A regular hexagon with sides of 4 has an area of 24√3, which is 41.57.

Why do I need to use the same unit for every length?

The area is a product of lengths, so mixing metres and centimetres gives a meaningless figure. Convert first, or use the area converter to move between square units.

Is the height the same as the side?

Not unless the shape has a right angle. In a triangle, parallelogram or trapezoid the height is the perpendicular distance between the base and the opposite side or vertex, which is shorter than a slanting side.

Related calculators

Sources