CalcDepo

Rectangle Calculator

Compute area, perimeter and diagonal of a rectangle.

Inputs

Results

Area60
Perimeter34
Diagonal13

Chart

Not what you need? Search by intent

Describe what you want to find β€” β€œarea of rectangle” β€” and jump to the right calculator.

How to use the rectangle calculator

Compute area, perimeter and diagonal of a rectangle. Enter length, width in the fields above; the area, perimeter, diagonal are computed instantly and plotted on the chart so you can see how the answer changes.

Formula

Area = l Γ— w
Perimeter = 2 Γ— (l+w)
Diagonal = hypot(l,w)

Variables

  • l β€” Length
  • w β€” Width

Worked example

With length = 12, width = 5, the calculator gives area β‰ˆ 60; perimeter β‰ˆ 34; diagonal β‰ˆ 13.

Frequently asked questions

What is the formula for the rectangle calculation?

Area = l Γ— w. Perimeter = 2 Γ— (l+w). Diagonal = hypot(l,w). Here l is length, w is width.

What inputs do I need for the rectangle calculator?

You need length, width. Each field is pre-filled with a typical example so you can see how the result responds as you edit the numbers.

How do I use this calculator?

Type values into the input fields. Results and the chart update instantly. Use Reset to restore the example values, Copy results to paste them elsewhere, or Share to copy a link that preserves your inputs.

Is the result exact?

Calculations use standard formulas and double-precision arithmetic, then display about seven significant figures. Real-world measurements carry uncertainty, so treat results as estimates unless your inputs are exact.

Related calculators

More in Geometry & Trigonometry: Circle Β· Circle Sector and Arc Β· Triangle Area Β· Triangle Angles from Sides Β· Law of Sines Β· Law of Cosines Β· Right Triangle Β· Trigonometric Functions