Rectangle Area Calculator
Find the area of a rectangle from any two measurements — length, width, area, diagonal, or perimeter. Solves every side, with unit conversion and a cost estimate.
https://hexacalculator.com/calculators/mathematics/geometry/rectangle-area-calculator
Mathematics
Geometry
Rectangle Area Calculator
Find the area of a rectangle from any two measurements — length, width, area, diagonal, or perimeter. Solves every side, with unit conversion and a cost estimate.
Rectangle Area Calculator
Enter any two measurements — length and width, area and a side, the diagonal and a side, or the perimeter and a side — and the calculator fills in the rest for you.
Estimate the cost to cover this area
Enter a price per square metre and the calculator multiplies it by the area to estimate a flooring, paint, turf, or land cost.
Please input values into the fields
Was this calculator helpful?
It takes one click and shapes what we fix next.
Add as preferred on GoogleThis rectangle area calculator lets you find the area from length and width, but also offers additional functions. You can enter any two values, such as two sides, area and side, diagonal and side or perimeter and side, and the tool will calculate all other values.
After you enter two values and select the units, the area will be shown as the main result, with the perimeter, diagonal, and length of the missing side displayed next to it. Since a rectangle can be fully defined by any two measurements, there is no need to pre-select menus.
What is the area of a rectangle?
A rectangle is a quadrilateral with four right angles. The opposite sides of a rectangle have the same length and are parallel. The area of a shape measures the amount of space inside it. In other words, it is the number of unit squares that fit inside the shape.
Because the unit squares are arranged into rows and columns, their number can be calculated by multiplying the length by the width. The area is always expressed in square units, such as square meters or square feet. For land areas, hectares or acres are used.
Formula for calculating the area of a rectangle.
The basic formula multiplies the lengths of two sides.
In this formula A represents the area, l is the length and w is the width. If one of these sides is in meters then the resulting area will be in square meters. If one of these sides is in feet then the resulting area will be in square feet. So make sure that both sides are in the same units before multiplying them together.
If the area is known, then the same formula can be reversed to find the length of a missing side.
Perimeter and diagonal of a rectangle
The remaining two measurements can also be directly derived from the side lengths. The perimeter is the distance along the outer edge while the diagonal is a straight line that connects two opposite corners. These values can be calculated using the Pythagorean theorem.
This calculator allows you to work backwards in two cases. If you enter the perimeter and one side, it calculates the other sides. If you enter the diagonal and one side, it calculates the remaining values. This is also a way to calculate area from "diagonal and width".
Calculating area by diagonals and a side.
If only the diagonal and one side are known, first use the Pythagorean theorem to find the missing side, then multiply those two sides together. Let's call the known side "b" and the diagonal "d".
The diagonal is always the longest value that cuts through a rectangle so it must be longer than any of its sides. If the entered diagonal is shorter than one side then such a rectangle cannot exist and the calculator will display a warning.
Use of the calculation tool:
Enter any two measurements and our calculator will find out the rest. The most common combinations are:
You know | The calculator finds |
|---|---|
Length and width | Area, perimeter, diagonal |
Area and one side | The other side, perimeter, diagonal |
Perimeter and one side | The other side, area, diagonal |
Diagonal and one side | The other side, area, perimeter |
Examples of calculations:
Consider a rectangle with length of 5 centimeters and width of 4 centimeters. The area can be easily calculated by multiplying the two sides together.
The perimeter of this rectangle is 18 centimeters, which is equal to 2 times the sum of its length and width (5 + 4). According to the Pythagorean theorem, the diagonal is approximately 6.4 centimeters long. If you enter 5 and 4 in the fields for length and width, these results will be displayed simultaneously.
Calculating length from area:
Suppose a room has an area of 20 square meters and is 4 meters wide. The length can be calculated by dividing the area by the width.
If you enter 20 into the field for area and 4 into the field for width and leave the length field blank, the calculator will provide a length of 5 meters and also show the perimeter and diagonal.
An overview of important information about rectangles.
Property | Value |
|---|---|
Number of sides | 4 |
Number of corners | 4 |
Each interior angle | 90 degrees |
Sum of interior angles | 360 degrees |
Opposite sides | Equal and parallel |
Diagonals | Two, equal in length, bisecting each other |
Lines of symmetry | 2 (or 4 when it is a square) |
Area units: From square feet to acres.
Since area is the product of two lengths, the units for area are square units of length. If the side length is given in meters, then the unit will be square meters; if it is given in feet, then the unit will be square feet. For larger areas acres or hectares are used.
Unit | Equal to |
|---|---|
1 square metre | About 10.764 square feet |
1 square foot | 144 square inches |
1 hectare | 10,000 square metres |
1 acre | About 4,046.86 square metres, or 43,560 square feet |
When you change the unit on any column, the calculator automatically converts all results. So for example, if you enter the dimensions of a garden in feet, you can read off the area directly in square meters or acres without doing any manual conversions.
The golden rectangle
A rectangle is a golden rectangle if its longer side is approximately 1.618 times the length of its shorter side. This value is known as the Golden Ratio and this ratio appears again and again in art, architecture, book covers, and credit card shapes.
The golden rectangle has an interesting property: if you cut a square off one corner of it, the remaining rectangle is also a golden rectangle, although smaller. The aspect ratio map shows how close your rectangle comes to this famous ratio.
If the perimeter is constant, then a square has the maximum area.
Of all rectangles with a given perimeter, the square has the largest area. A fence of length 20 meters can enclose a square with sides of 5 meters and an area of 25 square meters. If you use the same fence to enclose a rectangle that is 9 meters long and 1 meter wide, the area will be only 9 square meters. The closer a rectangle is to being a square, the larger the area it can enclose with the same perimeter.
For this reason, animal enclosures, plots of land and packaging often have a shape that is close to a square, as the goal is to contain as much space as possible with the shortest perimeter.
Areas of application for rectangular surfaces:
Calculating the area of a rectangle is one of the most useful calculations in everyday life. It allows you to determine how much carpet, laminate or tiles you need for a floor and how much paint you will need for a wall or lawn seeds for your garden.
It can also be used to determine the size of a plot or the area occupied by a building, calculate how much fabric is needed for curtains or tablecloths, or work out the area that can be printed on one side of paper or plywood. The cost estimation function allows these areas to be converted directly into prices.
Tips for accurate results:
Measure both sides with the same unit before inputting values or use the conversion function to convert values into the calculator. If it is not a perfect rectangular space, divide it into several rectangular areas, calculate the area of each and then add them together.
When buying flooring or paint by the square foot, you should normally allow for a five to ten percent reserve to account for waste, pattern matching and mistakes. If possible, measure a diagonal and use this to check. Add together the diagonal and one side and make sure that the result is a rectangle.
Frequently asked questions
What is the formula for the area of a rectangle?
The area of a rectangle is calculated by multiplying the length by the width. That is, A = l * w. If the sides are measured in meters, then the area will be in square meters; if they're measured in feet, then the area will be in square feet. The area of a rectangle with a length of 5 and a width of 4 would be 20 units squared.
If you know area how do you find length or width?
Divide the area by the known side. The width is equal to the area divided by the length and the length is equal to the area divided by the width. For example, if the area is 20 and the width is 4, then the length is 5. In this calculator you can enter the area and one of the sides, leave the other field blank, and the result will be calculated automatically.
How do you find area with diagonal and side?
First use the Pythagorean Theorem to find the missing side of the triangle and then multiply both sides together. If the diagonal is 5 and one side is 3, then the other side is 4 and the area is 12. The diagonal must be longer than either side since it is the longest measurement in a rectangle. The calculator will warn you if the diagonal is too short.
What is the perimeter of a rectangle and how does it relate to area?
The perimeter is the length of the outer boundary and is calculated as P = 2 multiplied by (length plus width). Since the perimeter is different from area, you cannot know both values and still determine the other. However, if both the perimeter and one side are known, then it is possible to calculate the missing side and then determine the area. This calculator automatically performs these calculations.
How is the area of a rectangle expressed?
Area is expressed in square units. Examples include square millimeters, square centimeters, square meters, square feet and square yards. For land areas hectares or acres are used. One square meter is approximately 10.764 square feet and one acre is about 4,046.86 square meters. By changing the unit in the respective columns the calculator will convert between all units.
Is a square a rectangle?
Yes. A square is a special type of rectangle where the length and width are equal, so all four sides have the same length. All squares are rectangles, but not all rectangles are squares. If you enter the same side length for both the length and width, then the calculator will indicate that it is a square.
Related calculators






Disclaimer: This calculator is provided for general informational and educational purposes only. Our calculators are under active development, and results may be inaccurate, incomplete, or unsuitable for your situation. Always verify the figures independently and seek advice from a qualified professional before relying on them. We make no warranties and accept no liability for any loss or decision arising from use of this tool.
References
- Wikipedia: Rectangle
Definition, properties, diagonals, and the relationship between the rectangle and the square and golden rectangle.
- Wikipedia: Golden rectangle
The rectangle whose sides are in the golden ratio, and its self-similar square-removal property.
- Math is Fun: Area of Plane Shapes
Area formulas for rectangles and other basic shapes, with unit-square explanations.