How it works
Find the area, perimeter and diagonal of a rectangle using perpendicular length and width in the same unit.
Inputs and units
| Input | Example value | What to enter |
|---|---|---|
| Length | 8 | Enter a numeric value. Must be greater than zero. |
| Width | 5 | Enter a numeric value. Must be greater than zero. |
Worked example
Show example inputs and results
This example is generated by the same calculation engine using the starting values in the form. Your own inputs produce your own result.
- Length
- 8
- Width
- 5
Complete example results
- Area
- 40
- Perimeter
- 26
- Diagonal
- 9.43398113
Reading the result
Enter lengths in the same unit. Area uses the square of that unit and volume its cube. Height is perpendicular to the base; use a sloping side only when the input explicitly asks for it.
Compare different scenarios
Inputs held constant: Width: 5.
| Length | Area | Perimeter |
|---|---|---|
| 4 | 20 | 18 |
| 8 | 40 | 26 |
| 12 | 60 | 34 |
Separate coverage, boundary and diagonal measurements
A rectangle measuring 6 by 8 has area 6 × 8 = 48, perimeter 2 × (6 + 8) = 28, and diagonal √(6² + 8²) = 10. The area describes surface coverage; the perimeter follows the outside boundary; the diagonal crosses the rectangle. Choose the relevant result before estimating a material quantity.
Area uses a squared unit
If the sides are measured in metres, area is in square metres while perimeter and diagonal remain in metres. Convert a width of 200 cm to 2 m before combining it with a length of 1.5 m: the area is then 3 m². The form does not infer or convert units from the numbers alone.
Questions and answers
Can I use the example values for my own calculation?
The example values illustrate the calculation. Replace every input with your own information, especially dates, rates and the selected operation.
Why are some results rounded?
Results display up to 8 decimal places. Calculations use the unrounded values; very small values use scientific notation. JavaScript floating-point arithmetic can introduce tiny rounding differences.
Are my inputs sent to a server?
The calculator processes inputs in your browser. Its code does not send your values to a server.