Whether you need to know the area of a carpet, a parcel, a TV screen, rectangle pool or window, this area of a rectangle calculator will solve your problem in a blink of an eye! All you have to do is input the length and width (or diagonal), and allow this rectangle calc to find the values of P (perimeter) and A (area). Keep reading if you want to understand what is a rectangle, you're interested in the rectangle definition, formulas, properties of a rectangle... Or you just want to learn how to find the area of a rectangle.

Since you're already here, we believe that our other geometric shape calculators may be of interest to you. Have a look at our great tools, and feel free to have a play with them and try them out!

A rectangle is an example of a quadrilateral shape - maybe you want to check out a different ones?

What is a rectangle? Rectangle definition

A rectangle is a quadrilateral with four right angles. It may also be defined in another way: a parallelogram containing a right angle - if one angle is right, the others must be the same. Moreover, each side of a rectangle has the same length as the one opposite to it. It also has unequal adjacent sides, in contrast to a square which is a special case of a rectangle.

If you know some Latin, the name of a shape usually explains a lot. The word rectangle comes from Latin rectangulus. It's a combination of rectus (which means "right, straight") and angulus (an angle), so it may serve as a simple, basic definition of a rectangle.

How to find the area of a rectangle?

How to find area of a rectangle - rectangle ABCD with sides a and b anf diagonal d

The image above shows a typical rectangle. It has four sides and four right angles. The lengths of its sides are denoted with a and b, while the length of the diagonal is denoted with d.

If all sides of the rectangle have equal lengths, it is called a square.

The area of a rectangle is a space restricted by its sides, or, in other words, within the perimeter of a rectangle. To find the area of a rectangle, all you need to do is a multiplication of rectangular sides a and b:

Area = a * b

Rectangle formulas

Our rectangle calculator has the following formulas implemented:

  • For the area of a rectangle:

A = a * b

  • For the perimeter of a rectangle:

P = 2 * (a + b)

  • For the diagonal of a rectangle:

d² = a² + b²

If you're interested in the area of 3D solids rather than two-dimensional shapes, check out the surface area calculator.

Rectangle calc: find A (area)

area of a rectangle

As we know the formula for the area of a rectangle A = a * b, let's show with an example how you can calculate that property:

  1. Choose the length of the rectangle - for example, a = 5 cm.
  2. Decide on the width of the rectangle - for example, b = 6 cm.
  3. Multiply these two values: A = 5 cm * 6 cm = 30 cm².
  4. The area of the rectangle is 30 cm².

Rectangle calc: find P (perimeter)

perimeter of a rectangle

Let's find out how to find a perimeter of a rectangle. As usual, the perimeter is a sum of all sides of a shape:

P = a + b + a + b

which can be written as:

P = 2 * (a + b)

Let's take the same rectangle as an example:

  1. Choose the length of the rectangle - a = 5 cm in our case.
  2. Decide on the width of the rectangle - e.g. b = 6 cm.
  3. Add these two values: a + b = 5 + 6 = 11 cm.
  4. Multiply the result by 2: P = 2 * 11 = 22 cm.
  5. Here we go! The perimeter of our rectangle is 22 cm.

Rectangle calc: find D (diagonal)

diagonal of a rectangle

The diagonal of a rectangle is a segment that connects two opposite vertices of a rectangle. Let's calculate the diagonal length of the exemplary rectangle:

  1. Choose the length of the rectangle - for example, a = 5 cm.
  2. Decide on the width of the rectangle - for example, b = 6 cm.
  3. Calculate a to the power of two: a² = 25 cm².
  4. Calculate b to the power of two: b² = 36 cm².
  5. Add these two values: a² + b² = 25 + 36 = 61 cm².
  6. Finally, take the square root of the result: d = √(a² + b²) = √61 ~ 7.81 cm.
  7. The length of the diagonal is 7.81 cm.

Naturally, instead of calculating all of these values manually, you can go ahead and use this area of a rectangle calculator. You can also use it in reverse - for example, to calculate the width of a rectangle with a known length and perimeter.

Golden rectangle

golden rectangle

golden ratio

A special type of a rectangle, called the golden rectangle, is shown in the image above. Such a rectangle fulfills the following condition:

(a + b) / a = a / b = ϕ

where φ is the golden ratio equal to 1.618.

