FLXCode Area Calculator

FLXCode apps

Appearance

Area Calculator

Pick a shape and type its sizes. The area appears with the formula worked out for your numbers.

lw

Example Rectangle

120 square feet

The formula with your numbers

A = l × w

A = 12 × 10 = 120 ft²

The same area in other units

Other units
Square inches17,280
Square yards13.3333
Square centimeters111,484
Square meters11.1484

Also

Other measurements
Perimeter44 ft
Diagonal15.6205 ft

No ads. No account. Nothing you type or record is uploaded. We count page events with a daily code. Check it.

Problem or idea? Email us

Quick start

  1. Pick the shape. The drawing shows which size is which.
  2. Type the sizes and choose one unit for all of them. Fractions such as 7 1/2 work.
  3. For round shapes, say whether you measured the radius or the diameter.
  4. Read the area, the formula with your numbers and the same area in other units.

Area formulas for each shape

The sample sizes are run through the engine, so the answers match the tool.

ShapeFormulaSampleArea
Rectanglel x w12 x 10 ft120 sq ft
Triangle1/2 x b x hbase 8, height 5 ft20 sq ft
Triangle, three sidesHeron: √(p(p−a)(p−b)(p−c))5, 6, 7 ft14.7 sq ft
Circleπ x r²radius 5 ft78.54 sq ft
Trapezoid(a + b) / 2 x ha 4, b 10, height 6 ft42 sq ft
Parallelogramb x hbase 9, height 4 ft36 sq ft
Ellipseπ x a x bsemi-axes 6 and 4 ft75.4 sq ft
Sectorθ / 360 x π x r²radius 10, 60 degrees52.36 sq ft
Regular polygonn x s² / (4 x tan(180° / n))6 sides of 2 ft10.39 sq ft

How the tool works out the area

The sizes you type stay in the unit you picked. The formula runs in that unit, and the result is converted to square inches, feet, yards, centimeters and meters at the end. That is why the formula line shows your own numbers, such as A = 12 x 10 = 120 ft².

A trapezoid needs the two parallel sides and the height between them, not the slanted side. A triangle needs the base and the height at a right angle to it, not a side. These two slips are behind most wrong answers.

An ellipse uses semi-axes, which are half of the full width and half of the full height. If you measured the full width and height, halve each. Its perimeter has no exact formula, so the tool shows a close estimate by Ramanujan.

Numbers this uses

Every constant the tool uses is listed here with its source. Where a number varies, you can edit it in the tool.

  • Pi is 3.14159265.... The circumference of a circle divided by its diameter. The tool uses the full double-precision value.
  • One inch is 25.4 mm exactly. Set by the 1959 international yard and pound agreement.
  • One foot is 12 in, or 0.3048 m exactly. Same 1959 agreement.
  • One square foot is 0.09290304 m². Follows from the foot: 0.3048 m x 0.3048 m.
  • Ellipse perimeter is Ramanujan's first estimate. It is within about 0.01% for an axis ratio of 2 to 1, and exact for a circle.

Shapes that are not on the list

Most real outlines are a mix. Split the outline into rectangles, triangles and circles, work out each area with this tool and add the results. For a hole, work out the area of the hole and subtract it, as with a round pipe opening in a plate. A ring is the big circle minus the small one.

Common mistakes

  • Mixing units, such as a length in feet and a width in inches. Convert first, or use the same unit for both.
  • Using the diameter where the formula wants the radius. The area then comes out four times too large.
  • Calling square units plain units. An area in feet is in square feet, and 12 x 10 ft is 120 sq ft, not 120 ft.
  • Using the slanted side of a triangle or parallelogram as the height.

Your sizes stay in this page and are not uploaded. We count events without cookies (details).

FAQ

How do I find the area of a shape?

Pick the shape, type its sizes and read the area. The tool shows the formula with your numbers in it, so you can check each step. All sizes must use the same unit, and the area comes out in that unit squared.

What is the difference between area and perimeter?

Area is the surface inside a shape, in square units. Perimeter is the distance around it, in plain units. A 12 x 10 ft rectangle has an area of 120 sq ft and a perimeter of 44 ft. The tool shows the perimeter where a clean formula exists.

How do I find the area of a circle from its diameter?

Halve the diameter to get the radius, then use pi x r². Choose Diameter under the unit and the tool halves it for you. A circle 10 ft across has an area of 78.54 sq ft. A 14 in pizza covers 153.9 sq in.

How do I find the area of a triangle when I only know the three sides?

Use Heron's formula. Add the sides, halve that to get p, then take the square root of p x (p − a) x (p − b) x (p − c). Sides of 5, 6 and 7 ft give 14.697 sq ft. The tool also checks that the sides can close a triangle.

How do I find the area of an irregular shape?

Cut it into shapes you know, find each area and add them. A lot with a 60 ft front, a 90 ft back and 120 ft between them is a trapezoid, 9,000 sq ft. For a room made of rectangles, the square footage calculator adds and subtracts them for you.

How do I find the area of a regular polygon?

Enter the number of sides and the side length. A hexagon with 2 ft sides has an area of 10.3923 sq ft. The formula works for any regular polygon from 3 sides up, and the tool also gives the perimeter and the apothem.

How do I find the area of a pie slice?

A slice is a sector. Multiply the circle's area by the angle over 360. A 14 in pizza cut into 8 slices has 45 degree slices of 19.24 sq in each, and the arc along the crust is 5.5 in.

Is anything I type uploaded or saved?

No. The sums run in your browser. Your sizes are not put in the address bar, not stored in this browser and not counted. We only count which shape or unit you used.

More from FLXCode

Share Area Calculator