How the Area Calculator Works
The calculator applies the exact closed-form formula for the selected shape to the dimensions entered, returning the area in the chosen length unit squared. Square is s²; rectangle is l × w; triangle is ½ × base × height, with a Heron-of-Alexandria fallback A = √(s(s−a)(s−b)(s−c)) from three sides; circle is π × r²; ellipse is π × a × b; trapezoid is ½ × (a + b) × h; parallelogram is b × h; rhombus is ½ × d₁ × d₂; a regular n-gon of side s is ¼ × n × s² × cot(π/n); a circle sector is ½ × r² × θ (θ in radians, or (θ/360) × πr² in degrees); and an annulus is π × (R² − r²). Where a closed boundary is meaningful the tool also reports the perimeter or circumference (the ellipse uses Ramanujan’s high-accuracy approximation), and the area is converted to square metres, square feet, acres and hectares by squaring the length factor.
- Square s² · rectangle l·w · triangle ½bh or Heron · circle πr² · ellipse πab
- Trapezoid ½(a+b)h · parallelogram bh · rhombus ½d₁d₂
- Regular polygon ¼·n·s²·cot(π/n) · sector ½r²θ · annulus π(R²−r²)
- 1 ft² = 0.09290304 m²; 1 acre = 4046.8564224 m²; 1 ha = 10,000 m²
- All math is client-side JavaScript with no server round-trip
