Parallelogram Calculator

Compute the area, diagonals, perimeter, angles, height, and side lengths of any parallelogram. Choose between side‑angle input or vertex coordinates. Visualize the parallelogram, its diagonals, height, and vector components on an interactive canvas.

Length of side AB.
Length of adjacent side BC.
Angle between base a and side b, in degrees.
D = A + C − B (automatically computed)
Enter three vertices A, B, C. Vertex D is derived as A + C − B.
▭ Rectangle: a=5, b=3, θ=90°
◇ Rhombus: a=4, b=4, θ=60°
? Acute: a=6, b=4, θ=45°
⛛ Obtuse: a=5, b=3, θ=120°
⬜ Square: a=4, b=4, θ=90°
? Coords: A(0,0) B(5,0) C(7,3)
Privacy first: All calculations are performed locally in your browser. The graph is drawn on your device – no data is ever transmitted.

What Is a Parallelogram? A Comprehensive Overview

A parallelogram is a quadrilateral with two pairs of parallel opposite sides. This seemingly simple definition gives rise to a rich set of properties: opposite sides are equal in length, opposite angles are equal, and the diagonals bisect each other. The parallelogram is a fundamental shape in Euclidean geometry, appearing everywhere from tiling patterns and structural engineering to vector algebra and computer graphics.

For a parallelogram with side vectors u and v:

Area = |u × v| = |u|·|v|·sin θ

Diagonal 1 = |u + v| ,   Diagonal 2 = |uv|

Perimeter = 2(|u| + |v|)

Why Use an Interactive Parallelogram Calculator?

  • Visual Learning: Instantly see how changing the base, side, or angle affects the shape, area, and diagonals. Perfect for building intuition about parallelogram geometry.
  • Educational Aid: Verify homework, prepare for exams, or explore the relationships between side lengths, angles, and diagonals.
  • Design & Architecture: Used in floor plan design, truss analysis, and pattern generation where parallelogram grids are common.
  • Engineering & Physics: Vector addition and resolution often use parallelogram laws; this tool provides instant numerical validation.

Derivation of Key Formulas

Area: The area of a parallelogram is the magnitude of the cross product of its adjacent side vectors. If base vector u = B − A and side vector v = D − A, then Area = |ux·vy − uy·vx|. Equivalently, Area = base × height, where height = |v|·sin θ.

Diagonals: The diagonals are given by the sum and difference of the side vectors: d₁ = |u + v| (from A to C) and d₂ = |uv| (from B to D). These lengths satisfy the parallelogram law: d₁² + d₂² = 2(|u|² + |v|²).

Angles: Opposite angles are equal. If θ is the angle at A, then angle at B is 180° − θ. In a parallelogram, adjacent angles are supplementary.

Height: The perpendicular distance between the base and its opposite side is h = b·sin θ, where b is the side length and θ is the interior angle at the base.

How to Use This Calculator

  1. Choose between Side‑Angle mode (base, side, included angle) or Coordinate mode (three vertices).
  2. In Side‑Angle mode, enter the base length a, side length b, and the included angle θ (in degrees).
  3. In Coordinate mode, enter the (x, y) coordinates for vertices A, B, and C. Vertex D is computed automatically.
  4. Click Calculate & Draw to see all properties and the interactive graph.
  5. Use the example presets to quickly explore special cases like rectangles, rhombuses, and squares.

Special Cases and Relationships

Type Base (a) Side (b) Angle θ Area Diagonals Notes
Rectangle 5 3 90° 15 √34 ≈ 5.83 Diagonals equal; θ = 90°
Rhombus 4 4 60° 13.86 √(32±16) ≈ 6.93, 4.00 All sides equal; diagonals perpendicular
Square 4 4 90° 16 4√2 ≈ 5.66 Rectangle + rhombus
Obtuse 5 3 120° 12.99 √(25+9±30·cos120°) ≈ 5.57, 7.00 One diagonal longer
Case Study: Parallelogram Truss in Bridge Design

