Home · Math · Plane Geometry · Rectangle Calculator

Rectangle Calculator

A rectangle worked out in full from length and width: area, perimeter, diagonal and the diagonal's angle.

Your figures

Example result — edit the figures to make it yours

40

Area

Perimeter26.00 in
Diagonal9.43 in
Diagonal angle to length32.01 deg

8 5 Rectangle · 8 × 5
The shape for your figures, drawn and labelled from the same values the result is computed from — change a figure and the drawing follows.

What this calculator does

A rectangle worked out in full from length and width: area, perimeter, diagonal and the diagonal's angle. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

A = L x W; d = sqrt(L^2 + W^2)

Area is length times width, perimeter twice their sum, and the diagonal follows Pythagoras. The diagonal's angle to the length side is atan(W/L). All angles are in degrees; trigonometric outputs use the degree-based functions so no radian conversion is needed.

Swapping length and width changes nothing except the reported angle, which is measured from the length side.

Worked example

With the example inputs this page opens with (length (in) 8, width (in) 5), the result is 40.00 — area. Change any figure and the result updates with the same formula.

Quick reference

Quick reference — varying length (in)
Length (in)Area
420.00
6.432.00
840.00
1050.00
1260.00
1680.00

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Rectangle Calculator work?

A rectangle worked out in full from length and width: area, perimeter, diagonal and the diagonal's angle. Length - Width -> Area. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Rectangle Calculator need?

Length - Width -> Area. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Rectangle Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.