Skip to content

Area Calculator

This area calculator finds the space inside a flat shape in square units. Choose one of ten shapes, from a rectangle or triangle to a sector, ellipse or regular polygon, and enter the measurements in one unit. It applies the matching area formula, including Heron's formula for a triangle with three known sides, and shows each step.

Last updated November 18, 2026 · Topic: Geometry

What is area?

Area measures how much surface a flat shape covers. Different shapes have different formulas, but all of them are ways of counting unit squares.

This calculator supports rectangles, triangles by base and height or by three sides, circles, trapezoids, parallelograms, ellipses, circle sectors, regular polygons and rhombuses.

Area formulas for each shape

Arect=lw,Atriangle=12bh,Acircle=πr2,Atrapezoid=12(b1+b2)hA_{\text{rect}} = lw, \quad A_{\text{triangle}} = \tfrac{1}{2}bh, \quad A_{\text{circle}} = \pi r^{2}, \quad A_{\text{trapezoid}} = \tfrac{1}{2}(b_1 + b_2)h Aellipse=πab,Asector=θ360πr2,Apolygon=ns24tan⁡(π/n)A_{\text{ellipse}} = \pi a b, \quad A_{\text{sector}} = \tfrac{\theta}{360}\pi r^{2}, \quad A_{\text{polygon}} = \frac{n s^{2}}{4\tan(\pi / n)}

Which measurements does each shape need?

Shape optionWhat you measureFormulaWatch for
Rectanglelength and widthl × wA square is a rectangle with l = w.
Triangle (base and height)a base and the height at right angles to it½ × b × hThe height is a side only in a right triangle.
Triangle (three sides)all three sidesHeron's formulaThe tool rejects sides that cannot close, such as 2, 3 and 6.
Circleradiusπr²Halve a diameter first.
Sectorradius and angle in degrees(θ ÷ 360) × πr²The angle can be at most 360°.
Trapezoidthe two parallel sides and the height½ × (b₁ + b₂) × hThe slanted legs are not used.
Parallelogrambase and perpendicular heightb × hNot base × slanted side.
Ellipsethe two semi-axesπabSemi-axes are half the full widths.
Rhombusboth diagonals(d₁ × d₂) ÷ 2The same formula works for a kite, so use this option for kites too.
Regular polygonnumber of sides, and the side, apothem or circumradiusns² ÷ (4 tan(π ÷ n))Every side and angle must be equal.

If your shape is not in the list, it can almost always be split into pieces that are.

How to use the area calculator

  1. Choose a shape.
  2. Type the lengths the shape needs. Use the same unit for all of them.
  3. Read the area. It is in square units of the unit you used.
  4. Read the steps for the formula and the perimeter, if shown.
  5. Try another shape to compare.

Area examples

Example 1: A rectangle

A rectangle is 8 meters long and 5 meters wide. The area is 8 × 5 = 40 square meters. The perimeter is 2 × (8 + 5) = 26 meters.

Example 2: A triangle

A triangle has a base of 6 and a height of 4. The area is half of 6 × 4, which is 12. With three sides, 3, 4 and 5, Heron’s formula gives s = 6 and the area √(6 × 3 × 2 × 1) = 6.

Example 3: A circle and a sector

A circle with radius 5 has an area of π × 25 ≈ 78.54. A 90 degree sector of it has an area of one quarter of that, 19.63, and an arc length of one quarter of 2π × 5, which is 7.85.

Example 4: A trapezoid and a hexagon

A trapezoid with bases 6 and 10 and a height of 4 has an area of ((6 + 10) ÷ 2) × 4 = 32. A regular hexagon with side 4 has an area of 6 × 16 ÷ (4 × tan 30°) ≈ 41.57.

Area of a regular polygon from the side, apothem or radius

A regular polygon has equal sides and equal angles. Choose Regular polygon, enter the number of sides, then pick which length you know:

You knowArea formulaHexagon example
Side sn × s² ÷ (4 × tan(180° ÷ n))s = 4: 41.57
Apothem a (centre to the middle of a side)n × a² × tan(180° ÷ n)a = 3.464: 41.57
Circumradius R (centre to a corner)½ × n × R² × sin(360° ÷ n)R = 4: 41.57

All three come from the same picture: split the polygon into n identical triangles meeting at the centre. Each triangle has the side as its base and the apothem as its height, so the area is also ½ × perimeter × apothem, which the steps use as a check.

Values for a side of 1 (multiply by s² for any other side):

PolygonSidesInterior angleArea with side 1
Equilateral triangle360°0.4330
Square490°1
Pentagon5108°1.7205
Hexagon6120°2.5981
Octagon8135°4.8284
Decagon10144°7.6942
Dodecagon12150°11.1962

A hexagon with side 4 is 2.5981 × 16 ≈ 41.57. For an octagon measured across the flats (the distance between opposite sides, such as a stop sign or a gazebo floor), halve it to get the apothem and use the apothem option.

Square footage of a room or yard

Measure length and width in feet and use the rectangle option: a 12 ft by 15 ft room is 180 square feet. For an L-shaped room, split it into two rectangles, find each area and add them. To turn square feet into square meters, multiply by 0.0929, so 180 ft² is about 16.72 m². An acre is 43,560 ft². The unit converter handles acres, hectares and other area units.

Irregular shapes

Break the shape into rectangles, triangles and circle parts that the calculator lists, then add the areas and subtract any holes. For a plot given as corner coordinates, the shoelace formula gives the area directly, but this calculator does not run it. To find the area under a curve, use a definite integral in the integral calculator.

Area, perimeter and surface area

Area is the inside of a flat shape, in square units. Perimeter is the distance around it, in plain units. Surface area is the total area of every face of a solid. For circles, the circle calculator gives the circumference and area together, and the surface area calculator covers boxes, cylinders and spheres.

Converting between square units

Area units scale by the square of the length factor. One foot is 12 inches, so one square foot is 12 × 12 = 144 square inches, not 12. The same trap catches metric users: 1 m² is 100 × 100 = 10,000 cm².

FromToMultiply by
square feetsquare inches144
square yardssquare feet9
square meterssquare feetabout 10.764
square feetsquare meters0.0929
square meterssquare centimeters10,000
acressquare feet43,560
hectaresacresabout 2.471

Work out the area in the unit you measured in, then convert once at the end. Converting each length first and the area again later is how a result ends up off by a factor of 12 or 100.

Worked project: flooring an L-shaped room

The main part of a room is 14 ft by 12 ft, with a 6 ft by 5 ft alcove off one side.

  1. Rectangle option for the main part: 14 × 12 = 168 ft².
  2. Rectangle option for the alcove: 6 × 5 = 30 ft².
  3. Floor area: 168 + 30 = 198 ft².
  4. Add a cutting allowance. Installers commonly add about 5 to 15 percent, more for diagonal layouts. At 10 percent: 198 × 1.1 = 217.8 ft².
  5. If flooring comes in 20 ft² boxes, 217.8 ÷ 20 = 10.89, so buy 11 boxes.

The calculator gives the exact area; the allowance is a judgment call that depends on the material and the room.

Rings and cut-outs

For a shape with a hole, find the outer area and subtract the inner one. A circular path 1 m wide around a flower bed of radius 2 m is a ring (an annulus) with outer radius 3 m. Run the circle option twice: π × 3² ≈ 28.27 and π × 2² ≈ 12.57. The path covers about 28.27 − 12.57 = 15.71 m². The same subtraction works for a window in a wall or a pool in a yard.

Same perimeter, different area

Area and perimeter do not move together. Here are five shapes that each have a perimeter of 24 units:

ShapeSizeArea
Long rectangle10 × 220
Equilateral triangleside 8about 27.71
Square6 × 636
Regular hexagonside 4about 41.57
Circleradius about 3.82about 45.84

