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
Which measurements does each shape need?
| Shape option | What you measure | Formula | Watch for |
|---|---|---|---|
| Rectangle | length and width | l × w | A square is a rectangle with l = w. |
| Triangle (base and height) | a base and the height at right angles to it | ½ × b × h | The height is a side only in a right triangle. |
| Triangle (three sides) | all three sides | Heron's formula | The tool rejects sides that cannot close, such as 2, 3 and 6. |
| Circle | radius | πr² | Halve a diameter first. |
| Sector | radius and angle in degrees | (θ ÷ 360) × πr² | The angle can be at most 360°. |
| Trapezoid | the two parallel sides and the height | ½ × (b₁ + b₂) × h | The slanted legs are not used. |
| Parallelogram | base and perpendicular height | b × h | Not base × slanted side. |
| Ellipse | the two semi-axes | πab | Semi-axes are half the full widths. |
| Rhombus | both diagonals | (d₁ × d₂) ÷ 2 | The same formula works for a kite, so use this option for kites too. |
| Regular polygon | number of sides, and the side, apothem or circumradius | ns² ÷ (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
- Choose a shape.
- Type the lengths the shape needs. Use the same unit for all of them.
- Read the area. It is in square units of the unit you used.
- Read the steps for the formula and the perimeter, if shown.
- 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 know | Area formula | Hexagon example |
|---|---|---|
| Side s | n × 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):
| Polygon | Sides | Interior angle | Area with side 1 |
|---|---|---|---|
| Equilateral triangle | 3 | 60° | 0.4330 |
| Square | 4 | 90° | 1 |
| Pentagon | 5 | 108° | 1.7205 |
| Hexagon | 6 | 120° | 2.5981 |
| Octagon | 8 | 135° | 4.8284 |
| Decagon | 10 | 144° | 7.6942 |
| Dodecagon | 12 | 150° | 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².
| From | To | Multiply by |
|---|---|---|
| square feet | square inches | 144 |
| square yards | square feet | 9 |
| square meters | square feet | about 10.764 |
| square feet | square meters | 0.0929 |
| square meters | square centimeters | 10,000 |
| acres | square feet | 43,560 |
| hectares | acres | about 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.
- Rectangle option for the main part: 14 × 12 = 168 ft².
- Rectangle option for the alcove: 6 × 5 = 30 ft².
- Floor area: 168 + 30 = 198 ft².
- 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².
- 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:
| Shape | Size | Area |
|---|---|---|
| Long rectangle | 10 × 2 | 20 |
| Equilateral triangle | side 8 | about 27.71 |
| Square | 6 × 6 | 36 |
| Regular hexagon | side 4 | about 41.57 |
| Circle | radius about 3.82 | about 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.