How to use
- Choose a shape and a length unit.
- Enter the measurements, and the area and perimeter appear right away. Area is shown in the square of your unit (for example ft²), with conversions to square meters or square feet.
- Under the result you’ll see the formula used, plus extras such as the diagonal, diameter, arc length or interior angle.
Area and perimeter formulas
| Shape | Area | Perimeter |
|---|---|---|
| Rectangle | width × height | 2 × (width + height) |
| Triangle (base & height) | base × height ÷ 2 | Needs all three sides |
| Triangle (three sides) | √(s(s−a)(s−b)(s−c)), s = (a+b+c)÷2 | a + b + c |
| Circle | πr² | 2πr |
| Trapezoid | (top + bottom) × height ÷ 2 | Sum of all four sides |
| Parallelogram | base × height | 2 × (base + side) |
| Ellipse | π × a × b | Ramanujan: π(a+b)(1 + 3h÷(10+√(4−3h))) |
| Sector | πr² × θ ÷ 360° | 2r + arc (arc = 2πr × θ ÷ 360°) |
| Regular n-gon | n × s² ÷ (4 tan(180°÷n)) | n × s |
There’s no simple exact formula for the perimeter of an ellipse, so the tool uses Ramanujan’s second approximation (with h = ((a−b)÷(a+b))²). For everyday shapes, the error is tiny.
Examples
- Triangle with sides of 3, 4 and 5 ft: s = 6, area = √(6×3×2×1) = 6 ft². It’s a right triangle, so this matches 3 × 4 ÷ 2.
- Circle with a radius of 5 ft: area = π × 25 ≈ 78.54 ft², circumference ≈ 31.42 ft.
- Trapezoid with bases of 4 and 8 ft and a height of 3 ft: (4 + 8) × 3 ÷ 2 = 18 ft².
- Regular hexagon with 2 ft sides: 6 × 4 ÷ (4 × tan 30°) ≈ 10.39 ft².
Things to watch
- Height means perpendicular height. For triangles, parallelograms and trapezoids, using a slanted side as the height gives you too large an area.
- For three sides to form a triangle, the longest side must be shorter than the other two added together.
- Area units are squared length units: 1 ft² = 144 in² and 1 m² = 10,000 cm². The conversions under the result help when you’re mixing units.
FAQ
How do I find the square footage of a room?
Measure the length and width in feet and use the rectangle. For an L-shaped room, split the floor into rectangles and add up their areas. To convert between area units, use the area converter.
Can I estimate materials from the area?
Yes. The tile calculator and paint calculator turn an area into a tile count or gallons of paint, including waste.