Rectangle Calculator
Rectangle Calculator lets you rectangle area multiplies length and width; diagonal uses the Pythagorean theorem. Enter your own values or load the worked example.
- Copy or download the computed result
- Adjust length
- See the processing method and limits
Method and calculation
Rectangle area multiplies length and width; diagonal uses the Pythagorean theorem.
Inputs and settings
Rectangle Calculator accepts Length (minimum 0.000001); Width (minimum 0.000001).
Worked example
Rectangle Calculator example — Length: 8; Width: 5. Computed output: { "area": 40, "perimeter": 26, "diagonal": 9.433981132056603 }
Output and limitations
Rectangle Calculator: Use finite inputs. Results use double-precision arithmetic.
Technical references: JavaScript numerical operations
Rectangle Calculator FAQs
Rectangle Calculator applies the following rule to your input: Rectangle area multiplies length and width; diagonal uses the Pythagorean theorem. The worked example on this page uses the same processor as the result button.
Rectangle Calculator has these boundaries: Use finite inputs. Results use double-precision arithmetic. Start by checking the length field against the units or format shown.
Rectangle Calculator provides this sample: { "area": 40, "perimeter": 26, "diagonal": 9.433981132056603 }. Use the sample button to reproduce it, then replace the inputs with your own values.