Area & Perimeter Calculator
Calculate the area and perimeter of 9 common 2D shapes — square, rectangle, triangle, circle, trapezoid, parallelogram, rhombus, regular pentagon and regular hexagon — from a single shape picker.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Shape
square, rectangle, triangle, circle, trapezoid, parallelogram, rhombus, pentagon, hexagon Unit
mm, cm, m, km, in, ft, yd Side length
x >= 0Length
x >= 0Width
x >= 0Side A
x >= 0Side B
x >= 0Side C
x >= 0Radius
x >= 0Base 1 (shorter)
x >= 0Base 2 (longer)
x >= 0Leg 1
x >= 0Leg 2
x >= 0Height
x >= 0Base
x >= 0Slanted side
x >= 0Diagonal 1
x >= 0Diagonal 2
x >= 0Response
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.