Area Calculator: Area & Perimeter of 9 Shapes (Exact)
Is one 18-inch pizza more food than two 12-inch pizzas? It is. The 18-inch pizza has a radius of 9 inches, so its area is π × 9² = 81π ≈ 254.47 square inches. Each 12-inch pizza has a radius of 6, so the pair covers 2 × 36π = 72π ≈ 226.19 square inches. The single big pizza gives you 12.5% more.
Pick a shape below and type its measurements. You get the area in exact form (16π, 6√6) and as a decimal, the perimeter or circumference, and every step. Pick a unit to also see square feet, square meters, acres and hectares.
Use the same unit for every length. You can type 7, 2.5, 3/4 or 1,200. Pick a unit to see square feet, square meters, acres and hectares.
One Pizza or Two? Why Area Grows With the Square
The pizza result can look wrong at first, because the diameter only went from 12 to 18, which is 1.5 times bigger. But area depends on length times length, so the area grows by 1.5 × 1.5 = 2.25 times. One 18-inch pizza (81π) holds 2.25 of the 12-inch ones (36π each), not 1.5.
The same rule works for every flat shape:
- Double every length, and the area becomes 2² = 4 times as big.
- Triple every length, and the area becomes 3² = 9 times as big.
- Halve every length, and the area drops to a quarter.
The perimeter doesn’t follow this rule. Double the sides and the perimeter only doubles. That is why a garden twice as long and twice as wide needs twice the fence but four times the soil.
Area is always counted in square units: square inches (in²), square feet (ft²), square meters (m²). One square foot is a square 1 foot on each side. Saying a room is “180 square feet” means 180 of those squares would tile its floor.
What to Measure for Each Shape
Each shape needs its own measurements. This table shows what to type and the formulas the calculator uses:
| Shape | What you measure | Area | Perimeter |
|---|---|---|---|
| Rectangle | length l, width w | l × w | 2(l + w) |
| Square | side s | s² | 4s |
| Triangle | base b, height h | ½ × b × h | needs all three sides |
| Triangle (3 sides) | sides a, b, c | Heron’s formula | a + b + c |
| Circle | radius r (or diameter) | πr² | 2πr |
| Trapezoid | parallel sides a and b, height h | ½(a + b) × h | a + b + two legs |
| Parallelogram | base b, height h, slanted side | b × h | 2(b + side) |
| Ellipse | semi-axes a and b | πab | approximation only |
| Sector | radius r, angle θ in degrees | (θ ÷ 360) × πr² | 2r + arc |
“Height” in this table always means the straight-up distance at a right angle to the base, never a slanted side. That one point decides whether triangle, trapezoid and parallelogram answers come out right.
Rectangles and Squares: Rooms, Floors and Walls
A bedroom 15 feet long and 12 feet wide has an area of 15 × 12 = 180 ft². The calculator also gives:
- the perimeter, 2(15 + 12) = 54 feet, which is how much baseboard runs around the room before you take out the doorway
- the diagonal, √(15² + 12²) = √369 = 3√41 ≈ 19.21 feet
- the same floor in square meters, about 16.72 m²
Carpet in the US is sometimes priced by the square yard. A square yard is 3 feet by 3 feet, which is 9 ft², so 180 ft² is 180 ÷ 9 = 20 square yards. Dividing by 3 instead of 9 is a classic slip: it converts feet to yards, but not square feet to square yards.
For a square, the side squared does the job. An 8-foot square patio covers 8² = 64 ft², and its diagonal is 8√2 ≈ 11.31 feet.
The calculator also points out a fact about rectangles. Out of all rectangles with the same perimeter, the square has the most area. The 15 × 12 room has a 54-foot perimeter. A square with that perimeter has 13.5-foot sides and covers 13.5² = 182.25 ft². A circle with a 54-foot circumference does better still: 54² ÷ 4π ≈ 232.05 ft².
Triangles: Base, Height, and Heron’s Formula
The area of a triangle is half the base times the height. A triangle with a base of 10 and a height of 6 covers ½ × 10 × 6 = 30 square units. It’s half of the 10 × 6 rectangle drawn around it.
The height has to meet the base at a right angle. For an obtuse triangle (one angle over 90°), that height can fall outside the triangle. You extend the base line and measure from there to the top corner. Using a slanted side in place of the height gives an area that is too big.
When you know all three sides but no height, use Heron’s formula:
- Find s, half the perimeter: s = (a + b + c) ÷ 2.
- Area = √(s(s − a)(s − b)(s − c)).
For sides 13, 14 and 15: s = 21, and the area is √(21 × 8 × 7 × 6) = √7,056 = 84.
For sides 5, 6 and 7: s = 9, and the area is √(9 × 4 × 3 × 2) = √216 = 6√6 ≈ 14.6969. The calculator keeps the exact radical, so you can copy 6√6 straight into homework.
The three-sides option does more checks:
- It names the triangle type. 13-14-15 is acute (every angle under 90°), and 3-4-5 is right, with exactly 90°.
- It lists all three angles. For 5-6-7 they are about 44.42°, 57.12° and 78.46°.
- It refuses sides that can’t close up. With 2, 3 and 7, the two short sides add to 5, which doesn’t reach 7.
For right triangles, the Pythagorean Theorem Calculator finds a missing side first.
Circles: Radius, Diameter and Circumference
A circle’s area is πr², where r is the radius, the distance from the center to the edge. A circle with a radius of 4 feet covers π × 16 = 16π ≈ 50.27 ft². Its circumference is 2πr = 8π ≈ 25.13 feet.
The usual mistake is putting the diameter into πr². A 12-inch pizza is measured across, so its radius is 6, and its area is 36π ≈ 113.1 in². Using 12 as the radius gives 144π, four times too much. The calculator has an “I know the diameter” switch that halves the number for you and shows that step.
If you can only measure around the circle (a tree trunk, a round table, a pond’s edge), you can still get the area. Since C = 2πr, the area is C² ÷ 4π. A pond with a 50-foot edge covers 2,500 ÷ 4π ≈ 198.94 ft².
Exact answers keep π as a symbol, such as 16π. Your teacher may want that form. A decimal like 50.27 rounds π, so your answer changes slightly with the value of π you use: 3.14 gives 50.24, while the full value gives 50.27.
Trapezoids, Parallelograms and Rhombuses
Trapezoid. A trapezoid has two parallel sides, a and b. Its area is the average of those two sides times the height: ½(a + b) × h. With parallel sides of 6 and 10 and a height of 4, the area is ½ × 16 × 4 = 32.
For the perimeter, the calculator assumes the two slanted sides are equal (an isosceles trapezoid). Each leg reaches across half of the 4-unit difference, so it is √(4² + 2²) = √20 = 2√5. That makes the perimeter 16 + 4√5 ≈ 24.94. For a lopsided trapezoid, measure the four sides and add them yourself. The area formula still holds.
Parallelogram. Here the area is base × height, with the height measured straight across between the two bases. For a base of 10, a height of 6 and a slanted side of 8, the area is 10 × 6 = 60. Using the slanted side gives 80, which is too big. The calculator also works out the angles, about 48.59° and 131.41°. It stops you if the slanted side is shorter than the height, because no parallelogram can be built that way.
Rhombus and kite. A rhombus is a parallelogram with four equal sides. If you know its diagonals, the area is ½ × d₁ × d₂. Don’t skip the ½: the diagonals of a rhombus split it into four right triangles, which fill half of the rectangle around it. With diagonals of 10 and 24, the area is ½ × 10 × 24 = 120, and each side is √(5² + 12²) = 13. A kite (two pairs of equal sides next to each other) uses the same diagonal formula.
To check a rhombus in the calculator, use the parallelogram option. Type 13 as the base, 120/13 as the height and 13 as the slanted side. You get 120.
Ellipses and Sectors
Ellipse. An oval has two semi-axes: a is half the full width, and b is half the full height. Its area is πab. An oval table 10 feet long and 6 feet wide has a = 5 and b = 3, so it covers 15π ≈ 47.12 ft². Typing 10 and 6 would give four times the real area. When a and b are equal, the ellipse is a circle and πab becomes πr².
An ellipse’s perimeter has no exact formula in simple terms. The calculator uses Ramanujan’s approximation, π[3(a + b) − √((3a + b)(a + 3b))], which gives about 25.53 feet for the table.
Sector. A sector is a slice of a circle, like a slice of pizza. It’s the fraction θ/360 of the whole circle:
- area = (θ ÷ 360) × πr²
- arc length = (θ ÷ 360) × 2πr
- perimeter = arc + two radii
For a radius of 6 and a 60° angle, the slice is 1/6 of the circle: area 6π ≈ 18.85, arc 2π ≈ 6.28, and perimeter 12 + 2π ≈ 18.28. The calculator works in degrees. If your angle is in radians, the same area is ½r²θ. For example, 60° is π/3 radians, so ½ × 36 × π/3 = 6π again.
Square Feet, Square Meters, Acres and Hectares
Converting area isn’t the same as converting length. The length factor gets squared:
| Unit | Equals |
|---|---|
| 1 ft² | 144 in² (12 × 12) |
| 1 yd² | 9 ft² (3 × 3) |
| 1 ft² | 0.09290304 m² exactly (0.3048 × 0.3048) |
| 1 m² | about 10.7639 ft² |
| 1 acre | 43,560 ft² |
| 1 hectare | 10,000 m², about 2.4711 acres |
The acre and hectare figures come from NIST’s tables of units of measurement. A meter is about 3.28 feet, but a square meter is about 10.76 square feet, not 3.28. Using the length factor for area is an easy mistake to make.
An acre is easier to picture as a square about 208.71 feet on each side, since 208.71² ≈ 43,560. A hectare is a square 100 meters on a side. With a unit picked, the calculator shows every result in square feet, square meters, acres and hectares. For example, a 100 m × 100 m field shows 1 ha, 2.4711 ac and about 107,639 ft².
The calculator converts lengths too. Type your sides in inches, centimeters, yards, kilometers or miles and pick that unit. Keep every side in the same unit. Mixing a length in feet with a width in inches gives a meaningless answer.
Odd-Shaped Rooms and Yards: Split, Add, Subtract
Real rooms and yards aren’t always one clean shape. Break them into pieces the calculator knows, then add or take away.
An L-shaped room. Draw the room as a 20 × 12 rectangle with an 8 × 5 corner missing. The full rectangle is 240 ft², the missing corner is 40 ft², so the floor is 240 − 40 = 200 ft². You could also split the L into two rectangles and add them. Both methods give the same answer, and doing both is a good check.
A gable wall. The wall is 12 feet wide and 8 feet up to the roof line, with a triangle above it 4 feet high. It has one 3 × 4 window.
- rectangle: 12 × 8 = 96 ft²
- triangle: ½ × 12 × 4 = 24 ft²
- window: 3 × 4 = 12 ft²
The wall to paint is 96 + 24 − 12 = 108 ft².
A lawn with a round bed. A 40 × 25 yard is 1,000 ft². Take out a round flower bed with a 3-foot radius (9π ≈ 28.27 ft²). That leaves about 971.73 ft² of grass.
Run each piece through the calculator, write the results down, and do the adding last so rounding doesn’t build up.
Area or Perimeter? Picking the One the Job Needs
Area and perimeter answer different questions, and mixing them up is costly at the store.
- Area is the surface inside. Use it for flooring, carpet, tile, paint, sod, roofing and fabric.
- Perimeter is the distance around. Use it for fencing, baseboard, trim, edging, crown molding and the border of a quilt.
The 15 × 12 bedroom needs 180 ft² of flooring but only about 54 feet of baseboard, less the doorway. A 40 × 25 yard needs 1,000 ft² of sod, but 130 feet of fence.
Shapes with the same area can have very different perimeters. A 10 × 10 square and a 25 × 4 rectangle both cover 100 square units. The square’s perimeter is 40, while the rectangle’s is 58. Long, thin shapes need more fence for the same ground.
For anything with depth, like how much concrete fills a slab or how much water a pool holds, multiply the area by the depth. The Volume Calculator does that for boxes, cylinders and more.
