Rectangle Area & Perimeter

Calculate rectangle area and perimeter from two side lengths.

Your workspace

Processed in your browser

Enter your values or try the example.

This utility determines the total surface area and the boundary length of a rectangle based on two linear dimensions. It helps you quickly verify spatial requirements for construction, design, or general planning tasks.

How to calculate geometry

  1. Enter the width and height of your rectangle into the corresponding fields. Both values must be non-negative numbers.
  2. Review the calculated area, which represents the internal space, and the perimeter, which represents the total distance around the shape.

Geometric constraints

The calculation assumes a standard Euclidean rectangle. While the tool accepts zero as a valid input, a rectangle with a width or height of zero will result in an area of zero and a perimeter equal to twice the non-zero dimension. Ensure your units of measurement are consistent across both inputs to maintain the validity of the output.

Verification example

Width: 8, Height: 5

Area: 40, Perimeter: 26

Frequently asked questions

Can I use zero as an input value?

Yes, the tool accepts zero. If either the width or height is zero, the area will be zero, and the perimeter will effectively equal twice the remaining side length.

How do I interpret the output units?

The output units depend entirely on your input units. If you provide inputs in centimeters, the area result is in square centimeters and the perimeter in centimeters.

Continue your workflow

Explore more tools in this category for your next step.