Perimeter of a Quadrilateral Calculator

Enter the four side lengths of any quadrilateral to get its perimeter (P = a + b + c + d), semi-perimeter, and a quadrilateral-inequality validity check.

Quick Facts

Perimeter formula
P = a + b + c + d
Sum the four side lengths — the shape and angles don't matter.
Semi-perimeter
s = P / 2
Used in Brahmagupta's and Bretschneider's area formulas.
Quadrilateral inequality
Each side < sum of other three
Required for the four lengths to close into a simple quadrilateral.

Your Results

Calculated
Perimeter
-
P = a + b + c + d
Semi-perimeter
-
s = P / 2
Average Side Length
-
P / 4
Shape Check
-
Quadrilateral inequality test

Ready

Enter four side lengths and a unit, then press Calculate.

Formula and Method for the Perimeter of a Quadrilateral

A quadrilateral is any closed, four-sided polygon — squares, rectangles, rhombi, trapezoids, kites, parallelograms, and irregular four-sided shapes all qualify. No matter how irregular the shape or how skewed its angles, the perimeter is always the total distance around the outside: P = a + b + c + d, the sum of the four side lengths. Unlike area, the perimeter formula needs no angle, diagonal, or shape information at all.

How the calculation works

Enter the four side lengths (a, b, c, d) in order around the shape, using the same unit for all of them, and choose that unit. The calculator adds the four values to get the perimeter, halves that sum to get the semi-perimeter (s = P / 2 — a quantity used inside area formulas such as Brahmagupta's formula for cyclic quadrilaterals and Bretschneider's formula for general quadrilaterals), and divides the perimeter by 4 to report the average side length. It also checks the four lengths against the quadrilateral inequality before reporting a result.

The quadrilateral inequality

Not every set of four positive numbers can form a closed quadrilateral. Just as a triangle requires each side to be shorter than the sum of the other two, a quadrilateral requires each side to be strictly shorter than the sum of the other three: a < b + c + d, b < a + c + d, c < a + b + d, and d < a + b + c. If one side is too long relative to the others, the four segments cannot close into a simple (non-self-intersecting) quadrilateral, no matter how you bend the angles. This calculator checks that condition automatically and flags an invalid combination before computing a perimeter.

Real-world applications

  • Fencing, edging, and border-material estimates use the perimeter directly to determine how much linear material to buy.
  • Framing and land-survey checks use the perimeter to verify a boundary or plot matches recorded measurements.
  • The semi-perimeter is a required input to Brahmagupta's formula (area of a cyclic quadrilateral) and Bretschneider's formula (area of any quadrilateral given its sides and two opposite angles).
  • Quality checks on measured or surveyed sides use the quadrilateral inequality to catch a mis-measured or mis-recorded length before it propagates into further calculations.

Frequently Asked Questions

What is the formula for the perimeter of a quadrilateral?
The perimeter of any quadrilateral equals the sum of its four side lengths: P = a + b + c + d. This holds for squares, rectangles, rhombi, trapezoids, kites, and irregular quadrilaterals alike.
Do I need to know the angles to find the perimeter?
No. Perimeter only depends on the lengths of the four sides — angles, diagonals, and area are irrelevant to this calculation.
What is the semi-perimeter used for?
The semi-perimeter is half the perimeter, s = P / 2. It is a building block for area formulas such as Brahmagupta's formula for cyclic quadrilaterals and the more general Bretschneider's formula.
Can any four lengths form a quadrilateral?
Not always. Just like the triangle inequality, a quadrilateral inequality applies: each side must be shorter than the sum of the other three sides, or the four segments cannot close into a simple quadrilateral.