The Area Calculator computes the area of rectangles, circles, triangles, and trapezoids — showing the formula used and the result in square units.

Area Calculator

Calculate the area of common 2D shapes.

Area

How to Use This Calculator

  1. Click a shape tab: Rectangle, Circle, Triangle, or Trapezoid.
  2. Enter the required dimensions.
  3. Click Calculate Area.

Area Formulas Quick Reference

  • Rectangle: A = length × width
  • Circle: A = π × radius² ≈ 3.14159 × r²
  • Triangle: A = ½ × base × height (where height is perpendicular to the base)
  • Trapezoid: A = ½ × (base₁ + base₂) × height

Real-World Applications

Home improvement: Calculate how much flooring, paint, or turf you need. Paint typically covers 350–400 sq ft per gallon; knowing your wall area prevents over- or under-buying.

Gardening: Find how much soil, fertilizer, or seed to buy. Products are sold per square foot or square meter.

Construction: Estimate roofing materials, concrete pads, or tile quantities. Always add 10–15% for waste and cuts.

Land measurement: Convert area to acres (1 acre = 43,560 sq ft) or hectares (1 hectare = 10,000 m²).

Frequently Asked Questions

What unit is the result in?

The result is in whatever unit you use for the inputs, squared. If you enter meters, the result is m². If you enter feet, the result is ft². There is no unit conversion — enter all dimensions in the same unit.

How do I find the height of a triangle if I only know the three sides?

Use Heron’s formula: s = (a+b+c)/2; Area = √(s(s−a)(s−b)(s−c)). You can rearrange to height = 2×Area/base once you have the area.

Area Formulas Reference

  • Square: side × side
  • Rectangle: length × width
  • Triangle: ½ × base × height
  • Circle: π × radius²
  • Trapezoid: ½ × (base₁ + base₂) × height
  • Parallelogram: base × height

Real-World Uses

Calculating area is essential whenever you need to cover, fill, or price a surface. Common examples include buying the right amount of paint (most cans state coverage in square feet or square meters), ordering flooring, carpet, or tile, laying turf or mulch in a garden, and estimating roofing material. Always add 5–10% extra to area-based purchases to allow for cuts, waste, and mistakes.

Units and Conversions

Area is always expressed in square units. Keep your measurements consistent — don’t mix feet with inches. Useful conversions: 1 square meter = 10.764 square feet, 1 acre = 43,560 square feet, and 1 hectare = 10,000 square meters. If your measurements are in different units, convert them to a single unit before calculating.

How it works

Each shape uses its standard geometry formula. JavaScript's Math.PI is used for circle calculations (π ≈ 3.14159265358979). Results are rounded to 8 significant figures to avoid floating-point display artifacts.

Formula

Rectangle: A=l×w. Circle: A=πr². Triangle: A=½bh. Trapezoid: A=½(a+b)×h