🏆 US-Registered Digital Marketing Agency
Advertisement
Advertisement
EDUCATION

Parallelogram Calculator — area, perimeter, height and diagonals

Enter two sides and the angle between them, or a base and its height, and get the area, perimeter, both heights, both diagonals and every interior angle.

Only the fields your choice needs are used. The rest are recalculated and shown.
Cosmetic only. Areas are reported in that unit squared.
Area
 
0
Perimeter
0
Height onto a
0
Short diagonal
0
Long diagonal
Tip: the height is never the slant side. If you multiply base by slant side you have computed the area of a rectangle that does not exist, and the answer is always too large.
Advertisement

A parallelogram calculator takes whichever measurements you actually have and produces the rest. A parallelogram is a quadrilateral with two pairs of parallel sides, and that single property forces everything else: opposite sides are equal, opposite angles are equal, adjacent angles add to 180°, and the diagonals cut each other exactly in half. Give the tool two sides and the angle between them, or a base with its perpendicular height, and it returns area, perimeter, both heights, both diagonals and all four angles.

Arb Digital built this page around the one measurement students and site estimators get wrong: the height. In a parallelogram the slant side and the perpendicular height are two different lengths, and only one of them belongs in the area formula. The diagram the tool draws is there to make that gap visible, because seeing the perpendicular dropped from the top edge is more convincing than reading a sentence about it.

What This Parallelogram Calculator Does

In its default mode you supply side a, side b and the included angle, and every other quantity follows from trigonometry. In the second mode you supply a base, the perpendicular height onto that base, and the slant side, and the tool recovers the angle before doing the same work. Either way you get the area as the headline figure, the perimeter, the height onto each of the two sides, both diagonals, and the two distinct interior angles.

This page is deliberately narrower than our polygon calculator, which handles regular polygons of any number of sides, and than the quadrilateral calculator, which works on general four-sided shapes with no parallel-side guarantee. It is also distinct from the trapezoid calculator: a trapezoid has exactly one pair of parallel sides, so its two parallel edges have different lengths and its area formula averages them. A parallelogram has two pairs, so no averaging is needed.

How to Use It

  1. Pick what you know. Two sides plus the included angle is the common textbook case. Base, height and slant side is the common surveying and construction case.
  2. Enter side a as the base. Side a is the edge the height is measured onto, and it is the horizontal edge in the diagram.
  3. Enter the angle in degrees. Anything from just above 0° to just below 180° is valid. At exactly 90° the shape is a rectangle, which the tool will say.
  4. Or enter the height. In height mode the height must be less than or equal to the slant side, because the perpendicular is the shortest distance from the top edge to the base.
  5. Check the drawing. The shape is drawn to scale from your numbers, with the perpendicular height marked, so an implausible entry is obvious at a glance.

The Formulas: How Each Value Is Calculated

The area has two equivalent forms. With a base and its perpendicular height, Area = base × height. With two sides and the included angle, Area = a × b × sin θ. They agree because the height onto side a is exactly b·sin θ — dropping a perpendicular from the top edge creates a right triangle whose hypotenuse is side b and whose opposite side is the height.

The perimeter is simply P = 2(a + b), since opposite sides are equal. The two heights are ha = b·sin θ and hb = a·sin θ; they differ whenever the sides differ, which is why "the height" is an ambiguous phrase unless you name the base it belongs to.

The diagonals come from the law of cosines applied to the two triangles each diagonal creates: d1 = √(a² + b² − 2ab·cos θ) and d2 = √(a² + b² + 2ab·cos θ). With a = 8, b = 5 and θ = 60°, that gives d1 = √(64 + 25 − 40) = √49 = 7 and d2 = √(64 + 25 + 40) = √129 ≈ 11.358. The area is 8 × 5 × sin 60° ≈ 34.641 and the perimeter is 26. Our law of cosines calculator shows that step on its own if you want to see it isolated.

Advertisement

The Parallelogram Law, and How to Check Your Own Answer

There is a self-check built into the geometry that almost nobody uses and everybody should. The parallelogram law states that d1² + d2² = 2(a² + b²) — the sum of the squares of the diagonals equals twice the sum of the squares of two adjacent sides. It holds for every parallelogram without exception.

Test it on the worked example: 7² + 11.358² = 49 + 129 = 178, and 2(8² + 5²) = 2(64 + 25) = 178. The two sides match, so the diagonals are right. If your own working produces diagonals that fail this test, the error is in the cosine step — usually a sign, because cos θ is negative for obtuse angles and flipping that sign swaps which diagonal is which.

The law is not a geometric curiosity. It is the defining property that separates spaces where lengths come from an inner product from spaces where they do not, which is why it appears in linear algebra long after the shape itself has been left behind. The vector view is the cleanest one: if two adjacent sides are vectors u and v, the diagonals are u + v and u − v, and the law is what you get when you expand both squared lengths and add them.

Why the Area Is a Cross Product

Treat the two adjacent sides as vectors and the area formula stops looking like a trigonometric trick. The magnitude of the cross product of two vectors is |u||v|sin θ, which is precisely a·b·sin θ — the area of the parallelogram they span. In two dimensions, with u = (x₁, y₁) and v = (x₂, y₂), that reduces to the absolute value of x₁y₂ − x₂y₁, a determinant with no trigonometry in it at all.

