Rectangle Calculator
Calculate a rectangle’s area, perimeter, diagonal, inscribed/circumscribed circle radii, and aspect ratio from any two known measurements — length & width, area & one side, perimeter & one side, diagonal & one side, or area & perimeter. Also flags how close the result sits to a golden-ratio rectangle.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Solve from
length_width, area_length, area_width, perimeter_length, perimeter_width, diagonal_length, diagonal_width, area_perimeter Length
x >= 0Width
x >= 0Area
x >= 0Perimeter
x >= 0Diagonal
x >= 0Unit
none, mm, cm, m, km, in, ft, yd, mi Decimal precision
0, 1, 2, 3, 4, 5, 6, 8, 10 Response
Tool output
The tool's slug, echoing the {slug} in the request path.
Output-contract version for this tool.
Credits this call consumed, after any settlement refund. 0 when metering is disabled.
Credits left in the current monthly allowance, or null when metering is disabled.
Correlation id, also sent as x-request-id.