What area measures
Area is the amount of flat 2D space a shape covers — always expressed in square units (m², ft², cm², etc.).
Think of area as the number of unit-sized squares you could tile inside the shape without overlap. A 3×4 rectangle fits exactly 12 unit squares, so its area is 12.
Perimeter is a different measurement — the distance around the edge. Area is inside, perimeter is around. A square with side 10 has area 100 and perimeter 40; they're never the same number except at side length 4 (area 16, perimeter 16), which is a fun coincidence, not a theorem.
Different shapes use different formulas because the efficient way to cover space depends on the shape. A circle uses π; rectangles use straight multiplication; triangles halve the product; rings subtract one disc from another.
Area fills the inside in square units. Different shapes use different formulas that reflect how each one packs space.
The full formula reference
Twelve shapes, twelve formulas. Once you spot the patterns (base × height, half × diagonal product, π × radius²) almost everything is variation.
Circle: A = π·r². Double the radius → quadruple the area (r² grows as the square).
Square: A = side². Same logic — doubling the side quadruples area.
Rectangle: A = width × height. Direct product of the two perpendicular sides.
Triangle (base-height): A = ½ · base · height. Any triangle is half a parallelogram with the same base and height.
Triangle (three sides, Heron): A = √(s·(s−a)·(s−b)·(s−c)) with s = (a+b+c)/2. Use this when you know the three sides but not the height.
Parallelogram: A = base · height. No ½ — it's a full rectangle's worth, just skewed.
Trapezoid: A = ½ · (a + b) · h. Average the two parallel sides, then multiply by the perpendicular height.
Ellipse: A = π·a·b. Generalisation of the circle — if a = b, you get πr².
Regular polygon (pentagon, hexagon, octagon, …): A = (n · s²) / (4 · tan(π/n)). n = number of sides, s = side length. Perimeter = n · s.
Annulus (ring): A = π · (R² − r²). Outer disc minus inner disc.
Sector of a circle: A = ½ · r² · θ (radians) or (θ°/360) · π · r². Arc length = r · θ.
Rhombus: A = ½ · d₁ · d₂. d₁ and d₂ are the two perpendicular diagonals.
Kite: A = ½ · d₁ · d₂. Same formula structure as rhombus.
- Base × height family: rectangle, parallelogram, triangle (½), trapezoid (½ · avg base)
- π · radius² family: circle, ellipse (πab), sector (½r²θ), annulus (π(R²−r²))
- Half · diagonal product: rhombus, kite
- n triangles from a centre: regular polygon
Try it: Circle
Twelve shapes, four families. Most formulas are variations of "base × height" or "π × something²".
Why each formula works (the visual proofs)
Each formula has a one-sentence geometric story. Once you know the story, the formula sticks without memorisation.
Circle: slice the disc into many thin wedges. Lay them alternately point-up / point-down in a row. The result approximates a rectangle of width r (the wedge "height") and length πr (half the circumference). Area = r · πr = πr².
Triangle: take any triangle and put a copy of it upside-down next to itself. The two triangles fit together as a parallelogram of base × height. So one triangle is exactly half: ½ · base · height.
Parallelogram: slice off the slanted left triangle and slide it to the right side. The figure becomes a rectangle of the same base × height. So the slant doesn't matter.
Trapezoid: imagine averaging the two parallel sides into one of length (a+b)/2 — the trapezoid becomes a rectangle of that average width and the same height.
Ellipse: an ellipse is a circle stretched independently along two perpendicular axes by factors a and b. The unit circle has area π; stretching by a and b scales the area by a·b → π·a·b.
Regular n-gon: split the polygon into n identical triangles by drawing lines from the centre to each vertex. Each triangle has base s (one polygon side) and height equal to the apothem. Add up n of them and the formula falls out.
Annulus: a ring is the outer disc minus the inner disc. πR² − πr² = π(R²−r²). The formula is exactly the visual.
Sector: a sector is a fraction θ/(2π) of the full disc. Multiply by the disc's area πr² and you get ½r²θ.
Rhombus / kite: the two perpendicular diagonals form a bounding rectangle whose width = d₁ and height = d₂. The shape is exactly half of that rectangle.
Most "magic" area formulas are really one of: rearrange-into-rectangle, fraction-of-circle, or half-of-bounding-box.
Heron's formula — triangle area from three sides
When you know all three sides of a triangle but not any height, Heron gives the area directly. Always works; doesn't depend on the triangle being right-angled.
Heron's formula: A = √(s · (s − a) · (s − b) · (s − c)), where s is the semiperimeter (a + b + c) / 2.
Works for any triangle — right, acute, obtuse — as long as the three side lengths satisfy the triangle inequality (each pair sums to more than the third).
Why it works: the formula comes from the law of cosines combined with the standard area formula. The derivation is algebraically ugly, but the result is clean.
- s = (3 + 4 + 5) / 2 = 6
- s − a = 3, s − b = 2, s − c = 1
- A = √(6 · 3 · 2 · 1) = √36 = 6
- (Sanity check: 3-4-5 is a right triangle; A = ½·3·4 = 6 too ✓)
Heron: semiperimeter, then √ of the product. Works for any triangle if the three sides are valid.
Sectors of a circle and arc length
A sector is a "pie slice" of a disc — a wedge bounded by two radii and an arc. The area is a fraction of the full disc, and the arc length is a fraction of the circumference.
Sector area: A = ½ · r² · θ when θ is in radians, or (θ°/360) · π·r² in degrees. The fraction θ/(2π) tells you what proportion of the full disc you've cut out.
Arc length: L = r · θ (radians). It's the same fraction of the circumference 2πr.
Sector perimeter (the boundary you'd walk along): two radii + the arc, so 2r + r·θ.
When θ = 2π (or 360°), the sector is the full disc; the formulas collapse to πr² and 2πr respectively. When θ = π (180°), it's a semicircle.
- θ in radians = 90° · π/180 = π/2
- Area = ½ · 4² · (π/2) = 4π ≈ 12.57
- Arc length = 4 · (π/2) = 2π ≈ 6.28
- Sector perimeter = 2·4 + 2π = 8 + 2π ≈ 14.28
Try it: Sector
Sectors are fractions of discs. Convert degrees to radians (×π/180) and the formulas collapse to one multiplier.
Regular polygons — pentagon, hexagon, octagon, n-gon
A regular polygon has n equal sides and n equal angles. Knowing just n and one side length s gives you the area and the perimeter directly.
Area: A = (n · s²) / (4 · tan(π/n)). Perimeter: P = n · s. Derivation: split the polygon into n identical triangles from the centre — each has base s and height equal to the apothem (the perpendicular distance from the centre to a side). Sum of n triangles = the polygon.
The apothem is s / (2 · tan(π/n)). Multiply by half the perimeter (n·s/2) and you get the same area formula.
Interior angle of a regular n-gon: ((n − 2) · 180°) / n. Hexagons (n=6) have 120° interior angles, which is why they tile the plane with no gaps (3 × 120° = 360° at every vertex).
Common values worth memorising: triangle (n=3, s²·√3/4), square (n=4, s²), pentagon (n=5, s²·1.720), hexagon (n=6, s²·3√3/2 ≈ 2.598·s²), octagon (n=8, s²·2(1+√2) ≈ 4.828·s²).
- n = 6, s = 4
- tan(π/6) = tan(30°) = 1/√3
- A = (6 · 16) / (4 · 1/√3) = 96 · √3 / 4 = 24√3 ≈ 41.57
- P = 6 · 4 = 24
- Apothem = 4 / (2 · 1/√3) = 2√3 ≈ 3.46
Try it: Regular polygon
Regular polygons are n triangles from the centre. Memorise the formula or remember the construction — both work.
Annulus — area of a ring
An annulus is the area between two concentric circles — the donut, the washer, the pipe cross-section.
Area: A = π · (R² − r²), where R is the outer radius and r is the inner radius. It's literally "outer disc minus inner disc": πR² − πr².
The visible boundary length (outer + inner circumferences) is 2π · (R + r). This is the perimeter of the ring, not of the disc.
Useful identity: π(R² − r²) = π(R + r)(R − r). The "(R + r)" half is twice the average circumference; the "(R − r)" half is the ring width. So area ≈ average circumference × ring width — the same intuition as the rectangle area.
- R² − r² = 25 − 4 = 21
- A = 21π ≈ 65.97
- Boundary length = 2π(5 + 2) = 14π ≈ 43.98
- Or via the identity: A = π · 7 · 3 = 21π ✓
A ring's area is just outer disc minus inner disc. The factored form (π(R+r)(R−r)) is sometimes easier to compute by hand.
Rhombus, kite — the diagonal-product shapes
Both a rhombus and a kite have two perpendicular diagonals. Both use the same area formula: half the product of the diagonals.
Rhombus: a quadrilateral with all four sides equal. The two diagonals are perpendicular AND bisect each other. Area = ½ · d₁ · d₂.
Kite: a quadrilateral with two pairs of adjacent equal sides. The diagonals are perpendicular but only one of them bisects the other. Area = ½ · d₁ · d₂ (same formula).
Why the same formula? In both cases the perpendicular diagonals form a bounding rectangle of width d₁ and height d₂. The shape inside is exactly half that rectangle, so area = ½ · d₁ · d₂.
Rhombus side length: each side is the hypotenuse of a right triangle with legs d₁/2 and d₂/2 (because the diagonals bisect each other). Side = √((d₁/2)² + (d₂/2)²). Perimeter = 4 sides.
Kite side length: depends on where the diagonals cross. Without that crossing point, you can compute the area but not a unique perimeter — different crossings give different kites with the same diagonal product.
- A = ½ · 6 · 8 = 24
- Side = √(3² + 4²) = √25 = 5 (a 3-4-5 right triangle)
- Perimeter = 4 · 5 = 20
Rhombus and kite share the same area formula because they both fit inside a diagonal-aligned rectangle and fill exactly half of it.
The perpendicular-height trap
Triangles, parallelograms, and trapezoids all use "height" in their formulas — but it's always the perpendicular distance, never the slanted side.
The “height” in A = ½·base·height is the perpendicular distance from the base to the opposite vertex (or, for trapezoids, the opposite parallel side). It's the altitude, not the slanted side.
For a right triangle, the two legs are perpendicular to each other, so the leg is the height when the other leg is the base. For acute or obtuse triangles, you may need to drop a perpendicular from the vertex to find the height — or use Heron's formula instead.
For a parallelogram, the slant side is longer than the perpendicular height. Using the slant side will give a number bigger than the true area.
Height = perpendicular distance. If you can only measure the slant, use Heron's formula (for triangles) or drop a perpendicular first.
Common area mistakes
Most area errors are unit mistakes, height mix-ups, or π / 2π confusion.
1. Forgetting to square units. Area of a 3cm × 4cm rectangle is 12 cm², not 12 cm. Always report square units.
2. Using slant as height. Perpendicular height only.
3. Mixing π and 2π. Circle area is π·r². Circumference is 2·π·r. Double-check you're using the right one.
4. Heron with invalid sides. If a + b ≤ c (triangle inequality fails), the three sides can't form a triangle and Heron gives NaN or a negative under the root.
5. Trapezoid height as slant side. The height is the perpendicular distance between the two parallel sides, not a slant side.
6. Sector angle in degrees inside the radian formula. A = ½·r²·θ ONLY if θ is in radians. For degrees, use (θ°/360)·πr² — or convert first (θ_rad = θ° · π/180).
7. Annulus with inner ≥ outer. The hole can't be bigger than the disc; the calculator errors out, but if you do it by hand you'll get a negative area.
8. Regular polygon with non-integer or fewer-than-3 sides. n must be a whole number ≥ 3 (you can't have a 2-sided polygon).
Square your units, use perpendicular height, mind π vs 2π, check angle units for sectors, and validate inputs before plugging in.
Frequently Asked Questions
When should I use Heron's formula vs. ½·base·height?
▾
When should I use Heron's formula vs. ½·base·height?
▾Use ½·base·height when you can easily identify or measure the perpendicular height. Use Heron when you only know the three side lengths (e.g., a measured triangular plot of land). Both give the same answer for the same triangle — Heron is just the route that avoids needing the height.
How do I calculate the area of an irregular polygon?
▾
How do I calculate the area of an irregular polygon?
▾Split it into triangles (and/or rectangles and trapezoids) whose areas you can compute individually, then sum them. The shoelace formula is a direct alternative if you have all vertex coordinates — we don't ship it yet, but it's coming.
Why does the ellipse perimeter formula look so complicated?
▾
Why does the ellipse perimeter formula look so complicated?
▾Ellipse perimeter has no closed-form expression in elementary functions — the exact integral is an elliptic integral. Ramanujan's 1914 approximation (the one this calculator uses) is accurate to about 5 × 10⁻⁵ for normal ellipses, which is plenty for practical use.
Can I compute area in square feet / m² / cm² here?
▾
Can I compute area in square feet / m² / cm² here?
▾Yes — the calculator is unit-agnostic. Put in 3 (meters) × 4 (meters) and you get 12 (square meters). Put in 3 feet × 4 feet and you get 12 sq ft. The math is the same; the units are up to you.
Why doesn't the parallelogram show a perimeter?
▾
Why doesn't the parallelogram show a perimeter?
▾Computing perimeter requires the slant-side length, which this calculator doesn't collect (it asks only for base + perpendicular height, enough for area). If you need parallelogram perimeter, you need both the slant length and the base.
Why does the kite have no perimeter in the result?
▾
Why does the kite have no perimeter in the result?
▾Two diagonals alone don't pin down a unique kite shape — different crossings of the diagonals give different side lengths. The area only needs the diagonal product (½·d₁·d₂), but the perimeter needs more information than we collect.
How do I pick between degrees and radians for a sector?
▾
How do I pick between degrees and radians for a sector?
▾Use whichever your inputs are in. The calculator has a toggle. Degrees are common in everyday geometry (90°, 180°, 360°); radians are common in calculus and engineering (π/2, π, 2π). Internally we always convert to radians (× π/180) before applying ½·r²·θ.
Is a square a special case of any other shape?
▾
Is a square a special case of any other shape?
▾Yes — a square is a special case of FIVE other shapes on this page: rectangle (where width = height), rhombus (where d₁ = d₂), parallelogram (where all sides + angles equal), regular polygon with n=4, AND a degenerate kite. All their area formulas reduce to side² when you plug in equal-side inputs.
Why does a hexagon area work out to such a clean number for hexagonal tiles?
▾
Why does a hexagon area work out to such a clean number for hexagonal tiles?
▾A regular hexagon of side s has area (3√3/2)·s² — the s² · 2.598 figure. Its 120° interior angles are exactly what's needed to tile the plane (3 × 120° = 360° per vertex), which is why honeycombs, bathroom tiles, and hex grid games all use hexagons.
Open the Area Calculator
Twelve shapes — circle, square, rectangle, triangle, parallelogram, trapezoid, ellipse, regular polygon, annulus, sector, rhombus, kite — with diagrams, animated derivations, and step-by-step working.
Open calculator