This matters practically. If you know the corner coordinates rather than the side lengths, you do not need to measure any angle: subtract to get two edge vectors, take the determinant, take the absolute value, and you have the area exactly. It is also why a determinant of zero means the two vectors are parallel — the parallelogram has collapsed to a line with no area. MIT's Multivariable Calculus course develops this connection between determinants, cross products and areas in full. Our vector calculator handles the vector arithmetic if you want to work from coordinates.

Rectangles, Rhombuses and Squares Are Parallelograms

Every rectangle is a parallelogram whose angles are all 90°. Every rhombus is a parallelogram whose sides are all equal. Every square is both. The two buttons above set the tool to those cases so you can watch what changes.

At θ = 90° the sine becomes 1, so the area collapses to a × b and the height equals the slant side — the only configuration in which those two lengths coincide. The diagonals become equal, both √(a² + b²), which is the Pythagorean theorem reappearing. When a = b instead, the two diagonals stay unequal but they meet at right angles, which is the defining extra property of a rhombus and the reason a rhombus can also be measured as half the product of its diagonals.

Set both conditions and you have a square, where the diagonals are equal, perpendicular, and each equal to a√2. Working from a right-triangle piece of one of these shapes is what the Pythagorean theorem calculator is for.

The Sine Ambiguity That Does Not Bite Here

Because sin θ = sin(180° − θ), an angle of 60° and an angle of 120° give exactly the same area. That looks like an ambiguity, and in triangle problems solved with the law of sines it genuinely is one. In a parallelogram it is not a problem at all, because 60° and 120° are the two angles of the same shape — adjacent angles are supplementary, so both appear in the figure and both produce the same area. The definitions and periodicity of the sine and cosine functions that make this work are set out in the DLMF section on trigonometric functions.

The cosine does distinguish them, and that is what separates the diagonals. At 60° the cosine is +0.5 and the diagonal opposite the acute angle is the short one; at 120° the cosine is −0.5 and the roles swap. This tool always reports the smaller diagonal as the short one and the larger as the long one, so the labels stay honest whichever angle you enter.

Need more free geometry tools?

Arb Digital publishes hundreds of free calculators covering geometry, algebra, statistics and finance — all free to use, with no sign-up and no limit on how often you run them.

Browse All Free Tools Suggest a Tool

Common Mistakes to Avoid

  • Using the slant side as the height. The height is the perpendicular distance between the parallel sides, and it is always shorter than the slant side unless the angle is exactly 90°.
  • Pairing a height with the wrong base. There are two heights. Multiplying side a by the height onto side b gives a number with no geometric meaning.
  • Assuming the diagonals are equal. They are equal only in a rectangle. In every other parallelogram one is longer, and using either as a substitute for the other misstates the shape.
  • Dropping the sign of the cosine. For obtuse angles cos θ is negative, so the minus and plus in the two diagonal formulas swap their effect.
  • Entering a height larger than the slant side. That describes an impossible shape. The tool refuses it rather than returning a value.

Related Free Tools From Arb Digital

For a shape with only one pair of parallel sides use the trapezoid calculator; for a general four-sided figure use the quadrilateral calculator; for the triangle you get by cutting a parallelogram along a diagonal use the triangle area calculator; and for edge-length totals on any closed figure use the perimeter calculator. More are listed in the free tools hub.

Frequently Asked Questions

What is the formula for the area of a parallelogram?

Area equals base times perpendicular height. If you know two sides and the angle between them instead, the area equals side a times side b times the sine of that angle. The two forms agree because the height onto side a is side b multiplied by the sine of the included angle.

Why is the height not the same as the slant side?

The height is the perpendicular distance between the two parallel sides, measured at a right angle to the base. The slant side runs at the included angle instead, so it is the hypotenuse of the right triangle whose vertical leg is the height. Only when the angle is exactly ninety degrees do the two lengths coincide.

How do I find the diagonals of a parallelogram?

Apply the law of cosines to the triangle each diagonal forms with two adjacent sides. One diagonal is the square root of a squared plus b squared minus twice a times b times the cosine of the angle, and the other uses plus instead of minus. Their squares always add to twice the sum of the squares of the two sides.

Are the diagonals of a parallelogram equal?

Only when the parallelogram is a rectangle. In every other case one diagonal is longer than the other. The diagonals always bisect each other, meaning they cross at their shared midpoint, but bisecting is not the same as being equal in length.

Is a rhombus a parallelogram?

Yes. A rhombus is a parallelogram in which all four sides are equal. Its diagonals meet at right angles, which is an extra property ordinary parallelograms do not have, and it allows the area to be found as half the product of the two diagonals.

Can a parallelogram have a right angle?

Yes, and if one angle is a right angle then all four are, because adjacent angles in a parallelogram add to one hundred and eighty degrees. That shape is a rectangle, and it is the only parallelogram whose diagonals are equal in length.

How do I get the area from corner coordinates?

Subtract the corner points to build two edge vectors, then take the absolute value of the determinant formed by their components. That determinant equals the magnitude of their cross product, which is the parallelogram area, and it needs no angle measurement at all.

This calculator is provided for study and for checking your own working. It is not a substitute for showing the construction steps your course or assessment requires.

Advertisement
Advertisement

Take it further