Rectangle Calculator
Compute rectangle area and perimeter.
Loading tool…
About this tool
Enter the length and width to get area and perimeter. An 8 by 5 rectangle has an area of 40 and a perimeter of 26.
How to use
1
Step 1
Enter the length.
2
Step 2
Enter the width.
3
Step 3
Press Calculate.
How it works
Area counts the unit squares inside, length times width. Perimeter is the distance around, two lengths plus two widths. For a fixed perimeter the area is largest when the rectangle is a square.
A = l × w P = 2(l + w)
Worked example
An 8 by 5 rectangle
- Input
- length = 8, width = 5
- Output
- Area 40, perimeter 26
- Walkthrough
- 8 × 5 = 40 and 2 × (8 + 5) = 26.
Limitations
- Both sides must be positive.
- The diagonal is not included; use the Pythagorean theorem calculator with the two sides.
Questions
What is the area of an 8 by 5 rectangle?
40.
What is the perimeter of an 8 by 5 rectangle?
26.
What is the diagonal of an 8 by 5 rectangle?
√89 = 9.43398, from the Pythagorean theorem.
Features
- Area and perimeter
- Instant
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Rectangle area as product of dimensions
Khan Academy
Connects counting unit squares to length × width—the area this page reports next to perimeter.
Watch on YouTubeThe essence of calculus
3Blue1Brown
Visual calculus story that complements symbolic solvers.
Watch on YouTube