Area Calculator

Choose a shape, enter its dimensions in metres or feet, and get the area, perimeter and other measurements with the formula worked through and a labelled diagram.

Area formulas for common shapes

Area measures the surface inside a flat shape; perimeter is the length of its boundary. These are the standard formulas the calculator uses (a, b = sides or bases, h = height measured at right angles to the base, r = radius):

ShapeAreaPerimeter
Squarea24a
Rectanglel × w2(l + w)
Triangle½ × b × ha + b + c
Circleπr22πr
Sector (angle θ)θ/360° × πr22r + θ/360° × 2πr
EllipseπabRamanujan approximation
Trapezoid(a + b) ÷ 2 × ha + b + c + d
Parallelogramb × h2(b + s)
Rhombusp × q ÷ 24 × side
Regular n-gonn s2 ÷ (4 tan(180°/n))n × s
Annulusπ(R2 − r2)2π(R + r)

A common mistake with triangles, trapezoids and parallelograms is to use the slanted side instead of the perpendicular height: the height is always measured straight up from the base.

Triangles: three ways to find the area

Pick the method that matches what you know:

  • Base and height — the classic ½ × b × h.
  • Three sides — Heron's formula, which needs no height or angles:

s = (a + b + c) ÷ 2, A = √(s(s − a)(s − b)(s − c))

  • Two sides and the angle between them — A = ½ × a × b × sin C. The third side then follows from the law of cosines, c2 = a2 + b2 − 2ab·cos C, which gives the perimeter.

Three lengths only form a triangle when each one is shorter than the sum of the other two; otherwise the calculator tells you instead of showing a meaningless number. For angles, heights, medians and the inscribed and circumscribed circles, use the full triangle solver.

Worked example: a trapezoid

The calculator opens with a trapezoid whose parallel sides are a = 6 m and b = 4 m, with a height of h = 3 m.

  1. Average the parallel sides: (6 + 4) ÷ 2 = 5 m. This is the midline.
  2. Multiply by the height: 5 × 3 = 15 m² (about 161.46 ft²).
  3. No legs were entered, so the shape is treated as isosceles. Each leg spans half the difference of the bases, (6 − 4) ÷ 2 = 1 m, horizontally and 3 m vertically, so leg = √(12 + 32) = √10 ≈ 3.162 m.
  4. Perimeter = 6 + 4 + 3.162 + 3.162 ≈ 16.32 m.

If you measure the two legs yourself, enter them and the perimeter uses your values; the area stays 15 m² because it depends only on the bases and the height. Switch to US units to enter feet; the results table always lists the area in mm², cm², m², hectares, km², in², ft², yd² and acres.

Circles, ellipses and rings

Doubling a circle's radius quadruples its area, because the radius is squared. If you only know the diameter, halve it first. A sector (a pizza slice) is simply the fraction θ/360° of the circle, and its perimeter adds the two radii to the arc.

The area of an ellipse is exact (πab), but its perimeter has no simple closed formula. The calculator uses Ramanujan's second approximation

P ≈ π(a + b)(1 + 3h ÷ (10 + √(4 − 3h))), h = ((a − b) ÷ (a + b))2

which is within 0.005 % of the exact elliptic-integral value even for very flat ellipses. An annulus (a washer or ring-shaped path) is the outer circle minus the inner one; its "perimeter" here is the total length of both edges. For irregular plots, split the shape into rectangles and triangles, add the areas, or use the square footage calculator.

Frequently asked questions

How do I find the area of a trapezoid?

Add the two parallel sides, divide by 2 and multiply by the perpendicular height: (6 + 4) ÷ 2 × 3 = 15 m².

How do I get the area of a triangle without the height?

Use Heron's formula with the three sides, or ½ab·sin C if you know two sides and the angle between them. Both are built in.

What is the formula for a regular hexagon?

A = (3√3 ÷ 2) × s², about 2.598 s². With s = 2 m the area is 10.39 m². Choose “Regular polygon” with n = 6.

How many square feet are in a square metre?

1 m² = 10.7639 ft², because 1 ft = 0.3048 m exactly and 0.3048² = 0.09290304 m². One acre is 43,560 ft² (4,046.86 m²).

Last reviewed: