Optional: Enter all 3 sides to also use Heron’s formula (overrides base×height):
Was this calculator helpful?
Sources & Methodology
Rectangle: L×W | Square: s² | Triangle: (1/2)bh or Heron’s √(s(s-a)(s-b)(s-c)) Circle: πr² | Trapezoid: (b1+b2)/2 ×h | Parallelogram: b×h Rhombus: (d1×d2)/2 | Ellipse: π×a×b | Sector: (θ/360)×πr² All calculations use IEEE 754 double-precision. Perimeter calculated for each shape as bonus output.
Last reviewed: April 2026
Area Formulas for All Shapes — Complete Reference Guide
Area is the measure of the two-dimensional space enclosed within a shape. It is always expressed in square units — square centimeters (cm²), square meters (m²), square feet (ft²), or square inches (in²). Area calculations are fundamental in construction (flooring, roofing, tiling), agriculture (land area), painting and decorating (wall and ceiling coverage), real estate (property size), and everyday projects like carpet buying, lawn treatment, and fabric cutting.
Add 10% for waste and cuts: 120 × 1.10 = 132 sq ft to purchase
At $3.50 per sq ft: 132 × $3.50 = $462 total cost
Complete Area Formula Reference
| Shape | Formula | Variables | Example |
|---|---|---|---|
| Rectangle | L × W | Length, Width | 10×5 = 50 cm² |
| Square | s² | Side length | 7² = 49 cm² |
| Triangle | ½ × b × h | Base, Height | |
| Circle | πr² | Radius | π×7² = 153.9 cm² |
| Trapezoid | ½(b1+b2)×h | Two bases, Height | ½(6+10)×4 = 32 cm² |
| Parallelogram | b × h | Base, Height | 9×5 = 45 cm² |
| Rhombus | (d1 × d2) / 2 | Two diagonals | (10×8)/2 = 40 cm² |
| Ellipse | π × a × b | Semi-axes a, b | π×5×3 = 47.1 cm² |
| Sector | (θ/360)×πr² | Radius, Angle | (90/360)×π×25 = 19.6 cm² |
Rectangle and Square Area
The rectangle is the most commonly calculated area in daily life. A = Length × Width. Floor area, wall area, garden plots, and building footprints are all rectangular. A square is a special rectangle where all sides are equal: A = s². Real use: a 5 m × 4 m bedroom has area = 20 m². At 1 m² per tile (30×30 cm tiles: 11 per m²), you need 220 tiles minimum. Add 10% = 242 tiles.
Triangle Area — Two Methods
Method 1 (base × height): A = (1/2) × base × height. The height must be the perpendicular distance from base to apex — not the slant side. Example: base 8 cm, height 5 cm = 20 cm². Method 2 (Heron’s formula): When only the three sides are known, use s = (a+b+c)/2, then A = √(s(s−a)(s−b)(s−c)). Example: sides 5, 12, 13. s = 15. A = √(15×10×3×2) = √900 = 30 cm². This calculator supports both methods.
Circle Area — The πr² Formula
The circle area formula A = πr² requires only the radius. If you know the diameter, r = d/2. Example: a circular table with diameter 1.2 m has r = 0.6 m and area = π×0.36 = 1.13 m². A circular lawn with radius 5 m has area = π×25 = 78.5 m². At 20g fertilizer per m², you need 78.5×20 = 1,570g = 1.57 kg. The circumference (perimeter) of this circle = 2π×5 = 31.4 m of edging needed.
Trapezoid Area — Average Width Times Height
A trapezoid has two parallel sides (called bases). Its area formula A = (b1 + b2)/2 × h takes the average of the two bases and multiplies by the height. The height is the perpendicular distance between the bases. Example: a trapezoidal garden bed with bases 6 m and 10 m, height 4 m: A = (6+10)/2 × 4 = 8 × 4 = 32 m². Real estate lots, road cross-sections, and architectural cross-beams often have trapezoidal cross-sections.
Ellipse (Oval) Area — Covered by Few Competitors
An ellipse has two axes: a (semi-major, half the longer diameter) and b (semi-minor, half the shorter diameter). Area: A = π × a × b. Example: an oval bathtub measuring 170 cm × 75 cm (semi-axes 85 and 37.5): A = π × 85 × 37.5 = 10,012 cm² = about 1 m². An ellipse with a = b becomes a circle (both reduce to πr²). Used for oval tables, elliptical running tracks (the curved ends), and satellite dishes.
Circle Sector Area — The Pie Slice
A sector is a “pie slice” of a circle. Area: A = (θ/360) × πr² where θ is the central angle in degrees. A quarter circle (θ = 90°) has area = (1/4) × πr². A semicircle (θ = 180°) = (1/2) × πr². Example: a sector with radius 5 m and angle 60°: A = (60/360) × π × 25 = 13.09 m². Used for fan-shaped garden beds, pizza slice area, windshield wiper coverage, and circular stair landings.
How to Calculate Area of Composite Shapes
Real rooms and land plots are often irregular (L-shaped, U-shaped). The method: divide into simple shapes, calculate each area, add them together. An L-shaped room can be split into two rectangles. A room with a circular bay window adds the semicircle area to the rectangular main area. For irregular plots, divide into triangles and rectangles. Always subtract any holes or cutouts from the total. This technique works for any shape that can be decomposed into the basic shapes above.
Real-World Area Applications
- Flooring & tiling: Calculate room area in sq ft or m², add 10% waste, divide by tile size
- Paint: 1 gallon typically covers 350–400 sq ft per coat. Calculate wall area (L×H for each wall, minus doors and windows)
- Lawn & garden: Area determines fertilizer, seed, and pesticide quantities
- Real estate: Total floor area (gross vs net) — all rooms summed
- Roofing: Roof area determines shingles or tiles needed
- Agriculture: Field area in acres (1 acre = 43,560 sq ft = 4,047 m²) determines seed and fertilizer
- Fabric & sewing: Calculate fabric needed for curtains, upholstery, clothing