Structural engineers often use parallelogram‑based trusses to distribute loads evenly. Consider a steel truss panel with base a = 8 m, side b = 5 m, and angle θ = 75°. The area of the panel is 8 × 5 × sin 75° ≈ 38.64 m², and the diagonals are √(64+25+80·cos75°) ≈ 11.18 m and √(64+25−80·cos75°) ≈ 6.71 m. These diagonal lengths are critical for calculating the required brace lengths and load paths. Our calculator provides these values instantly, allowing rapid iteration of design parameters during the drafting phase.

The Parallelogram Law in Vector Algebra

One of the most important applications of parallelograms is in vector addition. The parallelogram law states that if two vectors u and v are represented as adjacent sides of a parallelogram, then their sum u + v is the diagonal from the common vertex. This principle underpins everything from Newtonian mechanics (resultant forces) to signal processing (phasor addition). Our calculator visualizes these vector relationships directly on the canvas, showing both side vectors and the diagonal sum.

The diagonal lengths also satisfy the identity: d₁² + d₂² = 2(a² + b²), which is a direct consequence of the parallelogram law and provides a quick check for the consistency of any parallelogram.

Common Misconceptions About Parallelograms

  • All parallelograms are rectangles: False. Rectangles are a special subset where all angles are 90°; a parallelogram can have any angle.
  • Diagonals of a parallelogram are always equal: Only true for rectangles. In a general parallelogram, diagonals have different lengths unless the shape is a rectangle.
  • Area = base × side: Incorrect. Area = base × height, where height is the perpendicular distance. The formula base × side would only hold for a rectangle (θ = 90°).
  • Opposite angles are always 90°: No, only in rectangles. Opposite angles are equal but can be any value, while adjacent angles are supplementary.

Applications Across Disciplines

  • Architecture: Parallelogram grids are used in modern façade designs and modular floor plans.
  • Engineering: Truss structures, force diagrams, and stress analysis rely on parallelogram properties.
  • Computer Graphics: Affine transformations preserve parallelograms, making them essential in 2D and 3D rendering.
  • Physics: Vector resolution, resultant forces, and relative motion are all visualized using parallelograms.
  • Art & Design: Tiling patterns, tessellations, and perspective drawing often use parallelogram‑based grids.

Built on a foundation of Euclidean and analytic geometry – This tool implements formulas derived from classical geometry, verified against standard references including Elementary Geometry for College Students (Alexander & Koeberlein), Vector Analysis (Gibbs & Wilson), and authoritative online resources such as MathWorld and Khan Academy. The interactive rendering uses the HTML5 Canvas API with real‑time updates. Reviewed by the GetZenQuery tech team, last updated July 2026.

Frequently Asked Questions

A rhombus is a special type of parallelogram where all four sides are equal in length. While a parallelogram only requires opposite sides to be equal, a rhombus has the additional constraint that adjacent sides are also equal. Every rhombus is a parallelogram, but not every parallelogram is a rhombus.

If you know the lengths of the diagonals (d₁ and d₂) and the angle φ between them, the area is ½ · d₁ · d₂ · sin φ. For a rhombus, where the diagonals are perpendicular, area = ½ · d₁ · d₂.

Yes. When all four angles are 90°, the parallelogram is a rectangle. If additionally all sides are equal, it becomes a square.

In physics, the parallelogram law states that if two vectors are represented by the adjacent sides of a parallelogram, the resultant vector is given by the diagonal. This is the basis for vector addition of forces, velocities, and other physical quantities.

If the side vectors are collinear (angle = 0° or 180°), the area becomes zero and the shape collapses to a line. The calculator will detect this and display a warning. Inputs with a = 0 or b = 0 are also treated as degenerate.

Visit Wolfram MathWorld, Khan Academy, or consult the classic textbook Euclidean Geometry in Mathematical Olympiads by Evan Chen.