As you probably remember from the ratio calculator, a ratio is the relationship between two quantities, often represented as a fraction.

golden rectangle - explanation

Did you know that you can construct the golden triangle using only a straightedge and compass? It's just a few steps!

  1. Draw a square.
  2. Draw a line from the midpoint of one side of the square to the opposite corner.
  3. Draw a circle with the radius equal to that line and center in the midpoint, as in the picture.
  4. The point where the circle meets the extended square side is a next corner of the golden rectangle.
  5. Find the last vertex and complete the golden rectangle.

Taadaaah! It wasn't so hard, was it?

Properties of a rectangle

Rectangles have many interesting properties. A rectangle:

  • is cyclic - meaning that all corners lie on a single circle.
  • is equiangular - all its corner angles are equal to 90 degrees.
  • is rectilinear - its sides meet at right angles.
  • has two lines of reflectional symmetry - vertical and horizontal through the center.
  • has two diagonals, which bisect each other. You can find the length of the diagonal, using the Pythagorean theorem.
  • the opposite sides of a rectangle are parallel to each other and have equal length.

Other lesser known rectangular properties:

  • The intersection of the diagonals is the circumcenter - a circle exists which has a center in that point, and it passes through the four corners.
  • In a rectangle with the different side lengths (simply speaking - not a square), it's not possible to draw the incircle.
  • Lines joining the midpoints of the sides of a rectangle form a rhombus, which is half the area of the rectangle. The sides of the shape are parallel to the diagonals.

You can think of your own properties as well; e.g. concerning the revolution of a rectangle - along the side or diagonal to get a cylinder or a cone, respectively.

Rectangle vs. other shapes. Is a square a rectangle?


  1. Is a square a rectangle? YES.
  2. Is a rectangle a parallelogram? YES.
  3. Is a rectangle a rhombus? In general - NO. Only if it's a square (the angles of the rhombus are all 90 degrees).
  4. Is a rhombus a rectangle? In general - NO. Only if it's a square (the sides of the rectangle are all equal length).
  5. Is a rectangle a quadrilateral? YES, of course.
  6. Is a rectangle a trapezoid? YES.

Wondering if a square is a rectangle or a rectangle is a parallelogram? Have a look at the picture and you shouldn't have any doubts about the relations between quadrilaterals any more:

The graph of quadrilaterals

How to read this diagram? Let's start from our rectangle. There are three figures connected directly to the shape: a square, a parallelogram, and an isosceles trapezoid. So if the shape is above our shape of interest - like square and rectangle - we can say that:

  • Every square is a rectangle and a square is a special case of a rectangle.

For the other two figures we can state analogically:

  • Every rectangle is a parallelogram and a rectangle is a special case of a parallelogram.
  • Every rectangle is a trapezoid and a rectangle is a special case of a trapezoid.

Weird fun fact: what's the most rectangular shaped country in the world?

Many different rankings exist, evaluating the countries - whether by their areas, populations, level of education or Nobel prize winners. But have you ever wondered who's the winner of the most rectangular country competition? An Australian geo-statistician David Barry calculated the parameter of rectangularity for all countries in the world, and he created a ranking. He found out that the most rectangular country is Egypt, whereas the "least rectangular country in the world" title goes to the Maldives (however the author admits that calculations for countries that consist of many small islands could be terribly wrong). Have a look at the table below and check out the first ten countries, as well as the least rectangular ones.

Highest scores from rectangularity ranking. Index of 1 - a perfect rectangle, 0 - an infinite number of infinitely small islands. Table adapted from a Mr. Barry's web page, as the image of the world below.

Rank Country Roundness Image
1 Egypt 0.955 Rectangularity: shape of Egypt
2 Vatican 0.948 Rectangularity: shape of Vatican
3 Sint Maarten 0.937 Rectangularity: shape of Sint Maarten
4 Lesotho 0.936 Rectangularity: shape of Lesotho's shape
5 Yemen 0.928 Rectangularity: shape of Yemen
6 Ghana 0.924 Rectangularity: shape of Ghana
7 Macedonia 0.921 Rectangularity: shape of Macedonia
8 Côte d'Ivoire 0.919 Rectangularity: shape of Côte d'Ivoire
9 Poland 0.919 Rectangularity: shape of Poland
10 Nauru 0.917 Rectangularity: shape of Nauru
169 United States of America 0.735 Rectangularity: shape of the United States of America
206 Tuvalu 0.240 Rectangularity: shape of Tuvalu
207 Marshall Islands 0.201 Rectangularity: shape of Marshall Islands
208 Maldives 0.018 Rectangularity: shape of Maldives

