What this calculator does
A rectangle needs only two numbers: length and width. From them come area, the space inside; perimeter, the distance around; and diagonal, the straight line between opposite corners. The formulas are short, but mixing up units or confusing area with perimeter is common. This calculator keeps the three results together and reports area in square units. Use it for a room, a garden bed, a sheet of paper, or a quick homework check.
How to use it
- Enter the length in your chosen unit.
- Enter the width in the same unit.
- Read the area in square units and the perimeter in linear units.
- Read the diagonal, which uses the linear unit too.
- Change either side to compare two rectangles.
How it works
Example calculations
Example 1: 12 by 10
Area is 120 square units. Perimeter is 44 units. The diagonal is about 15.62 units, which is longer than either side but shorter than their sum.
Example 2: 5 by 5
A square is a rectangle with equal sides. Area is 25 square units. Perimeter is 20 units, and the diagonal is about 7.07 units.
Example 3: 8.5 by 11
A standard US Letter sheet has an area of 93.5 square inches, a perimeter of 39 inches, and a diagonal of about 13.90 inches.
What the result means
Area answers a covering question, such as how much paint, sod, or flooring a surface needs. Perimeter answers an edge question, such as how much trim or fencing runs around it. The two scale differently. Double both sides and the area becomes four times larger while the perimeter only doubles. The diagonal is the longest straight line inside the rectangle and is useful for checking whether a frame or opening is square: if both diagonals match, the corners are true. Units matter throughout, so convert to one unit first and write area as square feet, square inches, or square meters, not as plain feet.
Common mistakes
- Confusing area with perimeter and reporting square units for a length.
- Mixing feet and inches in the same calculation.
- Squaring the perimeter instead of multiplying length by width.
- Using the diagonal as if it were the length of a side.
- Entering a negative or zero dimension.
Assumptions and limits
- The shape is a true rectangle with four right angles.
- Both dimensions are positive and use the same unit.
- The shape is flat, with no thickness or depth.
- Displayed results are rounded to two decimal places.
- Length and width are measured along the sides, not diagonally.
Frequently asked questions
How is the diagonal calculated?
The diagonal is the hypotenuse of a right triangle formed by the length and width. Square both sides, add them, then take the square root. For 3 by 4, the diagonal is 5.
What is the difference between area and perimeter?
Area measures the surface inside the rectangle and uses square units. Perimeter measures the distance around the edge and uses linear units.
Is a square a rectangle?
Yes. A square has four right angles like every rectangle, and it adds the rule that all four sides are equal. Enter the same number for length and width.
How do I convert square inches to square feet?
Divide square inches by 144, because one square foot holds 144 square inches. A 93.5 square inch sheet is about 0.65 square feet.
What if length and width use different units?
Convert one to the other first. For example, change 6 inches to 0.5 feet before calculating, or change 3 feet to 36 inches. Do not mix units in one formula.
Can this calculator find the volume of a box?
No. Volume needs a third dimension: length x width x height. This tool covers flat rectangles only, so it returns area, perimeter, and diagonal.
Sources
2026 update
How to use the professional output
This page is not just a formula box. The result is designed to be checked, compared, and taken away.
- Professional worksheet. The result includes the inputs used, the method and scope, and a one-variable sensitivity check for finance calculators.
- A/B scenarios. Save two input sets in the browser and compare the primary, secondary, and breakdown figures side by side.
- Print / PDF and CSV. Print a branded worksheet, or export the year-by-year table when the calculator produces one.
The formulas and assumptions above still govern the number. The worksheet makes the estimate auditable; it does not make it a lender quote, tax return, or personalized advice.
Go deeper
