Start typing to discover tools…
Rectangle Calculator - Area, Perimeter & Diagonal
Geometry Calculator

Rectangle Calculator

Calculate the area, perimeter, diagonal, side measurements, and other key properties of a rectangle quickly and accurately.

Calculate Your Rectangle

Enter the length and width
Rectangle Dimensions A = l × w
Enter the longer or horizontal side of the rectangle.
Enter the shorter or vertical side of the rectangle.
Clear Calculator

What Is a Rectangle Calculator?

A Rectangle Calculator is a geometry tool that helps you calculate the most important measurements of a rectangle using its length and width.

The calculator determines the rectangle's area, perimeter, diagonal, length-to-width ratio, and interior angles. It is useful for students, teachers, construction projects, design work, and everyday measurements.

Simply enter the two side lengths and the calculator instantly provides the calculated results.

How to Use the Rectangle Calculator

You only need two measurements to calculate the basic properties of a rectangle.

1

Enter Length

Enter the length of your rectangle into the first input field.

2

Enter Width

Enter the width of the rectangle into the second input field.

3

View Results

Click calculate to instantly see the area, perimeter, diagonal, and angles.

Rectangle Formulas

The area of a rectangle is found by multiplying its length by its width.

Area = Length × Width

A = l × w

The perimeter is the total distance around all four sides of the rectangle.

Perimeter = 2 × (Length + Width)

P = 2(l + w)

The diagonal connects two opposite corners and can be calculated using the Pythagorean theorem.

d = √(l² + w²)

Properties of a Rectangle

A rectangle is a four-sided geometric shape with four right angles. Each interior angle measures exactly 90 degrees.

Opposite sides of a rectangle are equal in length and parallel to one another. The adjacent sides can have different lengths.

The diagonals of a rectangle are equal in length and bisect each other. The diagonal can be calculated from the length and width using the Pythagorean theorem.

A square is a special type of rectangle in which all four sides have equal lengths.

Rectangle Calculation Example

Suppose a rectangle has a length of 12 units and a width of 8 units.

Area = 12 × 8

Area = 96 square units

Its perimeter is:

P = 2(12 + 8)

P = 40 units

Its diagonal is:

d = √(12² + 8²)

d = √208

d ≈ 14.4222 units

Frequently Asked Questions

What is a rectangle?

A rectangle is a four-sided shape with four right angles. Its opposite sides are equal and parallel.

How do I calculate the area of a rectangle?

Multiply the length by the width. The formula is A = l × w.

How do I calculate the perimeter?

Add the length and width and multiply the result by two. The formula is P = 2(l + w).

How do I calculate the diagonal?

Use the Pythagorean theorem: d = √(l² + w²).

Are all four angles of a rectangle equal?

Yes. Every interior angle of a rectangle is exactly 90 degrees.

Are opposite sides of a rectangle equal?

Yes. The two pairs of opposite sides are equal in length and parallel.

Can I use decimal measurements?

Yes. The calculator accepts decimal values such as 12.5, 7.25, or 15.75.

What units can I use?

You can use any consistent unit. For example, if the length and width are in meters, the area will be in square meters.

Is a square a rectangle?

Yes. A square meets all the defining properties of a rectangle, with the additional property that all four sides are equal.

What information do I need to calculate a rectangle?

To calculate the basic area, perimeter, and diagonal, you need the rectangle's length and width.