2D Area & Perimeter

Area, perimeter, and centroids for circles, triangles, trapezoids, sectors, ellipses, and polygons. Built for Geometry, this workbench updates the 2d shape and scalar readouts in real time as parameters change.

Technical Reference & Equations

  • Pythagorean Theorem & SOH-CAH-TOA: a^2 + b^2 = c^2, \quad \sin A = \frac{a}{c}, \quad \cos A = \frac{b}{c}, \quad \tan A = \frac{a}{b} (a, b: legs of a right triangle; c: hypotenuse opposite 90 degrees.)
  • Distance, Midpoint & Slope: d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}, \quad M = \left(\frac{x_1+x_2}{2}, \frac{y_1+y_2}{2}\right), \quad m = \frac{y_2-y_1}{x_2-x_1} (P1(x1, y1), P2(x2, y2): endpoints of a 2D line segment.)
  • Circle Arc Length & Sector Area: s = r\theta, \quad A_{\text{sector}} = \frac{1}{2}r^2\theta, \quad (x - h)^2 + (y - k)^2 = r^2 (r: radius, theta: central angle in radians, (h, k): circle center.)

View full Geometry Formula Sheet | Constants Table

Related Geometry Calculators