Beginner

Rectangle Calculator

Enter a rectangle’s length and width to find its area, perimeter and diagonal.

units

units

Area
60units²
Perimeter
32
Diagonal
11.6619
Area = l × w; Diagonal = √(l² + w²)
Step by step
  1. 1

    Diagonal = √(l² + w²)

    √(10² + 6²) = 11.6619
    Pythagorean theorem: the diagonal is the hypotenuse of the right triangle formed by the two sides.
  2. 2

    Perimeter = 2 × (l + w)

    2 × (10 + 6) = 32
  3. 3

    Area = l × w

    10 × 6 = 60
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Formula
Area = l × w; Perimeter = 2 × (l + w); Diagonal = √(l² + w²)
How this is calculated

A rectangle is defined by just two numbers: its length (l) and its width (w), the lengths of its two pairs of parallel sides. Because every corner is a right angle and opposite sides are equal, these two inputs fix the whole shape. The calculator reads both values, treats them as the same linear unit you typed (cm, m, ft, in — it is unit-agnostic), and requires each to be a positive number; zero or negative values produce no result.

Area is the surface enclosed by the rectangle, found by multiplying the two sides: Area = l × w, expressed in square units. The perimeter is the total distance once around the edge, Perimeter = 2 × (l + w), since each side appears twice. The diagonal joins two opposite corners and acts as the hypotenuse of a right triangle whose legs are l and w, so by the Pythagorean theorem Diagonal = √(l² + w²).

Results are rounded to four decimals, so irrational diagonals are approximate. The formulas assume a true rectangle with exact right angles and flat sides; they do not apply to skewed parallelograms or curved shapes.

Examples
InputResult
length = 10, width = 6Area = 60, Perimeter = 32, Diagonal ≈ 11.6619

About this calculator

A rectangle is a four-sided polygon (quadrilateral) where every interior angle is a right angle and opposite sides are equal in length. Its area is simply length multiplied by width, while the perimeter is the total distance around the shape.

The diagonal connects opposite corners and is found with the Pythagorean theorem, since it forms the hypotenuse of a right triangle made by the length and width. These three measurements cover most practical needs in construction, flooring, framing and design.

Frequently asked questions

Multiply the length by the width. For example, a rectangle 10 by 6 units has an area of 60 square units.

Use the Pythagorean theorem: diagonal = √(length² + width²), because the diagonal is the hypotenuse of a right triangle formed by the two sides.

The calculator is unit-agnostic. Whatever unit you enter (cm, m, ft, in), the area is in square units and the perimeter and diagonal share the same linear unit.

Also known as

rectangle area
rectangle perimeter
rectangle diagonal
area of a rectangle
length times width
rectangle sides
perimeter of rectangle
rectangle dimensions

APA

TG we-Calculate Editorial Team. (2026). Rectangle Calculator [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/rectangle-calculator

Chicago

TG we-Calculate Editorial Team. "Rectangle Calculator." TG we-Calculate. 2026. https://we-calculate.com/calculator/rectangle-calculator.

IEEE

TG we-Calculate Editorial Team, "Rectangle Calculator," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/rectangle-calculator

BibTeX

@misc{wecalculate_rectangle_calculator, title = {Rectangle Calculator}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/rectangle-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?