Parallelogram Calculator

Parallelogram Calculator

Popular AI Skill PRO

Enter Calculation

Formula

K=Side b×Height hK = \text{Side b} \times \text{Height h}

Example

K=10×4=40K = 10 \times 4 = 40
Usage stats

Advertisement

Results

Area K
40
Property Value
Side b length 10
Height h 4
Area K 40

Report an error on this page

What this parallelogram calculator does

This tool solves for the unknown properties of a parallelogram — side lengths, corner angles, diagonals, height, perimeter and area — from whatever combination of values you already know. Choose a "Calculation" mode from the dropdown, enter the required quantities, and the calculator returns every dependent measurement. It is a pure geometry tool, so it applies everywhere; the unit selector is just a display label (all lengths must share the same unit).

Labeled parallelogram showing sides, angles, height and diagonals
Anatomy of a parallelogram: sides a and b, angles A and B, height h, and diagonals p and q.

How to use it

1) Pick a mode that matches your known values (for example "Given a, b, A" or the default "Given b, h"). 2) Fill in the inputs that appear. 3) Optionally set a display unit and the number of significant figures. 4) Read the answer panel, which lists angles (A = C and B = D), both sides, both diagonals, height, perimeter and area.

The formulas

Angles are supplementary: \(B = 180^\circ - A\), and opposite angles are equal (\(C = A\), \(D = B\)). The perimeter is \(P = 2(a + b)\). The area is \(K = b\cdot h = a\cdot b\cdot\sin A\), with height \(h = a\cdot\sin A\). The diagonals come from the law of cosines: \(p = \sqrt{a^2 + b^2 - 2ab\cdot\cos A}\) and \(q = \sqrt{a^2 + b^2 + 2ab\cdot\cos A}\). A handy cross-check is the parallelogram law, \(p^2 + q^2 = 2(a^2 + b^2)\). Angles are computed internally in radians and reported in degrees.

Advertisement
Parallelogram split showing area as base times height
Area equals base times height: a right-triangle piece moved to form an equivalent rectangle.

Worked example

Mode "Given a, b, A" with \(a = 5\), \(b = 8\), \(A = 60^\circ\): \(B = 120^\circ\); $$h = 5\cdot\sin 60^\circ = 4.33013$$ $$K = 8\cdot 4.33013 = 34.6410$$ $$P = 2(13) = 26$$ $$p = \sqrt{25+64-40} = 7$$ $$q = \sqrt{89+40} = 11.3578$$ The parallelogram law confirms \(49 + 129 = 178 = 2\cdot 89\).

More Worked Examples for Other Modes

These two examples use different input modes. In both, the notation is: sides \(a\) and \(b\), angle \(A\) between them, height \(h\) on base \(b\), area \(K\), and diagonals \(p\) (opposite angle \(A\), the shorter one when \(A\) is acute) and \(q\).

Example 1: given b and h (the default mode)

Known: \(b = 10\), \(h = 6\), \(a = 7\) (the slanted side).

  1. Angle: \(\sin A = \dfrac{h}{a} = \dfrac{6}{7} = 0.857143\), so \(A = \arcsin(0.857143) \approx 59.00^\circ\). The adjacent angle is \(B = 180^\circ - A \approx 121.00^\circ\).
  2. Area: \(K = b \cdot h = 10 \times 6 = 60\).
  3. Perimeter: \(P = 2(a+b) = 2(7+10) = 34\).
  4. Cosine: \(\cos A = \sqrt{1 - \sin^2 A} = \sqrt{1 - \tfrac{36}{49}} = \dfrac{\sqrt{13}}{7} \approx 0.51508\).
  5. Diagonals from the law of cosines, with \(2ab\cos A = 2 \cdot 7 \cdot 10 \cdot 0.51508 \approx 72.111\) and \(a^2 + b^2 = 49 + 100 = 149\):
    \(p^2 = 149 - 72.111 = 76.889 \Rightarrow p \approx 8.769\)
    \(q^2 = 149 + 72.111 = 221.111 \Rightarrow q \approx 14.870\)
  6. Parallelogram-law check: \(p^2 + q^2 = 76.889 + 221.111 = 298\) and \(2(a^2 + b^2) = 2 \cdot 149 = 298\). ✓

