The superellipse calculator gives the area of the Lamé curve |x/a|^n + |y/b|^n = 1 from its semi-axes and its exponent n, its ratio to the ellipse and to the bounding rectangle, the y value at a given x and the diagonal point.
How the calculation works
- Enter the semi-axes a and b.
- Enter the exponent n, where 2 is an ellipse and larger values are squarer.
- Enter an x value and read the area, the ratios and the y value.
Example
A superellipse with a = 12 cm, b = 10 cm and n = 2.5 has an area of 405.712 cm², which is 107.62 % of the ellipse of area 376.991 cm² and 84.52 % of its bounding rectangle. At x = 6 cm the curve is at y = 9.251 cm, and the diagonal point is at 9.094 cm and 7.579 cm.
Why it matters
The calculator helps product designers, architects, woodworkers and graphic designers who draw rounded tables, plates, app icons or windows with a shape between an ellipse and a rectangle, and students who study the gamma function and curves with a parameter, and need the area of the shape to estimate material.
Good to know
The exponent n sets the squareness: values below 2 give pointed shapes with concave sides, 2 gives the ellipse and values above 2 approach the rectangle. The x value must stay between 0 and a, otherwise the calculator caps it at a. The area uses the gamma function and is exact. The perimeter is not shown because it has no simple formula. Dimensions use one unit, and the areas use its square. A negative or zero exponent is not allowed.
Related tools
The ellipse calculator treats the classic case n = 2, the circle calculator handles n = 2 with equal axes, the astroid calculator covers the concave case with n = 2/3 and the lemniscate calculator treats another famous plane curve.