Geometry
Rectangle calculator
Find the area, perimeter and diagonal of a rectangle.
Reviewed December 1, 2026Your results
Enter your numbers and select Calculate.
The formula
Area = length × width. Perimeter = 2 × (length + width). Diagonal = √(length² + width²).
Worked example
A 6 by 4 rectangle has an area of 24 and a perimeter of 20.
What to keep in mind
Use the same unit for all lengths. Areas and volumes use the corresponding square and cubic units.