Last updated March 2026

Area Calculator

Calculate the area and perimeter of common geometric shapes with step-by-step formulas.

Area 60 sq units
Perimeter 32 units
Formula Used Area = length × width = 10 × 6 = 60

What Is Area?

Area is the measure of the two-dimensional space enclosed within a boundary. It tells you how much surface a flat shape covers. Area is expressed in square units such as square meters (m2), square feet (ft2), square centimeters (cm2), or acres. Whether you are painting a wall, laying carpet in a room, planting a garden, or calculating the material needed for a construction project, understanding area is fundamental.

The concept of area dates back thousands of years to ancient civilizations. Egyptian surveyors calculated the area of agricultural fields along the Nile River to determine taxes after annual floods reshaped the land. The Greek mathematician Euclid formalized geometric principles around 300 BCE, and many of the area formulas we use today originate from his foundational work, Elements. Today, area calculations are indispensable in architecture, engineering, agriculture, interior design, and everyday tasks like determining how much paint to buy.

Area Formulas for Common Shapes

Each geometric shape has its own formula for calculating area. Below are the formulas for the five shapes supported by this calculator, along with detailed explanations and worked examples.

Rectangle

Area = length × width
Perimeter = 2 × (length + width)

A rectangle has four right angles and two pairs of parallel sides. The area is simply the product of its length and width. For example, a room that is 12 feet long and 10 feet wide has an area of 12 × 10 = 120 square feet. The perimeter of this room is 2 × (12 + 10) = 44 feet, which is useful when calculating how much baseboard or trim you need. A square is a special case of a rectangle where all four sides are equal, so its area is simply side2.

Circle

Area = π × r2
Circumference = 2 × π × r

The area of a circle depends on its radius, which is the distance from the center to any point on the boundary. Pi (π) is the mathematical constant approximately equal to 3.14159. For a circle with a radius of 5 meters, the area is π × 52 = π × 25 ≈ 78.54 square meters. The circumference (the distance around the circle) is 2 × π × 5 ≈ 31.42 meters. If you know the diameter instead of the radius, simply divide the diameter by 2 to get the radius.

Triangle

Area = ½ × base × height

The area of a triangle is half the product of its base and its corresponding height (the perpendicular distance from the base to the opposite vertex). This formula works for all triangles—right, acute, or obtuse—as long as you use the correct height. For a triangle with a base of 8 cm and a height of 6 cm, the area is 0.5 × 8 × 6 = 24 square centimeters. For the perimeter, you need the lengths of all three sides. If the triangle sides are 8, 6, and 10, the perimeter is 8 + 6 + 10 = 24 cm. Another useful formula for triangles when all three sides are known is Heron's formula: Area = √(s(s-a)(s-b)(s-c)), where s is the semi-perimeter (a + b + c) / 2.

Trapezoid

Area = ½ × (base1 + base2) × height

A trapezoid (also called a trapezium in British English) is a quadrilateral with exactly one pair of parallel sides called bases. The height is the perpendicular distance between these two parallel sides. The area formula averages the two bases and multiplies by the height. For a trapezoid with bases of 10 and 6 units and a height of 4 units, the area is 0.5 × (10 + 6) × 4 = 32 square units. To calculate the perimeter, you need all four side lengths. If the non-parallel sides (legs) measure 5 units each, the perimeter is 10 + 6 + 5 + 5 = 26 units.

Ellipse

Area = π × a × b

An ellipse is an elongated circle defined by two radii: the semi-major axis (a), which is the longer radius, and the semi-minor axis (b), the shorter one. The area is the product of π, the semi-major axis, and the semi-minor axis. For an ellipse with a semi-major axis of 7 and a semi-minor axis of 4, the area is π × 7 × 4 ≈ 87.96 square units. The perimeter (circumference) of an ellipse has no simple exact formula. The Ramanujan approximation provides a good estimate: P ≈ π × (3(a + b) - √((3a + b)(a + 3b))). When a = b, the ellipse becomes a circle, and this formula simplifies to the standard circumference formula.

Real-World Applications of Area

Understanding how to calculate area is essential in many practical situations:

Units of Area and Conversions

Area is always expressed in square units. The key principle for converting between area units is that you must square the linear conversion factor. Here are the most commonly used area conversions:

ConversionFactor
1 sq foot (ft2)144 sq inches
1 sq yard (yd2)9 sq feet
1 sq meter (m2)10.764 sq feet
1 acre43,560 sq feet
1 hectare10,000 sq meters (2.471 acres)
1 sq mile640 acres
1 sq meter10,000 sq centimeters
1 sq kilometer1,000,000 sq meters

Example conversion: To convert 250 square feet to square meters, divide by 10.764: 250 / 10.764 ≈ 23.23 square meters. To go the other direction, multiply square meters by 10.764. A common mistake is to use the linear conversion factor (1 meter = 3.281 feet) instead of squaring it. Always remember that area conversions require the squared factor.

Calculating Area of Irregular Shapes

Not all shapes fit neatly into standard geometric formulas. For irregular shapes, several strategies can help:

Practical example: Suppose you need to find the area of an L-shaped room where the longer section is 15 ft by 10 ft and the shorter section is 8 ft by 6 ft. Split it into two rectangles: 15 × 10 = 150 sq ft and 8 × 6 = 48 sq ft. Total area = 150 + 48 = 198 square feet.

Practical Area Examples

Below are step-by-step area calculations for common real-world scenarios:

Painting a Room

You want to paint the four walls of a 14 ft × 12 ft room with 9 ft ceilings. Two walls are 14 × 9 = 126 sq ft each, and two walls are 12 × 9 = 108 sq ft each. Total wall area = 2(126) + 2(108) = 252 + 216 = 468 sq ft. Subtract a 3 ft × 7 ft door (21 sq ft) and two 4 ft × 3 ft windows (24 sq ft total). Paintable area = 468 - 21 - 24 = 423 sq ft. At 375 sq ft per gallon, you need about 1.13 gallons, so buy 2 gallons to be safe (accounting for two coats).

Circular Patio

You are building a circular stone patio with a diameter of 16 feet. The radius is 16 / 2 = 8 feet. Area = π × 82 = π × 64 ≈ 201.06 sq ft. If paving stones cost $4.50 per square foot installed, the total cost is 201.06 × 4.50 ≈ $904.77. The circumference is 2 × π × 8 ≈ 50.27 feet, which tells you how much edging material to buy.

Triangular Garden Bed

A triangular garden bed has a base of 10 feet and a height of 7 feet. Area = 0.5 × 10 × 7 = 35 sq ft. If you need 3 inches (0.25 ft) of mulch, the volume is 35 × 0.25 = 8.75 cubic feet. Since one bag of mulch contains 2 cubic feet, you need 5 bags (8.75 / 2 = 4.375, rounded up).

Area vs. Volume vs. Surface Area

It is important to distinguish between these three related but different measurements:

These concepts are related but serve different purposes. When buying carpet, you need area. When buying paint for the exterior of a shed, you need surface area. When filling a container with soil, you need volume.

Frequently Asked Questions

How do you calculate the area of a shape?

Each shape has its own formula. For a rectangle, multiply length by width. For a circle, use π × radius2. For a triangle, use ½ × base × height. For a trapezoid, use ½ × (base1 + base2) × height. For an ellipse, use π × semi-major axis × semi-minor axis. This calculator handles all five shapes automatically.

What is the difference between area and perimeter?

Area measures the amount of space inside a shape, expressed in square units. Perimeter measures the total distance around the outside edge of a shape, expressed in linear units. For example, a 10 ft × 8 ft rectangle has an area of 80 sq ft (the amount of carpet needed) and a perimeter of 36 ft (the length of border trim needed).

How do you convert between different area units?

Square the linear conversion factor. Since 1 foot = 12 inches, 1 square foot = 144 square inches (122). Since 1 meter = 100 centimeters, 1 square meter = 10,000 square centimeters (1002). Common conversions include 1 acre = 43,560 sq ft, 1 hectare = 10,000 sq m, and 1 sq m = 10.764 sq ft.

Can you calculate the area of an irregular shape?

Yes. The most common approach is to decompose the irregular shape into standard shapes (rectangles, triangles, circles) and add their areas together. You can also use subtraction, where you calculate a larger enclosing shape and subtract the parts that do not belong. For polygons with known vertex coordinates, the Shoelace formula provides an exact calculation.

Why do area units use "square" (sq ft, sq m)?

Area is measured in square units because it represents two-dimensional space. A square foot, for instance, is the area of a square that measures 1 foot on each side. When you multiply length (feet) by width (feet), the result is feet × feet = feet squared (ft2). This is why converting area units requires squaring the linear conversion factor rather than simply multiplying by it.

Related Calculators