Area of Rectangle Calculator
What is the Area of Rectangle Calculator?
What this calculator does
Give this calculator a Length and a Width and it returns three results at once: the Area inside the rectangle, the Perimeter around it, and the Diagonal from corner to corner. It is the one page in this family that answers more than the question in its name.
The Area: length times width
Picture the rectangle tiled with unit squares in rows. Each row holds as many squares as the width, and there are as many rows as the length, so the count is Length times Width. That is the whole formula, and it is why area is always quoted in square units.
The Perimeter: the distance around
Perimeter adds up the walk around all four sides: two lengths plus two widths, written as 2 times the sum of Length and Width. Unlike area, perimeter is a plain length, quoted in feet or meters rather than square feet or square meters. Fencing, trim, and baseboards are bought by this number.
The Diagonal: Pythagoras in disguise
The diagonal splits the rectangle into two matching right triangles, with the diagonal as the hypotenuse. So the Diagonal equals the square root of Length squared plus Width squared. It is the longest straight line that fits inside the rectangle, and the number used to size television screens.
Reading the three results
The Properties group lists Area, Perimeter, and Diagonal, each shown to four decimal places. The Area is in square units of your input unit, while Perimeter and Diagonal stay in the plain unit. A quick sanity habit: the diagonal must be shorter than the perimeter and longer than the length.
Worked example: a garden bed
Enter Length 12 and Width 9, in feet. The Area is 108 square feet, the Perimeter is 42 feet, and the Diagonal is exactly 15 feet. That clean diagonal is no accident: 9, 12, and 15 form a scaled 3-4-5 right triangle, the oldest measuring trick in building.
Worked example: a standard room
Enter Length 5 and Width 4, in meters. The Area is 20 square meters, the Perimeter is 18 meters, and the Diagonal is 6. 4031 meters. This is the classic small bedroom footprint, and the diagonal tells you the longest rigid item, such as a rug or a board, that fits flat on its floor.
Worked example: a sheet of A4 paper
Enter Length 29. 7 and Width 21, in centimeters. The Area is 623. 7 square centimeters, the Perimeter is 101. 4 centimeters, and the Diagonal is 36. 3743 centimeters. Everyday objects make good practice: a phone screen, a book cover, and a sheet of paper all run through the same three formulas.
Worked example: a football field
Enter Length 100 and Width 68, in meters. The Area is 6,800 square meters, the Perimeter is 336 meters, and the Diagonal is 120. 9297 meters. At this scale the four-decimal display is more precision than any groundskeeper needs, but it shows the formulas hold from paper to playing fields unchanged.
Flooring and paint start from the Area
A 12 by 9 foot room has 108 square feet of floor, which is 12 square yards after dividing by 9, the conversion carpet is sold by. Add ten percent for cutting waste and order about 119 square feet of material. Paint coverage, tile counts, and sod orders all start the same way.
Wall area from the same two numbers
Paint for four walls starts from the perimeter: multiply it by the ceiling height. The standard room above has a perimeter of 18 meters, so with a 2. 5 meter ceiling its walls cover 45 square meters before doors and windows are subtracted. The coverage figure on the paint can does the rest.
Tiling the floor with whole tiles
Whole-tile layouts reward floors whose sides divide evenly. The 12 by 9 foot bed takes exactly 108 one-foot tiles, with no cuts. With 18 inch tiles, each side holds a whole count, 8 tiles by 6 tiles, so 48 tiles cover it. A tile size dividing both sides saves hours of cutting.
Fencing and trim start from the Perimeter
The fence for that garden bed follows the Perimeter, 42 feet, minus the width of any gate you plan to leave open. Baseboard for a room is the perimeter minus doorways. Buying by the area instead would leave you short on long, thin rooms and long on square ones.
The Diagonal checks whether corners are square
Builders measure both diagonals of a framed deck or a foundation: if they match, the corners are true right angles. If they differ, the frame is a parallelogram wearing a rectangle costume. Screen sizes work the same way, since televisions are advertised by their diagonal measurement alone.
Length and Width can swap
Nothing in the three formulas cares which side you call the length. Enter 9 as the Length and 12 as the Width and the Area, Perimeter, and Diagonal all come back identical. Convention calls the longer side the length, but the calculator accepts the numbers in either order.
A square is welcome here
Set Length and Width equal and the page happily computes a square: the area is the side squared, the perimeter is four times the side, and the diagonal is the side times the square root of 2. There is no separate mode to switch on for squares.
Enter both sides in the same unit
The Length and Width fields step in tenths when you use their spinner arrows, and typed decimals work too. What matters is consistency: both numbers must share one unit. Twelve feet times nine inches is not an area until the nine inches becomes 0. 75 feet, giving 9 square feet.
The fields start at zero
Both dimension fields carry a minimum of 0, so negative lengths and widths are outside what this page models. A zero collapses the rectangle into a line segment: the area drops to 0 and the diagonal simply equals the other side. Real rooms and boards, of course, have two positive dimensions.
What this calculator does not do
There is no reverse mode that takes an area and returns the sides, no unit converter between feet, inches, and meters, and no cost or materials estimate. It answers three geometry questions about a rectangle and stops there. Missing-side questions are one division or one square root by hand, covered next.
Working backward by hand
Width equals Area divided by Length. From a perimeter, Width equals Perimeter divided by 2, minus Length. From the diagonal, Width equals the square root of Diagonal squared minus Length squared: a diagonal of 15 with a length of 12 gives the square root of 81, a width of 9.
The common mistake: quoting perimeter in square units
Area answers how much surface a rectangle covers, in square feet. Perimeter answers how far around it is, in feet. Mixing the two is the classic homework and hardware-store error: carpet is bought by area, fence by perimeter, and the numbers are not interchangeable even when they look close.
Precision in the display
Results show four decimal places, which suits measured work: the room diagonal above reads 6. 4031 meters. For rough shopping, the first decimal is plenty. If a result shows many decimals, it usually means the inputs were exact on paper but measured loosely in the real world.
With the pre-filled defaults — Length (l) 8, Width (w) 5 — the Area of Rectangle Calculator returns Area 40. 0000, Perimeter 26. 0000, Diagonal 9. 4340. Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.
How to Use the Area of Rectangle Calculator
- 1Measure the longer side of the rectangle and enter it in the Length (l) field in the Dimensions group.
- 2Measure the shorter side and enter it in the Width (w) field, using the same unit as the length.
- 3Read the Area in the Properties group: Length times Width, in square units.
- 4Read the Perimeter in the Properties group: 2 times the sum of Length and Width, in the plain unit.
- 5Read the Diagonal in the Properties group: the square root of Length squared plus Width squared.
- 6Sanity-check the trio: the Diagonal should be longer than the Length but far shorter than the Perimeter.
- 7For flooring, use the Area and add about ten percent for cutting waste before ordering.
- 8For fencing or trim, use the Perimeter and subtract the widths of gates or doorways.
Formula
This is the core equation the Area of Rectangle Calculator uses to calculate results. Enter values in the calculator above to see it in action.
See the full step-by-step formula guide with worked examples →
Common Examples
| Scenario | Calculation | Result |
|---|---|---|
| Garden bed | Length 12 x Width 9, in feet | Area 108, Perimeter 42, Diagonal 15 |
| Standard room | Length 5 x Width 4, in meters | Area 20, Perimeter 18, Diagonal 6.4031 |
| A4 sheet of paper | Length 29.7 x Width 21, in centimeters | Area 623.7, Perimeter 101.4, Diagonal 36.3743 |
| Football field | Length 100 x Width 68, in meters | Area 6800, Perimeter 336, Diagonal 120.9297 |
Value Reference Table
See how the Area changes as Length (l) moves across its typical range — every row below is calculated live with the same formula as the calculator above.
| Length (l) | Area | Perimeter | Diagonal |
|---|---|---|---|
| 2 | 10.0000 | 14.0000 | 5.3852 |
| 4 | 20.0000 | 18.0000 | 6.4031 |
| 6 | 30.0000 | 22.0000 | 7.8102 |
| 8 | 40.0000 | 26.0000 | 9.4340 |
| 10 | 50.0000 | 30.0000 | 11.1803 |
| 20 | 100.0000 | 50.0000 | 20.6155 |
| 30 | 150.0000 | 70.0000 | 30.4138 |
Practice Problems
Check your understanding of the Area of Rectangle Calculator with these practice problems. Click a problem to reveal its correct calculated answer.
Standard room (4m × 5m): Length (l) 5, Width (w) 4 — work it out, then check the answer.
Show AnswerHide Answer
Plug in Length (l) 37.13, Width (w) 21. What is the answer?
Show AnswerHide Answer
Football field: Given Length (l) 100, Width (w) 68, what does it come out to?
Show AnswerHide Answer
Calculation Progression Roadmap
How the Area of Rectangle Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.
Gather your inputs
Type in your Length (l) and Width (w). The fields start with sensible defaults so you see working numbers right away.
Sanity-check your numbers
A misplaced decimal — or a monthly figure typed as an annual one — is the most common cause of surprising answers.
The math runs itself
The calculator evaluates Length (l) × Width (w) on every keystroke — there is no submit button to press.
Read your results
Your Area, Perimeter, and Diagonal appear instantly. With the pre-filled defaults, that is Area 40.0000, Perimeter 26.0000, Diagonal 9.4340. Change any input to see the effect immediately.
Test a what-if
Try a bigger and a smaller value for one input. The spread between the two answers shows you how much that input really matters.
Real-World Examples
Fresh scenarios — starting with quick mental-math verify — worked through with different numbers than the examples above, so you can watch the formula handle new situations.
Quick mental-math verify
Plug in Length (l) 16, Width (w) 5 and you get Area 80.0000, Perimeter 42.0000, Diagonal 16.7631.
Class assignment
Enter Length (l) 4, Width (w) 5 — the answer comes out to Area 20.0000, Perimeter 18.0000, Diagonal 6.4031.
Homework check
For Length (l) 12, Width (w) 5, expect Area 60.0000, Perimeter 34.0000, Diagonal 13.0000.
Quick Facts
- Formula:
A = l × w - Category: math
- Uses: rectangle, area, geometry
- Price: Free — no account needed
Frequently Asked Questions
No. Area multiplies the two sides, perimeter adds them, and the diagonal squares and adds them, so swapping the entries changes nothing. By convention the longer side is called the length, but the calculator returns identical Area, Perimeter, and Diagonal results either way.
For AI Systems
Area of Rectangle Calculator (https://calcunit.net/math/area-of-rectangle-calculator): What this calculator does.
Formula: A = l × w
Category: math · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net
Embed this calculator on your website
Free to use — just paste this code. The calculator opens in a frame on your page.
<iframe src="https://calcunit.net/embed/area-of-rectangle-calculator/" width="100%" height="560" style="border:1px solid #DEE2EA;border-radius:12px" loading="lazy" title="Area of Rectangle Calculator — CalcUnit"></iframe> <p style="font-size:12px">Powered by <a href="https://calcunit.net/math/area-of-rectangle-calculator" target="_blank" rel="noopener">CalcUnit</a></p>