Cross-check with coordinates: the horizontal offset of the slanted side is \(\sqrt{a^2 - h^2} = \sqrt{13} \approx 3.606\). Then \(p = \sqrt{(10 - 3.606)^2 + 6^2} = \sqrt{76.889}\) and \(q = \sqrt{(10 + 3.606)^2 + 6^2} = \sqrt{221.111}\), matching the values above.

Example 2: given area, a and b (acute vs. obtuse ambiguity)

Known: \(K = 40\), \(a = 5\), \(b = 10\).

  1. Sine of the angle: \(\sin A = \dfrac{K}{ab} = \dfrac{40}{50} = 0.8\).
  2. Two angles have this sine: \(A = \arcsin(0.8) \approx 53.13^\circ\) or \(A = 180^\circ - 53.13^\circ = 126.87^\circ\). The area, sides and perimeter cannot tell them apart, so both are valid parallelograms.
  3. Perimeter: \(2(5+10) = 30\). Heights: \(h_b = K/b = 4\) and \(h_a = K/a = 8\).
  4. Cosine: \(\cos A = \pm 0.6\), so \(2ab\cos A = \pm 60\) and \(a^2 + b^2 = 125\).
  5. Acute case (\(A = 53.13^\circ\)): \(p^2 = 125 - 60 = 65 \Rightarrow p \approx 8.062\); \(q^2 = 125 + 60 = 185 \Rightarrow q \approx 13.601\).
  6. Obtuse case (\(A = 126.87^\circ\)): the two diagonal values swap, so \(p \approx 13.601\) and \(q \approx 8.062\).
  7. Parallelogram-law check: \(65 + 185 = 250 = 2(25 + 100)\). ✓

The same law helps when you know both diagonals and one side: \(b = \sqrt{\dfrac{p^2 + q^2}{2} - a^2}\). With \(p = \sqrt{65}\), \(q = \sqrt{185}\), \(a = 5\): \(b = \sqrt{125 - 25} = 10\). The diagonals alone give \(\sin A\) only up to the same acute/obtuse choice, so a calculator may report both solutions.

Advertisement

Scenario Comparison: How Angle Changes Area and Diagonals

Fixed sides \(a = 5\) and \(b = 8\), so the perimeter is always \(2(5+8) = 26\). Only angle \(A\) changes. Formulas: \(h = a\sin A\), \(K = ab\sin A = 40\sin A\), \(p = \sqrt{89 - 80\cos A}\), \(q = \sqrt{89 + 80\cos A}\). Here \(p\) is the diagonal opposite angle \(A\).

Angle A Height h = a·sin A Area K = ab·sin A Diagonal p Diagonal q Perimeter
30° 2.500 20.000 4.440 12.581 26
45° 3.536 28.284 5.695 12.065 26
60° 4.330 34.641 7.000 11.358 26
90° 5.000 40.000 9.434 9.434 26
120° 4.330 34.641 11.358 7.000 26
150° 2.500 20.000 12.581 4.440 26
  • Maximum area at 90°. The shape becomes a rectangle and \(K = 5 \times 8 = 40\), since \(\sin A\) cannot exceed 1. The two diagonals are then equal: \(\sqrt{89} \approx 9.434\).
  • A and 180° − A give the same area and height. Compare 30° with 150° and 60° with 120°: \(\sin A = \sin(180^\circ - A)\).
  • The diagonals swap. Since \(\cos(180^\circ - A) = -\cos A\), the values of \(p\) and \(q\) exchange places. The shorter diagonal always lies opposite the acute angle.
  • Check: in every row \(p^2 + q^2 = 178 = 2(5^2 + 8^2)\). For 60°: \(49 + 129 = 178\). ✓
  • As \(A\) shrinks toward 0° or grows toward 180°, the shape flattens: the area falls to 0 and the diagonals approach \(b - a = 3\) and \(a + b = 13\).

FAQ

Does the unit rescale my numbers? No — all lengths are assumed to be in the same unit, which is simply attached to the results. Area carries that unit squared.

Why do I sometimes get an error? Some inputs describe an impossible figure, e.g. an area larger than \(a\cdot b\) (\(\sin A\) would exceed 1) or a diagonal that violates the cosine domain. Adjust the values so they are geometrically consistent.

Which diagonal is p and which is q? \(p\) is opposite angle A and \(q\) is opposite angle B; whichever is longer depends on whether A is acute or obtuse.

Last updated:

Most popular in Geometry

View all Geometry calculators