Rectangle perimeter

Find the total length around a rectangle.

Inputs

Use the units shown
RESULT
—

Enter your values and select Calculate.

Formula & explanation
P = 2(length + width)

Variables & units

Length
cm · minimum 0, maximum 1000000000
Width
cm · minimum 0, maximum 1000000000

Worked example

An 8 cm by 5 cm rectangle has a perimeter of 26 cm.

Assumptions

Perimeter is a length, not an area.

Formula version 1.0.0. JavaScript floating-point arithmetic applies. Results display up to 6 decimal places; stored values retain available precision. Use the units shown.

Practice with an example

Use the default input values to find the answer. The reset icon restores those values.

Calculated on your device. Your latest 100 calculations stay in this browser.