Parallelogram calculator

Calculate area, perimeter, height, diagonals and angles of a parallelogram from its sides, included angle, height, area or diagonals.

⚑ Report error
Area
—
K = a · b · sin(A)
Perimeter
—
P = 2(a + b)
Height
—
h = b · sin(A)

Area as the angle changes

Same sides a and b; only the included angle A changes.
Live
Maximum at 90°Updates with every input

Current geometry

Relative lengths of a, b, h, p and q.
Live
Current scenarioa · b · h · p · q
LIVE GEOMETRY INTELLIGENCE

What the numbers tell you

Updates live
Adjacent angle—B = 180° − A
Diagonal balance—p² + q² = 2(a²+b²)
Shape type—Based on sides and angle
Area efficiency—relative to a × b

Parallelogram geometry

The height is the perpendicular component of side b.
Live

Calculated properties

LIVE
PropertyFormula / relationValue
THE CONCEPT

What is a parallelogram?

A parallelogram is a quadrilateral with two pairs of opposite sides parallel. Opposite sides have equal lengths, opposite angles are equal, and each pair of adjacent angles adds to 180°. These relationships make it possible to derive area, height, perimeter and diagonals from a relatively small set of measurements.

For an education-focused calculation, the key idea is to separate length from perpendicular height. The side b is not generally the height. Instead, its perpendicular component is h = b sin(A). Once that height is known, the familiar area rule K = a h follows.

a — base b h A p q
The dashed vertical segment is the perpendicular height. The two dashed diagonals bisect each other.
Core relationship: area depends on the perpendicular height, not simply on the slanted side. Therefore K = a·b·sin(A) and K = a·h are the same geometric fact written in two forms.

How to use the parallelogram calculator

01

Choose the shape

Use the general parallelogram mode, or switch to rectangle, rhombus or square for their special constraints.

02

Enter known values

For the standard case, enter a, b and the included angle A. Other fields can be used to reverse-solve.

03

Read the geometry

The calculator fills area, height, perimeter, diagonals and the adjacent angle B.

Rectangle, rhombus and square: special cases

A rectangle is a parallelogram with four right angles. A rhombus is a parallelogram with four equal sides. A square satisfies both conditions. The general formulas still apply, but the special constraints simplify them.

ShapeDefining conditionAreaPerimeter
ParallelogramOpposite sides parallela·b·sin(A)2(a+b)
RectangleA = 90°a·b2(a+b)
Rhombusa = ba²·sin(A)4a
Squarea = b and A = 90°a²4a

Parallelogram formulas

The formulas below cover the main quantities used by this calculator. They are closely connected: once one geometric relationship is known, the others follow through trigonometry and the parallelogram law.

Area · base + height
K = a h

Here h is the perpendicular distance between the pair of sides of length a.

Area · sides + angle
K = a b sin(A)

The sine extracts the perpendicular component of b.

Height
h = b sin(A)

For the chosen base a, height is the perpendicular component of side b.

Perimeter
P = 2(a + b)

Opposite sides are equal, so each side length occurs twice.

Diagonal p
p = √(a² + b² − 2ab cos A)

This is the cosine-law form for the diagonal joining the endpoints of the two side vectors.

Diagonal q
q = √(a² + b² + 2ab cos A)

The other diagonal uses the opposite vector direction and therefore the plus sign.

K = a × h h a
Cutting away the slanted triangle and moving it to the other side turns a parallelogram into a rectangle with the same area.

Diagonals and the parallelogram law

The diagonals are not generally equal and not generally perpendicular. What is always true is that they bisect one another and satisfy the parallelogram law:

p² + q² = 2(a² + b²)

This identity is useful as a consistency check. If you know a, b, p and q, the equation can also be rearranged to recover a missing side.

Angles and height

Adjacent angles are supplementary, so B = 180° − A. Because sin(A) = sin(180° − A), either adjacent angle produces the same area when used with the same two side lengths.

QuantityRelationshipMeaning
Opposite anglesA = C, B = DOpposite corners match.
Adjacent anglesA + B = 180°Neighboring corners are supplementary.
Heighth = b sin(A)Perpendicular component of b.
Maximum areaA = 90°For fixed a and b, sin(A) is largest.

Worked examples

Example 1: sides 10 cm and 6 cm with a 60° included angle

Start with K = a·b·sin(A). Substituting a = 10, b = 6 and A = 60° gives K = 10 × 6 × sin(60°) ≈ 51.96 cm². The height is h = 6 sin(60°) ≈ 5.20 cm, so K = 10 × 5.20 gives the same result to rounding.

K ≈ 51.96 cm² · h ≈ 5.20 cm · P = 32 cm

Example 2: area and side b

If K and a are known, height is h = K/a. If b is also required and the angle is known, rearrange K = a b sin(A) to b = K/(a sin(A)). This is useful when a geometry problem gives area rather than height.

Example 3: using a diagonal

If a, b and diagonal p are known, the included angle can be recovered with the cosine rule:

A = arccos((a² + b² − p²)/(2ab))

Once A is known, the calculator can recover the height, area, other diagonal and perimeter.

Common checks and mistakes

CheckWhat to remember
Side vs heightDo not use b as the height unless A = 90°.
DegreesThe calculator uses degrees; trigonometric functions internally use radians.
Diagonal signsp and q use opposite signs on the 2ab cos(A) term.
Angle rangeA valid non-degenerate parallelogram has 0° < A < 180°.
UnitsLength results are in cm; area is in cm².

Parallelogram calculator FAQ

What is the formula for the area of a parallelogram?

The basic formula is K = a·h, where a is a base and h is the perpendicular height. If the two sides and included angle are known, the equivalent formula is K = a·b·sin(A).

How do I find the height if I know the sides and angle?

For base a and adjacent side b, use h = b·sin(A). The sine extracts the perpendicular component of b.

Are parallelogram diagonals equal?

Not in general. They are equal for a rectangle, but a general parallelogram usually has two different diagonal lengths. Both diagonals bisect each other.

When is the area largest for fixed sides?

For fixed a and b, K = ab sin(A), so the maximum occurs at A = 90°, where sin(A) = 1. The parallelogram is then a rectangle.

Can I calculate a parallelogram from a diagonal?

Yes, when enough additional information is known. For example, with a, b and p, the included angle can be recovered with the cosine rule, after which the remaining quantities follow.