Calculate rectangle area.
Perimeter of a Rectangle Calculator
Quick answer
If length is 12 and width is 8, the perimeter is 40 units.
Rectangle perimeter: Perimeter = 2 × (length + width).
Enter your values
Perimeter
40units
The total distance all the way around the outside edge.
You enter Length 12, Width 8. You get Perimeter 40 units.
More in Geometry
All Geometry calculators- GeometryOpen
Calculate circle area.
GeometryOpenCalculate circle circumference.
GeometryOpenCalculate triangle area.
GeometryOpenCalculate right triangle hypotenuse.
GeometryOpenCalculate sphere volume.
GeometryOpen
About the Perimeter of a Rectangle Calculator
The perimeter of a rectangle is the total distance around its edges. It tells you how much fencing, skirting or border you need. Enter the length and the width.
A rectangle 12 m by 8 m has a perimeter of 40 m.
Rectangle perimeter
Perimeter = 2 × (length + width)
Things to keep in mind
- Use the same unit for both sides; the answer is in that unit.
- Add some extra length for corners, gates or wastage when buying material.
- The perimeter is different from the area, which measures the space inside.
See how the result changes
Each table re-runs this calculator with one value changed and everything else left as it is.
Perimeter by length
If length goes from 12 to 18, perimeter changes from 40 units to 52 units (+30%).
| Length | Perimeter |
|---|---|
| 6 | 28 units |
| 9 | 34 units |
| 12start | 40 units |
| 18 | 52 units |
| 24 | 64 units |
Perimeter by width
If width goes from 8 to 12, perimeter changes from 40 units to 48 units (+20%).
| Width | Perimeter |
|---|---|
| 4 | 32 units |
| 6 | 36 units |
| 8start | 40 units |
| 12 | 48 units |
| 16 | 56 units |
A quick guide to Rectangle Perimeter
Use it to get an accurate perimeter in seconds — free, with no sign-up.
Instant results
See your perimeter the moment you enter your numbers.
Free, no sign-up
Every calculator here is free to use, with no account required.
Accurate & transparent
The same standard formula runs on our server for every calculation.
How to Use the Rectangle Perimeter Calculator
Enter Length
Provide your length.
Enter Width
Provide your width.
View Your Results
Get your perimeter instantly, calculated on our server.
What is Rectangle Perimeter?
This math tool works out your perimeter instantly, so you don't have to do the math by hand.
“One quick calculation, so you always know your perimeter before you decide.”
What Affects Your Perimeter
Your perimeter depends on the values below.
Length
Changing your length changes your perimeter.
Width
Changing your width changes your perimeter.
Example Result
Here's what you can expect from a rectangle perimeter calculation:
- Length
- 12
- Width
- 8
- Perimeter
- 40 units
Frequently Asked Questions
- How does length affect perimeter?
- If length goes from 12 to 18, perimeter changes from 40 units to 52 units (+30%).
- How does width affect perimeter?
- If width goes from 8 to 12, perimeter changes from 40 units to 48 units (+20%).
- What is the formula for the Perimeter of a Rectangle Calculator?
- Perimeter = 2 × (Length+Width). The calculator applies it to the values you enter and shows the perimeter in units.
- How to calculate rectangle perimeter?
- Fill in length and width in the Perimeter of a Rectangle Calculator above and your perimeter is calculated instantly. Change any value to see how the result responds.
- What does an example rectangle perimeter calculation look like?
- If length is 12 and width is 8, the perimeter is 40 units.
- What do I need to enter in the Perimeter of a Rectangle Calculator?
- Length and Width. The perimeter updates as soon as you change a value, and it is shown in units.
Customize this calculator
Pick a look, copy the code, and this Rectangle Perimeter calculator — with its inputs and results — runs on your own website.
Theme color
Match your brand's colors
Corner style
Sharp, soft or fully rounded
Widget width
Compact, standard or full width
Live preview
Full widthThe same inputs, result and chart as the calculator above, styled with your choices.