Perimeter Calculator

Calculate rectangle perimeter and semiperimeter.

CalcHub

Perimeter Calculator

Full page
Live

Preview

10

Mirrors whichever field is focused below.

Add to workspace

Run up to six calculators on one board. You can try without an account—your board stays on this device until you sign in to save it.

Add to workspace

No account needed—build a local board (one workspace on this device). Sign in later to save it to your account.

Open My workspace →

A rectangle perimeter calculator finds the total distance around a four-sided shape when you know one length and one width. It is useful for geometry checks, edging estimates, border layouts, room outlines, and any task where you need the outside boundary of a rectangle. Because the calculation is based on adjacent sides, it assumes a true rectangle with opposite sides equal and all measurements expressed in the same unit. The tool also shows the semiperimeter, which is simply length plus width and can help verify the full result.

Use the calculator as a geometric baseline, not as a final purchasing estimate when a project includes waste, overlaps, openings, or fitting allowances. Mixed units should be converted before calculation, since the output is only meaningful when both inputs describe the same measurement scale.

How This Calculator Works

The calculator validates that both inputs are positive side measurements and treats them as adjacent sides of a rectangle. It first adds length and width to get the semiperimeter, then doubles that value to account for the repeated opposite sides. This keeps the input simple while still producing the full boundary count around the shape.

  • Input 1: length of one rectangle side
  • Input 2: width of the adjacent rectangle side
  • Output 1: semiperimeter, equal to length plus width
  • Output 2: perimeter, equal to twice the semiperimeter

Formula

Rectangle perimeter: P = 2(L + W)

Semiperimeter: s = L + W = P / 2

Expanded boundary sum: P = L + W + L + W

Recover missing width from perimeter: W = P / 2 - L

Where:

  • P = perimeter
  • s = semiperimeter
  • L = length
  • W = width

Example Calculation

  1. Start with a rectangle that has length 10 and width 5.
  2. Add the adjacent sides to find the semiperimeter: s = 10 + 5 = 15.
  3. Double the semiperimeter to get the full perimeter: P = 2 × 15 = 30.
  4. Check the direct form of the same formula: P = 2(10 + 5) = 30.
  5. Interpret the result: the rectangle’s boundary is 30 units, and its semiperimeter is 15 units.

Where This Calculator Is Commonly Used

  • Classroom geometry: checking rectangle perimeter problems and formula practice
  • Construction and finishing work: estimating trim, baseboard, edging, or border material
  • Home and garden planning: outlining beds, patios, frames, or rectangular layouts
  • Design and drafting: verifying dimensions in plans, mockups, and technical sketches
  • General measurement checks: confirming that a rectangle’s outside boundary matches expectations

How to Interpret the Results

The perimeter is the full outside distance around the rectangle, counted once all the way around. If you are estimating material, think of it as the baseline length before adding any extra allowance for cuts, seams, overlaps, gates, or waste. The semiperimeter is not a separate boundary; it is simply half of the perimeter and equals length plus width.

A quick reliability check is to confirm that the perimeter is exactly double the semiperimeter. If it is not, the input values may not both be sides of the same rectangle, or the units may be inconsistent. Large perimeters can come from either large dimensions or from long, narrow rectangles, so compare the result with the side lengths rather than with area.

Frequently Asked Questions

What is the difference between perimeter and semiperimeter?

Perimeter is the full boundary around the rectangle, counted once all the way around. Semiperimeter is half of that total and equals length plus width. In a rectangle, semiperimeter is especially useful because doubling it gives the perimeter immediately.

Can I use different units for length and width?

You should convert them to the same unit before calculating. The arithmetic may still produce a number, but it will not represent a meaningful perimeter if one side is in feet and the other is in inches or meters. Consistent units are required for a valid result.

Does this calculator work for squares?

Yes, a square is a special rectangle where length and width are equal. If both inputs are the same, the calculator returns the square’s perimeter and semiperimeter correctly. For a square with side 8, the semiperimeter is 16 and the perimeter is 32.

Why does the calculator ask for only two sides?

A rectangle has two equal lengths and two equal widths, so entering one length and one width is enough to reconstruct the full boundary. The calculator adds those adjacent sides and doubles the result, which is equivalent to summing all four sides without requiring duplicate entries.

Is semiperimeter useful in real projects?

Yes. Semiperimeter is often used as a quick check in geometry and can help verify the perimeter calculation. In practical work, it can also be a stepping stone for formulas that use half the boundary, though it is usually the perimeter that matters for material estimates.

Can I use this for irregular shapes?

No. This calculator is designed for rectangles only. Irregular polygons, shapes with curved edges, and figures with missing corners or rounded boundaries require different methods. If the opposite sides are not equal and parallel, the rectangle perimeter formula does not apply.

FAQ

  • What is the difference between perimeter and semiperimeter?

    Perimeter is the full boundary around the rectangle, counted once all the way around. Semiperimeter is half of that total and equals length plus width. In a rectangle, semiperimeter is especially useful because doubling it gives the perimeter immediately.

  • Can I use different units for length and width?

    You should convert them to the same unit before calculating. The arithmetic may still produce a number, but it will not represent a meaningful perimeter if one side is in feet and the other is in inches or meters. Consistent units are required for a valid result.

  • Does this calculator work for squares?

    Yes, a square is a special rectangle where length and width are equal. If both inputs are the same, the calculator returns the square’s perimeter and semiperimeter correctly. For a square with side 8, the semiperimeter is 16 and the perimeter is 32.

  • Why does the calculator ask for only two sides?

    A rectangle has two equal lengths and two equal widths, so entering one length and one width is enough to reconstruct the full boundary. The calculator adds those adjacent sides and doubles the result, which is equivalent to summing all four sides without requiring duplicate entries.

  • Is semiperimeter useful in real projects?

    Yes. Semiperimeter is often used as a quick check in geometry and can help verify the perimeter calculation. In practical work, it can also be a stepping stone for formulas that use half the boundary, though it is usually the perimeter that matters for material estimates.

  • Can I use this for irregular shapes?

    No. This calculator is designed for rectangles only. Irregular polygons, shapes with curved edges, and figures with missing corners or rounded boundaries require different methods. If the opposite sides are not equal and parallel, the rectangle perimeter formula does not apply.