MATHEMATICS & NUMBERS · FREE ONLINE TOOL
Generic Rectangle Calculator
Calculate the area, perimeter and diagonal of a rectangle.
Use the calculator
Formula and methodology
For length l and width w, area = lw, perimeter = 2(l + w), and diagonal = √(l² + w²) by the Pythagorean theorem.
How to use this calculator
- Enter the values in the fields shown above.
- Check the order, sign and number of terms before calculating.
- Select Calculate to see the results and intermediate values.
Worked example
A rectangle 8 units long and 5 units wide has area 40 square units, perimeter 26 units and diagonal √89 units.
Assumptions and limitations
This is an educational mathematics tool. It uses the formula and input limits shown on this page. Results are computed in your browser and should be checked independently for formal coursework or specialist applications.
Updated: 17 November 2026. Inputs are processed in your browser.
Frequently asked questions
What does this calculator show?
Calculate the area, perimeter and diagonal of a rectangle.
Are my inputs uploaded?
The calculation runs locally in your browser. Form values are not submitted to Friendly Calculator by this tool.
Can I use the result for academic work?
Yes, as a learning aid. Review the displayed method and confirm that it matches the convention required by your course or application.