Geometry · Formula v1.0

Rectangle Area & Perimeter Calculator

Calculate the area and perimeter of a rectangle.

Use consistent units for length and width. At the worked-example inputs, the area is 96. Area is length times width and tells you how much surface the shape covers, and perimeter is the distance around it. On the example, a 12 by 8 rectangle has an area of 96 square units and a perimeter of 40. Use area for flooring, paint, sod and tile, and perimeter for fencing, trim and framing. Add 5% to 10% to material orders for cuts and waste, and check that the price is per square unit. Real rooms are rarely perfect rectangles: alcoves and closets need to be measured separately and added or subtracted. It returns area, perimeter.

FreeNo sign-upInputs stay in-browserCSV exportReviewed August 28, 2026
LAST REVIEWEDAugust 28, 2026Inputs stay in your browser
Live calculation

Enter your numbers

Calculated result
Area96
Perimeter40
Sensitivity check

What if length changes?

-10% input86.4
0% input96
+10% input105.6

Transparent method

The formula

Area = length × width; perimeter = 2(length + width)

Worked example

Area96
Perimeter40

Example inputs

Length12
Width8

How to interpret the result

Area and perimeter answer two different questions about the same rectangle, and a project that needs more perimeter, baseboard, fencing, doesn't necessarily need more area, or the reverse. A long, narrow rectangle can have a small area and a large perimeter, while a square with the same area has a much smaller perimeter, because perimeter responds to shape and area doesn't.

Before you rely on it

What to check

Confirm length and width are recorded in the same unit before multiplying. Mixing feet and inches silently produces an answer that's off by a factor of twelve.

The common error

Where people go wrong with rectangle area & perimeter calculator

Assuming two rectangles with equal area have equal perimeter. A 2-by-50 rectangle and a 10-by-10 rectangle both cover 100 square units, but one needs far more material to fence than the other.

Sensitivity evidence

How length changes the area

Rectangle Area & Perimeter Calculator: area and perimeter across a range of length, every other input held at the worked-example value.
LengthAreaPerimeter
108036
118838
12worked example9640
1310442
1411244

Every input, tested

Which input moves the area most

Rectangle Area & Perimeter Calculator: area with each input moved on its own, every other input held at the worked-example value.
InputTested fromToArea at each endSwing
Width7984 to 10824 (25%)
Length111388 to 10416 (17%)

Two variables at once

Area by length and width

Rectangle Area & Perimeter Calculator: area at each combination of length (rows) and width (columns).
Length \ Width6810
106080100
116688110
127296120
1378104130
1484112140

Step by step

The worked example, input by input

Worked-example inputs and the results they produce for the rectangle area & perimeter calculator.
InputValue used
Length12
Width8
Area96
Perimeter40

Where the inputs come from

Enter the length and the width of the rectangle in the same unit, such as feet, meters or inches. Measure the two sides that meet at a corner, not a diagonal, and use the inside dimensions for a room's floor area if you are buying flooring. Area is in square units and perimeter is in the same units as the sides. If the shape is a square, enter the same number for both.

When the result stops applying

Units must match, since multiplying feet by inches gives a meaningless number. Materials come in fixed sizes, so the amount you buy is larger than the area. Curved and angled walls need other formulas.

What to compare it with

Handle other shapes on the triangle, trapezoid, parallelogram and circle calculators, and volumes on the rectangular prism page. The unit conversion calculators change square feet to square meters, and the concrete, paint and flooring calculators in the trades categories use area. The land acreage page converts to acres.

People also ask

Frequently asked questions

How do I calculate the area of a rectangle?

Multiply the length by the width. A rectangle 12 units long and 8 wide has an area of 96 square units.

What is the difference between area and perimeter?

Area is the surface inside the shape, measured in square units, and perimeter is the distance around it, measured in linear units.

How much extra flooring should I buy?

Add about 5% to 10% for cuts and waste, more for diagonal patterns or rooms with many corners.

Common geometry questions

Sources and evidence

Background reading

Guides that use this calculator

Definitions

Terms used on this page