Egypt is the leader, but that shouldn't surprise anybody checking the shape of that country on the map. The USA is in the middle of the ranking, mainly because of eccentricity of Alaska and Hawaii. The confusing thing is that the 2nd most rectangular country - Vatican - is at the same time the 4th-roundest country, and Poland, 5th in roundness classification, is 9th in the rectangularity ranking.

How is it even possible, to be rectangular and round at the same time?! As you can guess, it's all about the definition of rectangularity and roundness, which may not be adequate for complex or scattered shapes - and the borders of countries are usually such examples, containing sharp edges, small islands or colonies somewhere on the other part of the globe. If you're interested in the topic, you can have a look at this explanation and discussion of the results. Also, in a circle calculator, you'll find a dedicated paragraph about the roundness of the countries with a similar table and examples.

You could think that the world would be easier to draw if every country would be rectangle... Or not?

world in the form of rectangles

Rectangle patterns

The shape of a rectangle is used in many periodic tessellation patterns. It may be used for walls of bricks, for floor tiles, pavement or different mosaics. Below you'll find a few popular patterns:

stacked bond tessellation pattern
  • Stacked bond - it's the most common and simplest tiling pattern, as tiles are laid in straight lines.
running bond tessellation pattern

  • Running bond - typical for pavements and brick bonds.
herringbone tessellation pattern

  • Herringbone - wooden floors look good with this kind of patterns.
basketweave tessellation pattern

  • Basketweave - often used for hallways or outdoor paths.

Of course, tiles come in all shapes and sizes - hexagonal and octagonal with squares ones are quite popular choices. For the pentagon, the shape must be irregular to form a tiling pattern.

Rectangles in everyday life: rectangle body shape, rectangle pool, rectangle tablecloth...

One of the most searched for problems connected to rectangles is body shape type. If you are wondering which shape your figure is most similar to, check out our body shape calculator. All you need to do is to measure your bust, waist, hips and high hip, and type the values into the tool. Then you'll get the information what your body shape is. For example, the rectangle body shape is defined as a "boyish" body type - your hips, waist, and bust are about the same size. Your body is well proportioned and athletic in appearance. Check out also our body fat calculator, made to help you estimate the percentage of body fat in your total body weight.

Surprisingly, we are surrounded by rectangular objects. That's why our rectangle calculator may be useful not only for math's classes but also in your everyday life problems. Of course, you won't find an ideal rectangle in reality, as it always has a third dimension; but if it's small in comparison to the other two measurements, the approximation is good enough.

  • Rectangle tablecloths - given the size of your table, you can find out what tablecloth is needed, or how much lace or hemming tape you need to use.
  • Doors or window glass - did a storm or a golf ball break your window pane? Calculate the area and estimate the cost of repair, given the price of a sq ft or sq meter.
  • Screens of electronic devices - tablets, smartphones, TVs - use this area of a rectangle calculator or our dedicated screen size tool to estimate how much space on the wall your screen will take up - or how big the screen of the phone you want to buy is. If you're interested in pixel density, try our PPI calculator
  • Blackboards, mirrors, frames, canvas, sheets of paper, notebooks, envelopes, money, flags, rectangle pools... It's a never-ending list!

Have a look, can you find more rectangular objects around you? Sure you can!

Bogna Szyk and Hanna Pamuła, PhD candidate
Image of a rectangle with sides a and b, diagonal d, perimeter and area marked.
Length (a)
Width (b)
Area (A)
Perimeter (P)
Diagonal (d)
Check out 21 similar 2d geometry calculators 📏
AreaArea of crescentCenter of mass… 18 more
People also viewed…

Car crash force

With this car crash calculator, you can find out how dangerous are car crashes.

Car heat

The hot car calculator shows you how fast the interior of a car heats up during a summers day.

Completing the square practice

Here you can find practice questions for the method of solving quadratic equations by completing the square.

Pyramid volume

This pyramid volume calculator helps in fining the volume of a pyramids with a regular base or with known base area.
Omni Calculator
Copyright by Omni Calculator sp. z o.o.
Privacy policy & cookies
main background