Rectangle area calculator
Compute area, perimeter, diagonal and aspect ratio from side lengths. Includes unit conversions and decimal control.
Rectangle area
Compute area, perimeter, diagonal, and aspect ratio from two sides.
A = width × heightInput data
How it works
- Enter width and height using the same unit.
- Click Calculate to get the area and extra metrics.
- Switch the unit selector to convert the outputs instantly.
Diagonal uses Pythagoras: √(width² + height²).
Results
Geometric visualization
The rectangle is drawn at a relative scale with width, height and diagonal.
Area conversions
Formulas used
- Area: A = width × height.
- Perimeter: P = 2 × (width + height).
- Diagonal: d = √(width² + height²).
- Aspect ratio: width : height simplified.
Typical uses
- Measure rooms, screens, boards, or fabric pieces.
- Plan rectangular gardens or floor layouts.
- Switch between metric and imperial units in one click.
How do you calculate the area of a rectangle?
Multiply width by height: A = width × height. Enter both sides and hit Calculate to instantly get area, perimeter, diagonal, and aspect ratio.
Can I use decimals and switch units without losing my data?
Yes. Dot or comma decimals are accepted and validated. When you change the unit, we recalc the main result and all conversions automatically.
What is the perimeter shown for?
The perimeter is the total outline of the rectangle. It helps you estimate trim, skirting, framing, or any border material.
How is the diagonal computed and what does it tell me?
We apply the Pythagorean theorem: d = √(width² + height²). The diagonal is the longest distance across the rectangle and is handy for comparing screens or panels.
Do you store or send the values I type?
No. Everything is calculated locally in your browser; none of your measurements are saved or transmitted.
Improve this calculator
Found an error or missing a feature?
Send us the example so we can review this calculator and turn real cases into improvements or automated tests.