Home · Math · Plane Geometry · Length and Width of a Rectangle given Perimeter Calculator

Length and Width of a Rectangle given Perimeter Calculator

The missing width of a rectangle from its perimeter and length, with the area those dimensions enclose.

Your figures

Example result — edit the figures to make it yours

4

Width

Area24.00
Diagonal7.21

6 4 Rectangle · 6 × 4
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

The missing width of a rectangle from its perimeter and length, with the area those dimensions enclose. 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

W = P / 2 - L

Opposite sides of a rectangle are equal, so length plus width is half the perimeter: W = P/2 - L. The area is then L x W.

The length must be less than half the perimeter, otherwise the width would be zero or negative.

Worked example

With the example inputs this page opens with (perimeter 20, length 6), the result is 4.00 — width. Change any figure and the result updates with the same formula.

Quick reference

Quick reference — varying perimeter
PerimeterWidth
10-1.00
162.00
204.00
256.50
309.00
4014.00

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

Common questions

How does the Length and Width of a Rectangle given Perimeter Calculator work?

The missing width of a rectangle from its perimeter and length, with the area those dimensions enclose. Perimeter - Length -> Width. 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 Length and Width of a Rectangle given Perimeter Calculator need?

Perimeter - Length -> Width. 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 Length and Width of a Rectangle given Perimeter 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.