Audited 05 Aug 2026·Last updated 28 Oct 2026·3 citations·Tier 2·0 uses

Dimensions Of A Rectangle Calculator

Find a rectangle's missing length or width from its area and one known side, plus the perimeter. A 24-unit area with a side of 4 gives 6 by 4, perimeter 20.

Dimensions Of A Rectangle Calculator

Solve for
Missing dimension
6
The side you asked for: the area divided by the known side, in the same linear unit as the known side.
Length
6
Width
4
Perimeter
20

Background.

Area tells you how much surface a rectangle covers but nothing about its shape. Twenty-four square metres could be a 4 by 6 m bedroom, a 2 by 12 m corridor or a 1 by 24 m strip of garden path. Fix one side, though, and the other follows at once, because a rectangle's area is just length times width: divide the area by the side you know and you have the side you don't.

That single division settles a lot of practical questions. A flat listing gives the floor area and you have measured one wall; how long is the other? A plot sold as 500 square metres with 20 m of road frontage runs 25 m deep. A sheet of A4 is 210 mm wide and, as one-sixteenth of the one-square-metre A0 sheet, has an area of 62,500 mm²; dividing gives about 297.6 mm, close to its actual 297 mm length.

Once both sides are known the perimeter follows, twice the length plus twice the width, and that is where shape starts to matter. Of all rectangles with the same area, the square has the shortest perimeter. A 24 m² square room would be about 4.899 m on a side and need about 19.596 m of skirting board; the 4 by 6 room needs 20 m, and the 2 by 12 corridor 28 m. Long, narrow shapes cost more edge for the same area, which shows up in the price of fencing, edging and trim.

Any unit works as long as the area and the side agree: square metres with metres, square feet with feet. The page solves from area and one side only. When what you know is the area and the perimeter, the sides come from a quadratic instead, set out in the questions below.

What is dimensions of a rectangle calculator?

Finding the dimensions of a rectangle means recovering an unknown side from what you already know about it. A rectangle has four right angles and opposite sides of equal length, so its area is the product of its two side lengths, conventionally called length and width. Knowing the area and either side therefore fixes the other: it is the area divided by the known side. The perimeter, the distance all the way round, is then twice the sum of the two sides.

How to use this calculator.

  1. Under Solve for, choose the side you are missing. The choice only decides which output is labelled length and which width; the division is the same either way, and nothing forces the length to be the longer side.
  2. Enter the Rectangle area in square units, such as square metres or square feet.
  3. Enter the Known other dimension in the matching linear unit: metres with square metres, feet with square feet. Convert mixed figures first, remembering that 1 m² is 10,000 cm², not 100.
  4. Read the missing side, then the perimeter, which comes out in the same linear unit and is the figure to use when buying fencing, skirting or edging.

The formula.

Missing dimension = area / known dimension

Writing A for area, L for length and W for width, A = L × W. Rearranged, L = A ÷ W when the width is known and W = A ÷ L when the length is known; the page applies whichever you selected. The perimeter is then P = 2 × (L + W). Because the missing side is a quotient, it is inversely proportional to the side you know: halve the known side and, for the same area, the missing one doubles. Units carry through the division, so square metres divided by metres gives metres. A side of zero would make the division meaningless, so both the area and the known side have to be greater than zero. The other common version of the problem, where the area and the perimeter are given and both sides are unknown, is not handled here, because it needs a quadratic rather than a single division.

A worked example.

Example

Suppose a room has a floor area of 24 m² and one wall measures 4 m, so you solve for the length with the width known. The missing side is 24 ÷ 4 = 6 m. With a length of 6 and a width of 4, the perimeter is 2 × (6 + 4) = 2 × 10 = 20 m, the amount of skirting board needed before allowing for doorways. For comparison, a square room of the same 24 m² would have sides of √24 ≈ 4.899 m and a perimeter of about 19.596 m, only 0.404 m less, while a 2 by 12 m corridor of equal area needs 28 m of edge.

area24
known Dimension4
solve Forlength

Frequently asked questions.

What if I know the perimeter and the area but neither side?
Then the two sides are the roots of x² − (P/2)x + A = 0. With a perimeter of 20 and an area of 24 that is x² − 10x + 24 = 0, whose roots are 6 and 4. A real rectangle exists only if P² is at least 16 times the area.
My area is in square feet but I measured the side in inches. What do I enter?
Convert one so they match. A foot is 12 inches, so 54 inches is 4.5 feet, and a 30 square foot area with a 4.5 foot side gives a missing side of about 6.667 feet. Remember that a square foot is 144 square inches, not 12.
Which side counts as the length and which as the width?
The names are a convention. In everyday use the length is usually the longer side, but the geometry does not care, and this page does not enforce it: solving for length with a known side of 8 and an area of 24 simply gives a length of 3.
Why does a square need the least fencing for a given area?
For a fixed product L × W, the sum L + W is smallest when the two are equal, a consequence of the inequality between arithmetic and geometric means. For 24 square units the square's perimeter is about 19.596, against 20 for 4 by 6, 28 for 2 by 12 and 50 for 1 by 24.
How do I get the diagonal once both sides are known?
Use Pythagoras: the diagonal is the square root of L² + W². For a 6 by 4 rectangle that is √52, about 7.211. Builders use the same fact in reverse, measuring both diagonals of a slab or frame and adjusting until they are equal so the corners are square.
How deep is a plot if I know its acreage and frontage?
Convert the area to square feet or square metres first. One acre is 43,560 square feet, historically a strip 66 feet wide and 660 feet long, so half an acre with 66 feet of frontage runs 21,780 ÷ 66 = 330 feet deep. A hectare is 10,000 square metres.

How this page was produced

Published by
Quanta Calculator
Primary sources
3 cited below
Method
Missing dimension = area / known dimension
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon