Omni Calculator logo

Perimeter of a Rectangle Calculator

Created by Dominik Czernia, PhD
Reviewed by Bogna Szyk and Adena Benn
Last updated: Jun 02, 2023


Use our perimeter of a rectangle calculator if you need to estimate quickly what the perimeter of a specific rectangle is. Try to enter some values, or read on to learn more about rectangles. In the following text, we explain in detail how to find the perimeter of a rectangle with 10 different perimeter of a rectangle formulas.

The rectangle is a quadrilateral with four right angles (4 × 90° = 360°). Its name is derived from the Latin word rectangulus, which means right (rectus) angle (angulus). The opposite sides of the rectangle are parallel to each other and of equal length. Rectangle has two diagonals which intersect in the middle of the rectangle and are of equal lengths. In the picture below, you can see a typical rectangle with marked parameters:

A rectangle with five basic quantities and a perimeter of a rectangle.
  • ll - length;
  • ww - width;
  • α\alpha - angle between diagonals;
  • rr - circumcircle radius;
  • dd - diagonal.

There are two other characteristic quantities that are not shown in the picture:

  • AA - area; and
  • PP - perimeter.

You can always circumscribe a circle on the rectangle because its center is equidistant from all of its four vertices. Moreover, the center of this circle lies exactly at the intersection of two diagonals. However, you can't inscribe a circle into every rectangle. In fact, you can do it only with a square which is a special case of a rectangle. A Square is a quadrilateral with four right angles and all four sides of equal lengths. Check out our perimeter of a square calculator or the diagonal of a square calculator if you need to solve specific problems with squares!

How to find the perimeter of a rectangle?

A perimeter is a path that surrounds any two-dimensional shape. You can think of it as a fence that is required to surround a yard of a garden. A circle is a special figure because the circle perimeter is usually called the circumference.

So how to find the perimeter of a rectangle? You need to sum up the lengths of every side:

P=l+w+l+wP = l + w + l + w

P=2l+2wP = 2 l + 2 w

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

How to find the perimeter of a rectangle? - a rectangle with length and width

With this perimeter of a rectangle calculator, you can make calculations in almost any unit you want. To learn more about length units, check out our length converter!

What's the perimeter of a rectangle formula?

To calculate the perimeter in the above equations, we have used two sides of a rectangle. However, in some mathematical problems, there are different quantities given. How to find the perimeter of a rectangle in these situations? Most of these problems can be solved with the perimeter of a rectangle calculator. Before we write down appropriate formulas, there are three basic equations for the area, diagonal, and circumcircle radius of a rectangle that you should remember:

  1. Area of a rectangle: A=wlA = w l;
  2. Diagonal of a rectangle d=l2+w2d = \sqrt{l^2 + w^2}; and
  3. Circumcircle radius of a rectangle r=d/2r = d/2.

With the above equations, we can now derive various perimeter of rectangle formulas that are used by the calculator on this site:

  1. Given length and width:
P=2l+2w\quad P = 2l + 2w
  1. Given length/width and diagonal:
P=2l+2d2l2orP=2w+2d2w2\quad P = 2l + 2\sqrt{d^2 - l^2} \\[8pt] \quad \text{or}\\[8pt] \quad P = 2w + 2\sqrt{d^2 - w^2}
  1. Given length/width and area:
P=2l+2AlorP=2w+2Aw\quad P = 2l + \frac{2A}{l} \\[8pt] \quad \text{or}\\[8pt] \quad P = 2w + \frac{2A}{w}
  1. Given length/width and angle:
P=2l+2ltanα2orP=2w+2wtanα2\quad P = 2l + \frac{2l}{\tan{\frac{\alpha}{2}}} \\[8pt] \quad \text{or}\\[8pt] \quad P = 2w + \frac{2w}{\tan{\frac{\alpha}{2}}}
  1. Given length/width and circumcircle radius:
P=2l+24r2l2orP=2w+24r2w2\quad P = 2l + 2\sqrt{4r^2 - l^2} \\[8pt] \quad \text{or}\\[8pt] \quad P = 2w + 2\sqrt{4r^2 - w^2}
  1. Given diagonal and area:
P=2d2+2d44A2+2d22d44A2\begin{align*} \quad P &= \sqrt{2d^2 + 2\sqrt{d^4 - 4A^2}} \\[8pt] &+ \sqrt{2d^2 - 2\sqrt{d^4 - 4A^2}} \end{align*}
  1. Given diagonal and angle:
P=2d(sinα2+cosα2)\quad P = 2d \left( \sin{\frac{\alpha}{2}} + \cos{\frac{\alpha}{2}} \right)
  1. Given area and angle:
P=2Atanα2(tanα2+1)\quad P = 2\sqrt{\frac{A}{\tan{\frac{\alpha}{2}}}}\left( \tan{\frac{\alpha}{2}} + 1 \right)
  1. Given area and circumcircle radius:
P=8r2+44r4A2+8r244r4A2\begin{align*} \quad P &= \sqrt{8r^2 + 4\sqrt{4r^4 - A^2}} \\[8pt] &+ \sqrt{8r^2 - 4\sqrt{4r^4 - A^2}} \end{align*}
  1. Given angle and circumcircle radius:
P=4r(sinα2+cosα2)\quad P = 4r \left( \sin{\frac{\alpha}{2}} + \cos{\frac{\alpha}{2}} \right)

Note: The angle α\alpha between diagonals is in the front of the length like in the first figure. Also, remember that the perimeter of a rectangle calculator assumes that the length is longer than the width!

Have you ever heard about the golden rectangle? It is a special rectangle, the side lengths of which are in the golden ratio. Check out our golden rectangle calculator to learn more about constructing golden rectangles! If you want to learn about the ratio alone, then our golden ratio calculator is the right place to start.

Dominik Czernia, PhD
How to find th perimeter of a rectangle - a picture
Width (a)
in
Length (b)
in
Diagonal (d)
in
Area
in²
Angle between diagonals (γ)
deg
Circumcircle radius
in
Perimeter
Perimeter
in
Check out 23 similar 2d geometry calculators 📏
AreaArea of a rectangleArea of crescent… 20 more
People also viewed…

Books vs e-Books

The books vs. e-books calculator answers the question: how ecological is your e-book reader? 📚

Discriminant

The discriminant calculator is here whenever you need to find the discriminant of any polynomial whose degree is between two and five.

Significant figures

The significant figures calculator performs operations on sig figs and shows you a step-by-step solution!

Surface area

This surface area calculator calculates the surface area of a sphere, cube, cylinder, pyramid, cone, and rectangular and triangular prism.
Copyright by Omni Calculator sp. z o.o.
Privacy, Cookies & Terms of Service