A parallelogram has two pairs of parallel sides. Rectangles, rhombi and squares are special cases. Parallelograms model forces (the parallelogram law of vectors), slanted roofs and folding mechanisms.
How to use the Parallelogram Calculator
- What do you know?
- Side a
- Side (base) b
- Angle α
- Height h
- Diagonal e
- Diagonal f
- Angle θ between diagonals
Results update as you type, and everything is calculated in your browser.
How it works
Choose your known values. With sides and angle the diagonals come from the law of cosines; with diagonals and the angle between them the sides come from the same law in reverse.
Inputs explained
| Field | What to enter |
|---|---|
| What do you know? | Choose one: Sides a, b and angle α, Base b and height h, Diagonals e, f and angle θ between them |
| Side a | Units: cm, m, mm, in, ft, yd … |
| Side (base) b | Units: cm, m, mm, in, ft, yd … |
| Angle α | Units: °, rad, π rad, grad, turn |
| Height h | Units: cm, m, mm, in, ft, yd … |
| Diagonal e | Units: cm, m, mm, in, ft, yd … |
| Diagonal f | Units: cm, m, mm, in, ft, yd … |
| Angle θ between diagonals | Units: °, rad, π rad, grad, turn |
What each result means
- Long diagonal = sqrt([Side a]^2 + [Side (base) b]^2 + 2×[Side a]×[Side (base) b]×abs(cos(rad([Angle α]))))
- Short diagonal = sqrt([Side a]^2 + [Side (base) b]^2 – 2×[Side a]×[Side (base) b]×abs(cos(rad([Angle α]))))
- Side a = sqrt([Diagonal e]^2÷4 + [Diagonal f]^2÷4 – [Diagonal e]×[Diagonal f]×cos(rad([Angle θ between diagonals]))÷2)
- Side b = sqrt([Diagonal e]^2÷4 + [Diagonal f]^2÷4 + [Diagonal e]×[Diagonal f]×cos(rad([Angle θ between diagonals]))÷2)
Example values
How the main result changes when Side a changes and everything else stays at the example values above:
| Side a (cm) | Area (cm²) |
|---|---|
| 2.5 | 17.3205 |
| 3.75 | 25.9808 |
| 5 | 34.641 |
| 6.25 | 43.3013 |
| 7.5 | 51.9615 |
| 10 | 69.282 |
Formula
A = a·b·sin α = b·h = ½·e·f·sin θ
p, q = √(a² + b² ± 2ab cos α)
Worked example
Inputs: What do you know?: Sides a, b and angle α; Side a: 5 cm; Side (base) b: 8 cm; Angle α: 60 °.
Results: Area = 34.641016 cm²; Perimeter = 26 cm; Height to side b = 4.330127 cm; Long diagonal = 11.357817 cm; Short diagonal = 7 cm.
Key terms
- Parallelogram
- A quadrilateral with two pairs of parallel sides.
Frequently asked questions
What is the area of a parallelogram?
Base × height, or a·b·sin α.
Do the diagonals bisect each other?
Yes, always.
What is the parallelogram law?
p² + q² = 2(a² + b²).
Are opposite angles equal?
Yes, and adjacent angles add up to 180°.