Free Perimeter of a Rectangle Calculator

Formula

P = 2(l + w)

Enter length and width

The perimeter will be calculated automatically

Rectangle Perimeter Calculator Overview

This free rectangle perimeter calculator online is a versatile geometry calculator that computes the perimeter of a rectangle instantly using various input combinations. Whether you need to find the perimeter of a rectangle for a math problem, a construction project, or a design task, this tool provides the answer with minimal effort. Simply enter the quantities you have—length and width, length and area, diagonal and side, etc.—and the calculator applies the appropriate rectangle perimeter formula automatically.

Rectangles: Key Properties

A rectangle is a quadrilateral with four right angles (each 90°). Its opposite sides are parallel and equal in length. Both diagonals are congruent and bisect each other, and the rectangle can always be circumscribed by a circle (circumcircle) centered at the intersection of its diagonals. The word “rectangle” stems from the Latin rectangulus, meaning right-angled. The two primary dimensions are length (ll) and width (ww), with additional parameters including diagonal (dd), circumradius (rr), and the angle between diagonals (α\alpha).

The Basic Perimeter Formula

The perimeter of a rectangle is the total distance around its boundary. Adding all four sides gives:

P=l+w+l+w=2l+2w=2(l+w)P = l + w + l + w = 2l + 2w = 2(l + w)

If you know both length and width, this is the simplest rectangle perimeter formula to use. The calculator supports any common unit (cm, m, in, ft, etc.) and can convert between them automatically.

Core Relationships for Advanced Scenarios

When length and width are not both directly given, the calculator relies on three fundamental equations:

  • Area: A=l×wA = l \times w
  • Diagonal: d=l2+w2d = \sqrt{l^{2} + w^{2}}
  • Circumradius: r=d2r = \frac{d}{2}

Using these, the perimeter can be expressed in terms of different known parameters. The table below lists several common scenarios that the rectangle perimeter calculator handles:

Given ParametersPerimeter Expression
Length (ll) and width (ww)P=2(l+w)P = 2(l + w)
Length (or width) and area (AA)P=2l+2AlP = 2l + \dfrac{2A}{l} (if length known) or P=2w+2AwP = 2w + \dfrac{2A}{w}
Length and diagonal (dd)P=2l+2d2−l2P = 2l + 2\sqrt{d^{2} - l^{2}}
Width and diagonal (dd)P=2w+2d2−w2P = 2w + 2\sqrt{d^{2} - w^{2}}
Area and diagonalSolve A=l wA = l\,w and d=l2+w2d = \sqrt{l^{2}+w^{2}} for ll and ww, then compute PP.
Angle between diagonals (α\alpha) and one sideUse the identity sin⁡(α/2)=oppositediagonal\sin(\alpha/2) = \frac{\text{opposite}}{\text{diagonal}} with the known side length.

The calculator assumes length is the longer side, following standard convention. For cases involving the diagonal angle, it uses the angle formed between the two diagonals.

How to Find the Perimeter of a Rectangle Using This Calculator

  1. Choose your input mode – Select which two quantities you have (e.g., length & width, length & area, diagonal & area, etc.).
  2. Enter the values – Input the numbers and select the units for each quantity.
  3. Get the result – The tool instantly displays the perimeter, along with the area and diagonal if helpful.

Example: For a rectangle with length 8 m and width 3 m, the perimeter is P=2(8+3)=22P = 2(8+3) = 22 m. The calculator shows the same result in seconds, plus the area (24 m²) and diagonal (≈ 8.54 m).

Beyond Basic Rectangles: Special Cases

A square—a rectangle with all sides equal—has the same perimeter formula but with l=wl = w: P=4lP = 4l. While every rectangle has a circumcircle, only squares can also have an inscribed circle (incircle).

A golden rectangle is a special rectangle whose length-to-width ratio equals the golden ratio (φ≈1.618\varphi \approx 1.618). This shape is often used in art and architecture for its naturally balanced proportions.

Why Use This Rectangle Perimeter Calculator?

This free rectangle perimeter calculator online saves time and reduces calculation errors, especially when working with non‑standard inputs like diagonal and angle. Instead of deriving formulas manually, you can rely on this geometry calculator to quickly find the perimeter of a rectangle in any situation. Students, engineers, and DIY enthusiasts alike will benefit from its accuracy and flexibility.

FAQ

1. What is the formula for the perimeter of a rectangle?

The most common formula is P = 2(l + w), where l is length and w is width. When you only know the length (or width) and area, the calculator uses P = 2l + 2A/l (or P = 2w + 2A/w).

2. How can I find the perimeter if I only know the diagonal and one side?

Use the Pythagorean relationship d² = l² + w² to solve for the missing side, then apply P = 2(l + w). The rectangle perimeter calculator performs these steps automatically when you input the diagonal and one side.

3. Does the calculator support unit conversion?

Yes, it accepts any common unit (cm, m, in, ft) and automatically converts between them, so you can mix units if needed.

4. What is the perimeter of a rectangle with length 8 m and width 3 m?

Using P = 2(8 + 3) = 22 m. The same result is instantly displayed by the calculator, which also shows the area (24 m²) and diagonal (approximately 8.54 m).

5. What is a golden rectangle?

A golden rectangle is a rectangle where the ratio of length to width equals the golden ratio (about 1.618). It is often used in art and architecture because of its naturally balanced proportions.

How to Use

  1. Enter the length of the rectangle in the input field and select the appropriate unit (mm, cm, m, in, ft, etc.).
  2. Enter the width of the rectangle and select its unit (can differ from length's unit).
  3. The perimeter is calculated instantly using the formula P = 2(l + w) and displayed with your chosen output unit.