Rectangle Dimensions from Perimeter Calculator

Find the length and width of a rectangle given its perimeter and one dimension or area. Shows step-by-step formula solutions.

Enter Known Values

Result

Rectangle Dimensions
10 x 5
units

Step-by-Step Solution

P = 2(l + w) => w = (P/2) - l

Finding Rectangle Dimensions from Perimeter

A rectangle is a four-sided polygon with all right angles. Its perimeter is the total distance around the outside, calculated as P = 2(l + w), where l is the length and w is the width. If you know the perimeter and one other measurement, you can find the missing dimensions.

Formulas Used

Find Width from Perimeter and Length

When you know the perimeter and the length, solve for width.

w = (P / 2) - l

Find Length from Perimeter and Width

When you know the perimeter and the width, solve for length.

l = (P / 2) - w

Find Both from Perimeter and Area

When you know P and A, solve the system P = 2(l+w) and A = l*w using the quadratic formula.

l, w = (P/4) +/- sqrt((P/4)^2 - A)

Perimeter Formula

The basic rectangle perimeter formula relates all three quantities.

P = 2l + 2w = 2(l + w)

Step-by-Step: Perimeter and Length Known

  1. Start with the perimeter formula: P = 2(l + w).
  2. Divide both sides by 2: P/2 = l + w.
  3. Subtract the known length: w = P/2 - l.
  4. Verify: Check that 2(l + w) equals the original perimeter.

Step-by-Step: Perimeter and Area Known

  1. From P = 2(l + w), we get l + w = P/2, so w = P/2 - l.
  2. Substitute into A = l * w: A = l * (P/2 - l).
  3. Rearrange: l² - (P/2)l + A = 0.
  4. Use the quadratic formula to solve for l.
  5. Once l is found, calculate w = P/2 - l.

Important Constraints

  • Length and width must both be positive values.
  • Each dimension must be less than half the perimeter.
  • When using area, the discriminant (P/4)² - A must be non-negative for real solutions.
  • A square is a special rectangle where l = w = P/4.

Practical Applications

  • Fencing: Determining the dimensions of a rectangular yard given fence length and one known side.
  • Construction: Finding room dimensions from perimeter measurements and floor area.
  • Gardening: Planning rectangular garden beds with a fixed amount of edging material.
  • Design: Calculating frame or border dimensions for pictures and displays.