← Parallelogram Calculators /

Parallelogram Sides Calculator

Find the sides of a parallelogram from diagonals and angles, or from perimeter.

Reviewed by Geometry Calculator, Geometry Calculator Developer & Online Math Educator Last updated April 24, 2026

Parallelogram Sides Calculator

ℹ Enter both diagonals and the angle between them to find both side lengths.

Formulas Used in Parallelogram Sides Calculator

Side a = ½√(d₁² + d₂² − 2·d₁·d₂·cos θ)
Side b = ½√(d₁² + d₂² + 2·d₁·d₂·cos θ)
Perimeter = 2(a + b)

In-Depth Tutorial: Parallelogram Sides Calculator

The Parallelogram Sides Calculator solves the reverse-direction problem of standard parallelogram calculations: given both diagonal lengths and the angle between them, find the two side lengths. This uses the geometric fact that the diagonals of a parallelogram bisect each other, so the intersection point creates 4 triangles whose sides can be computed via the Law of Cosines. This tutorial walks through the derivation, three worked examples, and how this connects to the parallelogram law.

The setup

A parallelogram ABCD has two diagonals AC and BD that intersect at point M. By the parallelogram property:

  • M is the midpoint of both diagonals (each is bisected).
  • So AM = MC = d₁/2 and BM = MD = d₂/2.

Let the angle between the diagonals at M be θ. Then the 4 sub-triangles formed by the diagonals all have one of their vertex angles at M equal to either θ or 180° − θ.

Computing the sides

Take triangle ABM. Its sides at M are AM = d₁/2 and BM = d₂/2, with angle θ between them (or 180° − θ — depends on which triangle). The opposite side of M is AB, which equals one of the parallelogram's sides.

By the Law of Cosines on triangle ABM:

AB² = (d₁/2)² + (d₂/2)² − 2(d₁/2)(d₂/2)cos(θ)
= d₁²/4 + d₂²/4 − (d₁d₂/2)cos(θ)

So AB = ½√(d₁² + d₂² − 2d₁d₂·cos(θ)).

By symmetric reasoning on triangle BCM (which has angle 180° − θ at M, so cos becomes −cos):

BC = ½√(d₁² + d₂² + 2d₁d₂·cos(θ))

The two formulas differ only in the sign of the cosine term. This gives the two adjacent sides of the parallelogram — opposite sides are equal (parallelogram property), so we get AB = CD and BC = AD.

Worked example 1 — basic case

Diagonals 10 and 14, angle between them 60°.

Side a = ½√(100 + 196 − 2·10·14·cos 60°) = ½√(296 − 140) = ½√156 = √39 ≈ 6.24.

Side b = ½√(100 + 196 + 140) = ½√436 ≈ 10.44.

Perimeter = 2(6.24 + 10.44) ≈ 33.36.

Worked example 2 — perpendicular diagonals

Diagonals 8 and 6, perpendicular (θ = 90°).

cos(90°) = 0, so the cosine term vanishes. Both formulas simplify:

Side a = Side b = ½√(64 + 36 + 0) = ½√100 = 5.

Both sides equal — so this is a rhombus (4 equal sides + perpendicular diagonals).

The 6-8-10 numbers hide a 3-4-5 right triangle inside.

Worked example 3 — diagonals equal length (rectangle)

Diagonals 13 and 13, angle 90° (diagonals equal AND perpendicular).

Side a = ½√(169 + 169 + 0) = ½√338 = ½√338 ≈ 9.19.
Side b = ½√(169 + 169 − 0) = ½√338 ≈ 9.19.

Wait — both equal? That would be a square. Let me try diagonals equal but not perpendicular.

Try: diagonals 13 and 13, angle 60°.

Side a = ½√(169 + 169 − 2·169·0.5) = ½√(338 − 169) = ½√169 = 6.5.
Side b = ½√(338 + 169) = ½√507 ≈ 11.27.

Unequal sides with equal diagonals → this is a rectangle (a parallelogram with equal diagonals).

How this connects to the parallelogram law

The parallelogram law says d₁² + d₂² = 2(a² + b²).

Summing the squared sides from our formulas:

a² + b² = ¼(d₁² + d₂² − 2d₁d₂cos θ) + ¼(d₁² + d₂² + 2d₁d₂cos θ) = ½(d₁² + d₂²)

Multiplying by 2: 2(a² + b²) = d₁² + d₂². ✓ Exactly the parallelogram law.

The angle between diagonals

The angle θ between the diagonals is a property of the parallelogram. Different parallelograms with the same diagonal lengths have different θ values, producing different sides:

  • θ = 90° (perpendicular diagonals): the parallelogram is a rhombus.
  • θ = 90° AND d₁ = d₂: a square.
  • 0° < θ < 90°: a general parallelogram.
  • θ = 180°: degenerate (the diagonals are along the same line — not a 2D parallelogram).

The reverse problem — finding diagonals from sides

If you know sides instead of diagonals, see the Parallelogram Theorem Calculator which gives diagonals from sides + angle.

The two directions are essentially inverse operations of each other. Both rely on the Law of Cosines applied to triangles formed by sides + diagonals.

Real-world applications

  • Surveying. Measuring diagonals (often easier with long tape measures) to deduce side lengths.
  • Manufacturing. Verifying that produced parallelogram-shaped parts have correct dimensions via diagonal checks.
  • Aviation / engineering. Cross-bracing diagonals are sometimes the only practical measurements; sides follow from these formulas.
  • Quality control. Squareness check via diagonal comparison — if diagonals are equal, parallelogram is a rectangle.