For a fixed perimeter, the circle encloses the most area, and among rectangles the square does. This is why a fence of a given length gives the biggest pen when it is close to round or square.

The same idea answers the pizza question. One 18-inch pizza has π × 9² ≈ 254 in² of pizza. Two 12-inch pizzas have 2 × π × 6² ≈ 226 in². The single large one is more food.

How precise is the answer?

The calculator keeps full precision and shows up to six decimal places, so the arithmetic is not the weak point. Your measurements are. A room measured as 12 by 15 ft that is really 12.1 by 15.1 ft has an area of 182.71 ft² instead of 180, about 1.5 percent more. Small errors in each length add up in the area, so round only the final answer, and measure twice for anything you will buy.

Quick checks before you use the result

  • The answer is in square units of whatever unit you typed. Mixing feet and inches gives nonsense.
  • For triangles, parallelograms and trapezoids, the height meets the base at a right angle.
  • A circle needs the radius. If you only have the circumference, the circle calculator finds the radius first.
  • For the outside of a 3D object, area is the wrong tool: use the surface area calculator. For how much it holds, use the volume calculator.

The area formulas guide shows where each formula comes from.

FAQ

Frequently asked questions

01What is area and what units does it use?

Area is the size of a flat surface. It is measured in square units, such as square centimeters, square meters or square feet, because it multiplies two lengths. A square that is 3 meters on each side has an area of 9 square meters. Always write the square unit in your answer.

02How do I find the area of a triangle with three sides?

Use Heron’s formula. Find s, half the perimeter, then take the square root of s(s − a)(s − b)(s − c). For sides 3, 4 and 5, s = 6, and the area is √(6 × 3 × 2 × 1) = 6. The calculator offers this option and checks that the sides can form a triangle.

03What is the difference between area and perimeter?

Perimeter is the distance around the edge of a shape, measured in plain units. Area is the space inside, measured in square units. A rectangle 8 by 5 has a perimeter of 26 and an area of 40. Two shapes can have the same perimeter and different areas.

04How do I find the area of a regular polygon?

For a regular polygon with n equal sides of length s, the area is n × s² ÷ (4 × tan(π ÷ n)). A regular hexagon with side 4 has an area of about 41.57. The calculator takes the number of sides and the side length, the apothem or the circumradius, and gives the perimeter, apothem, circumradius and interior angle too.

05What is a sector?

A sector is a slice of a circle, like a piece of pie. Its area is the fraction angle ÷ 360 of the full circle’s area. A 90 degree sector of a circle with radius 5 has an area of one quarter of 25π, which is about 19.63. The tool also gives the arc length.

06Why must the height be perpendicular?

For triangles, parallelograms and trapezoids, the height is the straight, perpendicular distance between the bases. It is not the slanted side. Using the slant gives too large an answer. If you know the slant and the base, use the Pythagorean theorem to find the height first.

07How do I calculate square footage?

Multiply the length by the width, both in feet. A 10 ft by 14 ft room is 140 square feet. For odd shapes, split them into rectangles and triangles, work out each one, and add the results.

08How do I find the area of an irregular shape?

Divide it into shapes you know, such as rectangles, triangles and semicircles. Find each area with the calculator, add them, and subtract any cut-out parts. The more pieces you use for a curved edge, the closer the estimate.

09What shape has the largest area for a given perimeter?

A circle. With 24 units of perimeter, a circle encloses about 45.8 square units, a square 36 and a 10 by 2 rectangle only 20. Among rectangles with the same perimeter, the square always has the largest area.

10How do I find the area of a kite?

Measure the two diagonals and multiply them, then halve the result. Choose the rhombus option and enter the diagonals, because a kite and a rhombus share the formula (d₁ × d₂) ÷ 2. A kite with diagonals of 10 and 6 has an area of 30.