Parallelogram calculator
A parallelogram is a four-sided shape with two pairs of parallel, equal sides. Enter the base, the adjacent side and the included angle between them, and this tool returns the area, the height, the perimeter and both diagonals. It is useful for geometry homework, drafting and any layout where you know two sides and the angle between them.
How it works
With base b, side a and included angle θ (converted to radians), the tool computes:
area = b × a × sin(θ)
height = a × sin(θ) (perpendicular height onto the base)
perimeter = 2 × (b + a)
d1 = √(a² + b² − 2ab·cos(θ))
d2 = √(a² + b² + 2ab·cos(θ))
The two diagonals use supplementary angles, which is why one has a minus and the other a plus in front of the cosine term.
Example
Base 10, side 6, angle 60°:
- Height: 6 × sin(60°) = 6 × 0.8660 = 5.196
- Area: 10 × 6 × sin(60°) = 51.96
- Perimeter: 2 × (10 + 6) = 32
- d1: √(36 + 100 − 120·cos60°) = √(136 − 60) = √76 ≈ 8.718
- d2: √(36 + 100 + 60) = √196 = 14.0
Everything is computed locally in your browser — nothing is uploaded.