Common mistakes

  • Confusing the angle at the intersection with one of the parallelogram's vertex angles. The angle θ in this formula is between the DIAGONALS at their intersection point, not at the parallelogram's corners.
  • Forgetting the ½ in front of the square root. The formula divides by 2 (the bisection of each diagonal). Missing this gives sides twice as long.
  • Using one formula for both sides. The two sides have different formulas (the cosine term has opposite signs). Compute each separately.
  • Negative under the square root. This can happen if the inputs are physically inconsistent (e.g., diagonals that can't actually form a parallelogram). Check inputs.

Frequently Asked Questions – Parallelogram Sides Calculator

The sum of the squares of both diagonals equals twice the sum of the squares of both sides: 2a² + 2b² = d₁² + d₂².

Enter both diagonals and the angle between them. The calculator uses the parallelogram law combined with the triangle formed by the diagonals at their intersection.

Not uniquely — perimeter only gives the sum of two different side lengths. You need the diagonals and angle for a complete solution.

Yes — free and unlimited.

Why diagonals always bisect each other — and what their shape tells you

The calculator's formulas assume that the two diagonals cross at their midpoints. That's not a special feature of some parallelograms; it's always true of every parallelogram, and the proof is one of the cleaner exercises in elementary geometry.

Label the parallelogram ABCD with diagonals AC and BD intersecting at M. Consider triangles ABM and CDM. Two pairs of corresponding angles are equal — ∠ABM = ∠CDM and ∠BAM = ∠DCM, both because AB is parallel to CD and the diagonals serve as transversals (alternate interior angles). The included sides AB and CD are equal in length (opposite sides of a parallelogram). By ASA, the two triangles are congruent — so AM = CM and BM = DM. Each diagonal is bisected at M. The property holds for every parallelogram, full stop.

Beyond justifying the calculator, this opens a simple diagnostic. The shape of the diagonals reveals the type of parallelogram:

  • Diagonals equal in length → the parallelogram is a rectangle. Forced because equal diagonals plus the bisection property mean all four half-diagonals are equal, so the four sub-triangles are isosceles and the corners are 90°.
  • Diagonals perpendicular → the parallelogram is a rhombus. The bisection point sits equidistant from all four vertices when the diagonals are also perpendicular, forcing the four sides to be equal.
  • Diagonals equal AND perpendicular → the parallelogram is a square. The two conditions combined make all four sides equal AND all four angles right angles.
  • Diagonals unequal AND not perpendicular → a generic non-rectangular, non-rhombic parallelogram.

Carpenters use this calculator's geometry every day

The most common real-world application of measuring two diagonals and back-solving for sides isn't surveying or engineering — it's racking a frame square. When a carpenter assembles a rectangular frame (a window opening, a door jamb, a deck), the four side lengths might be cut correctly, but if the assembled frame is tilted into a parallelogram shape, drywall and trim won't fit. The check is to measure both diagonals.

Concrete example: a 36 in × 60 in window rough-out. Cut perfectly square, the diagonal should be √(36² + 60²) = √4896 ≈ 69.97 in. The carpenter measures one diagonal at 70 in (within rounding tolerance) and the other at 67.5 in — a 2.5 inch difference. The frame is racked. To estimate how badly: plug both diagonals into this calculator's formulas with angle θ ≈ 88° (close to but not 90°). The two computed sides come out different from the intended 36 and 60, revealing exactly how the assembly drifted off-square. The fix is to push one corner diagonally until both measured diagonals match — at which point the frame is rectangular again.

The same trick works for any "should be a rectangle" frame: deck posts, vehicle chassis, machine-shop fixturing plates. Two diagonal measurements expose racking faster than any single side-length check, because the diagonal magnifies small angular drift. A 1° shear in a 60-inch frame moves the diagonal endpoint by about 1 inch — well above tape-measure resolution, but only about 0.02 inch off the perpendicular height. Diagonals are the sensitive instrument.

Questions about diagonals beyond the basic formulas

What if my measured diagonals can't actually form any parallelogram?

The formulas inside the calculator return a complex (non-real) number when the inputs are impossible. Concretely, the expression under the square root, d₁² + d₂² − 2·d₁·d₂·cos(θ), can go negative only for unusual angle values, so this rarely happens for genuine measurements. The more common failure mode is that the calculator returns sides that are inconsistent with what you actually measured on the figure — meaning the angle between the diagonals wasn't what you thought. If you measured both diagonals (easy with a tape) and the resulting sides don't match the figure's perimeter, recheck the diagonal-intersection angle. A misread of 5° in θ can move the side length by 10% or more.

How is "the angle between the diagonals" actually measured in practice?

For physical frames, it's hard to measure directly because the diagonals don't typically exist as physical lines you can put a protractor on. Two practical workarounds: (1) Lay a piece of string from corner to corner along each diagonal, mark where they cross, and use a protractor at the crossing point. (2) Bypass the diagonal-angle measurement entirely — measure all four sides with a tape and use the parallelogram theorem calculator instead, which derives diagonals from sides. For drawing-based work (architectural plans, CAD), the diagonal angle is read directly from the drawing geometry.

If two diagonals are 10 and 14, are their possible angle/side combinations bounded?

Yes. The angle θ can vary anywhere from just above 0° (degenerate flat parallelogram) to just below 180°, and each choice gives different side lengths. At θ = 0° or θ = 180°, the parallelogram collapses to a line segment. The sides reach equal length (rhombus) at θ = 90°, and they spread to a maximum difference as θ approaches the extremes. For diagonals of 10 and 14: at θ = 90°, both sides come out to about 8.6 (rhombus). At θ = 30°, the sides become about 3.7 and 11.6. The same diagonal lengths can describe a wide range of parallelogram shapes, which is why the angle input is essential.

Why is the parallelogram law d₁² + d₂² = 2(a² + b²) always exact?

It's the polarization identity for the dot product, applied to the two side vectors. If the two adjacent sides of the parallelogram are vectors u and v, then the diagonals are u + v and u − v. Compute the squared magnitudes: |u + v|² = |u|² + 2(u·v) + |v|² and |u − v|² = |u|² − 2(u·v) + |v|². Adding the two: the cross terms ±2(u·v) cancel, leaving |u + v|² + |u − v|² = 2(|u|² + |v|²). That's the parallelogram law in vector form, and it holds in any inner-product space — including 2D, 3D, and infinite-dimensional Hilbert spaces. The geometric statement is just the visible 2D case of an algebraic identity that applies everywhere.