Quadrilateral Shape Calculator
Results
Formulas Used in Quadrilateral Shape Calculator
Full formula reference: Square Formulas · Quadrilateral Area Formulas · Rectangle Formula
In-Depth Tutorial: Quadrilateral Shape Calculator
A quadrilateral is any closed plane figure with four straight sides. That single definition covers an enormous family: squares, rectangles, parallelograms, rhombuses, trapezoids, kites, and "fully irregular" four-sided shapes with no special properties. This calculator auto-detects which family your four sides + one angle define, applies the correct area formula, and returns perimeter, diagonals, and angle properties. This tutorial covers the decision tree the calculator uses internally + 3 worked examples spanning the common cases.
Universal property: interior angles sum to 360°
Every quadrilateral — regardless of family — has interior angles summing to exactly 360°. This follows from splitting any quadrilateral into two triangles via a diagonal: each triangle's angles sum to 180°, so two triangles → 360°. The corollary: knowing 3 of the 4 interior angles always gives the 4th by subtraction.
The 6 named families (decision tree)
- Square: all 4 sides equal AND all 4 angles 90°. Area = s². Diagonals equal and perpendicular.
- Rectangle: opposite sides equal AND all 4 angles 90°. Area = length × width. Diagonals equal (but not perpendicular unless it's also a square).
- Rhombus: all 4 sides equal but angles not 90°. Area = ½ × d₁ × d₂ (product of diagonals divided by 2). Diagonals perpendicular bisectors of each other.
- Parallelogram: opposite sides parallel AND equal. Area = base × height. Diagonals bisect each other but are not equal.
- Trapezoid: exactly one pair of parallel sides (the bases). Area = ½(b₁ + b₂) × h. See the dedicated Trapezoid Calculator for sub-types.
- Kite: two pairs of adjacent (not opposite) equal sides. Area = ½ × d₁ × d₂. Diagonals perpendicular; one bisects the other.
If none of the above match, the calculator falls back to irregular quadrilateral and applies Brahmagupta's formula (for cyclic quadrilaterals where opposite angles sum to 180°) or the Shoelace formula (when vertex coordinates are given).
Worked Example 1 — Rectangle
Input: a = 8, b = 5, c = 8, d = 5, A = 90°.
Detection: opposite sides equal (a=c, b=d) + one angle = 90° → rectangle.
Area = a × b = 40. Perimeter = 2(a + b) = 26. Diagonal = √(a² + b²) = √89 ≈ 9.43.
Worked Example 2 — Rhombus
Input: a = 6, b = 6, c = 6, d = 6, A = 60°.
Detection: all sides equal + angle ≠ 90° → rhombus.
One diagonal d₁ = 2 × a × sin(A/2) = 2 × 6 × sin(30°) = 6. Other diagonal d₂ = 2 × a × cos(A/2) = 2 × 6 × cos(30°) ≈ 10.39. Area = ½ × d₁ × d₂ ≈ 31.18 (or via a² × sin(A) = 36 × sin(60°) ≈ 31.18 — both formulas agree).
Worked Example 3 — General Parallelogram
Input: a = 10, b = 6, c = 10, d = 6, A = 70°.
Detection: opposite sides equal but angle ≠ 90° → parallelogram (not rectangle).
Area = a × b × sin(A) = 60 × sin(70°) ≈ 56.38. Perimeter = 2(a + b) = 32. Height h = b × sin(A) ≈ 5.64 (perpendicular distance from one a-side to the opposite a-side).
Common mistakes
- Treating a rhombus as a square. All four sides equal doesn't mean square — a square also requires all angles = 90°. Check the angle field; a rhombus with 60°/120° angles is NOT a square.
- Using "base × height" for a parallelogram with the slanted side. The height in A = b × h must be PERPENDICULAR to the base, not the slanted side a. To get h from a slanted side: h = a × sin(angle to base).
- Confusing kite and rhombus. Kite has two pairs of ADJACENT equal sides (a=b and c=d). Rhombus has all 4 equal. They look superficially similar.
- Assuming opposite angles are equal. Only true in parallelograms (and special cases like rectangle / rhombus / square). Trapezoids and kites generally have all 4 different angles.
When to use a different calculator
- For trapezoids (one parallel pair), the Trapezoid Calculator handles sub-types more accurately.
- For parallelograms specifically (and finding angles from a single known angle), use the Parallelogram Angle Solver.
- For 4 vertex coordinates (irregular quadrilaterals), use the Quadrilateral with Points tool which applies the Shoelace formula.
- For cyclic quadrilaterals (inscribed in a circle), the Inscribed Quadrilateral Calculator uses Brahmagupta's formula and adds the cyclic-specific angle relationships.
Frequently Asked Questions – Quadrilateral Shape Calculator
It checks side lengths and angles: four equal sides with 90° = square; equal opposite sides with 90° = rectangle; four equal sides = rhombus; two parallel pairs = parallelogram; one parallel pair = trapezoid.
Enter all four side lengths and at least one angle for the most accurate classification. With fewer inputs the result may show multiple possible types.
A square is a rhombus with 90° angles. A rhombus has all four sides equal but its angles are not necessarily 90°.
Yes — free and unlimited.
The quadrilateral hierarchy — every square is also five other shapes
The six named families the calculator recognizes aren't independent categories. They nest inside each other in a strict inclusion hierarchy, meaning a single shape can legitimately belong to several families at once. Understanding the hierarchy explains why the calculator sometimes returns multiple applicable labels for the same input.
Every square is also a rectangle (a square has all four angles at 90°, satisfying the rectangle definition). Every rectangle is also a parallelogram (opposite sides parallel and equal). Every parallelogram is also a quadrilateral (four sides). Simultaneously, every square is also a rhombus (all four sides equal), and every rhombus is also a parallelogram. So a square inherits properties from four other families at once: it's a rectangle, a rhombus, a parallelogram, and a quadrilateral, all at the same time.
A visual way to draw this: parallelograms form the parent set; rectangles and rhombuses are two overlapping subsets inside parallelograms; squares are the intersection of rectangles and rhombuses. Trapezoids and kites sit outside the parallelogram family entirely (under the exclusive definition of trapezoid, which excludes parallelograms; under the inclusive definition, parallelograms are also trapezoids). This is why a strict formula for "the type of this quadrilateral" is ambiguous — the input can genuinely satisfy multiple definitions, and different textbooks report different "primary" labels.
The calculator handles this by reporting the most specific matching family. A shape that is both a rectangle and a square gets labeled "square" — because square is the more constrained (more specific) label. This convention matches how most geometry courses describe shapes: use the most restrictive name that fits.
The aspect ratios of everyday quadrilaterals
Rectangular objects around us have surprisingly few aspect ratios, and each one has a specific reason for being there. The ratio isn't decorative — it's often the result of physical constraints, perception research, or historical convention that has been reused so many times it's essentially inevitable.
A-series paper (1 : √2 ≈ 1.414). The ISO 216 standard that governs A4, A3, A5 paper worldwide uses √2 as the aspect ratio because it's the unique ratio where folding a sheet in half along the long edge produces two smaller sheets with the same aspect ratio. A4 folded gives two A5 sheets, each also 1:√2. This scaling property means printers, scanners, and photocopiers can enlarge or reduce content between paper sizes without adjusting margins or losing aspect. Adopted internationally except in North America, which retains letter-size (1 : 1.294) for legacy reasons.
Widescreen TV (16 : 9 ≈ 1.778). Chosen in the mid-1980s as a compromise between the older 4:3 television aspect (1.333) and the widescreen 2.35:1 cinema format. The specific 16:9 ratio is the geometric mean of 4:3 and 2.35:1 — the shape that produces the least distortion when displaying either legacy TV content or letterboxed cinema film. Now dominant globally.
Credit cards (85.6 mm × 53.98 mm ≈ 1.586). Approximates the golden ratio (φ ≈ 1.618). ISO/IEC 7810 fixed the dimensions in the 1980s partly for perception reasons — rectangles near the golden ratio are aesthetically preferred in a fairly robust way across cultures.
Playing cards (63 mm × 88 mm ≈ 1.397). Close to √2:1. The proportion allows a bridge or poker hand to fan out from a single grip point without individual cards being hidden.
Classification questions the basic decision tree skips
How do I physically classify a four-sided plot on the ground?
Measure the four sides and both diagonals with a tape. From those six numbers:
- If all four sides equal and diagonals equal: square.
- If all four sides equal but diagonals unequal: rhombus.
- If opposite sides equal and diagonals equal: rectangle.
- If opposite sides equal but diagonals unequal: general parallelogram.
- If exactly one pair of opposite sides equal (specifically, one pair matches a set of proportional side ratios): possibly a trapezoid — need to verify one pair of sides is parallel by measuring interior angles.
- If two adjacent side pairs equal but not opposite (e.g.,
AB = ADandCB = CD): kite.
Diagonal-check is the fastest way for surveyors to distinguish rectangles from rhombuses from squares because it doesn't require angle measurement — a tape measure is more accurate than a hand-held protractor over field distances.
Why is a shape called a "kite" specifically?
Because it resembles the four-sided flying kite designs from Chinese and European traditions dating back over 2,000 years. The geometric kite shares the same distinctive shape: two adjacent equal sides on one end, two adjacent equal sides on the other, and the "spine" running through the middle where the pairs meet. The naming is entirely observational rather than mathematical — no theorem is called "the kite property." Kites appear as roof gables, weather vanes, some traffic signs, and (of course) flown kites. The geometric definition captures the shape's characteristic symmetry via the two pairs of adjacent equal sides.
Can a quadrilateral belong to none of the six families?
Yes. A "general irregular quadrilateral" satisfies none of the special-case conditions. It has no parallel sides (ruling out trapezoid and parallelogram), no adjacent equal side pairs (ruling out kite), and no all-equal sides (ruling out rhombus and square). Most randomly drawn four-sided shapes fall into this catch-all category. The calculator handles them by falling back to Brahmagupta's formula (if cyclic) or the shoelace formula (if the vertex coordinates are provided). The perimeter is always just the sum of the four sides regardless of family, so at minimum a perimeter is always computable.
What if the four sides don't actually close into a quadrilateral?
The four given side lengths must satisfy a generalized triangle inequality: each side must be less than the sum of the other three. If one side is longer than the other three combined, no four-sided closed figure exists — you'd get a "gap" in the boundary. The calculator returns an error in this case, as it does for the triangle inequality failure in three-sided problems. Even when the inequality is satisfied, four side lengths don't uniquely determine a quadrilateral (unlike three sides determining a triangle) — infinitely many quadrilaterals with the same four sides exist, differing in their angles. This is the non-rigidity property discussed for parallelogram-shaped frames: additional angle or diagonal data is needed to pin down a specific quadrilateral from the four side lengths alone.