Parallelogram Calculator

Enter the base and side with either the height or the angle between them to get the area, perimeter, both angles and both diagonals.

Labels the results only; every length is taken to be in this unit.
The base and side are always used; the height or the angle fixes the slant.
One of the two parallel edges the height is measured between.
The slanted side joining the two bases.
Perpendicular distance between the two bases; at most side b.
Angle between the base and the side at any corner, in degrees.

Area

32 ft²

Perimeter

26 ft

Height

4 ft

Acute angle

53.13°

Obtuse angle

126.87°

Long diagonal p

11.7047 ft

Short diagonal q

6.4031 ft

How it works

A parallelogram is a four-sided figure whose opposite sides are parallel and equal: a rectangle pushed over sideways. Its area is base times height, exactly like a rectangle's, because slicing the overhanging triangle off one end and moving it to the other end turns it into one. The height is the perpendicular distance between the two bases, not the slanted side.

If you know the angle between the base and the side instead of the height, the height is the side times the sine of that angle, so the area is a × b × sin θ. If you know the height, the angle is recovered from asin(h ÷ b). A parallelogram has two different angles that add up to 180°; either one describes the same shape, so the results list the acute and obtuse angles together.

The two diagonals are found with the law of cosines in the triangles they cut off: the diagonal opposite the acute angle, joining the two obtuse corners, is the short one, √(a² + b² − 2ab cos θ), and the one joining the two acute corners is the long one with a plus sign. They always satisfy the parallelogram law, p² + q² = 2(a² + b²).

Formula

area      = a × h = a × b × sin θ
perimeter = 2 (a + b)
h = b × sin θ          θ = asin(h ÷ b)
p = √(a² + b² + 2ab cos θ)     q = √(a² + b² − 2ab cos θ)     (θ the acute angle)

Example

A parallelogram with base 8 ft, side 5 ft and height 4 ft has an area of 8 × 4 = 32 ft² and a perimeter of 2 × (8 + 5) = 26 ft. Its acute angle is asin(4 ÷ 5) ≈ 53.13°, the obtuse one 126.87°, and with cos 53.13° = 0.6 the diagonals are √(64 + 25 + 48) = √137 ≈ 11.70 ft and √(64 + 25 − 48) = √41 ≈ 6.40 ft.

The same 8 ft and 5 ft sides meeting at 60° give a height of 5 × sin 60° ≈ 4.33 ft, an area of 8 × 5 × sin 60° ≈ 34.64 ft², and diagonals √(89 + 40) ≈ 11.36 ft and √(89 − 40) = 7 ft.

Assumptions and limitations

  • Opposite sides are parallel and equal. For a general four-sided figure the sides and one angle do not fix the shape.
  • The angle is in degrees. Either of the parallelogram's two angles gives the same figure; results list the acute one first.
  • All lengths are in the unit you chose. The calculator labels the results with it and does not convert between units.
  • Results are rounded for display only.

Frequently asked questions

Why can't the height be bigger than the side?

The side is the slanted distance between the two bases and the height is the straight-across distance, so the height is always the shorter of the two. When they are equal the side is perpendicular to the base and the figure is a rectangle.

Is a rhombus or a rectangle a parallelogram?

Yes. A rectangle is a parallelogram with a 90° angle, a rhombus one with all four sides equal, and a square is both. This calculator handles all of them; the rhombus and kite calculator adds the diagonal-based inputs that rhombus problems usually give.