Select a shape and enter dimensions to calculate area and perimeter.
Area Formulas for Every Shape
Area is the space inside a flat shape, measured in square units. For a rectangle it is length × width, so a 12 ft by 15 ft room is 180 square feet, and for a circle it is π × r². Pick a shape above and enter its dimensions to get the area, the perimeter where one applies, and the result in other units.
Area measures the 2D space inside a shape, expressed in square units (cm², m², ft², etc.). Every shape has its own formula derived from geometric properties. This calculator supports 8 of the most common shapes used in everyday measurement, construction, and design.
Rectangle: A = l × w
Circle: A = π × r²
Triangle: A = ½ × b × h
Trapezoid: A = ½ × (a + b) × h
Parallelogram: A = b × h
Ellipse: A = π × a × b
Rhombus: A = ½ × d&sub1; × d&sub2;
Area vs Perimeter
Unit Conversion
Real-World Uses
Heron's Formula for Triangles
Area Formulas with Worked Examples
Every example below was run through the same formulas the calculator uses. Height always means the perpendicular height, not a slanted side.
| Shape | Formula | Example | Area |
|---|---|---|---|
| Square | s² | side 12 ft | 144 ft² |
| Rectangle | l × w | 12 ft by 15 ft | 180 ft² |
| Circle | π × r² | radius 5 in | 78.54 in² |
| Semicircle | ½ × π × r² | radius 10 ft | 157.08 ft² |
| Triangle | ½ × b × h | base 10 cm, height 6 cm | 30 cm² |
| Trapezoid | ½ × (a + b) × h | parallel sides 8 and 12 m, height 5 m | 50 m² |
| Parallelogram | b × h | base 10 in, height 6 in | 60 in² |
| Ellipse | π × a × b | semi-axes 6 and 4 cm | 75.40 cm² |
| Rhombus | ½ × d₁ × d₂ | diagonals 10 and 8 ft | 40 ft² |
An ellipse has no exact perimeter formula in elementary terms, so the calculator uses Ramanujan's second approximation. For semi-axes 6 and 4 it gives 31.7309, which matches the exact value to more than six decimal places.
Square Units: Conversion Table
An area factor is the length factor squared. One yard is 3 feet, so one square yard is 3 × 3 = 9 square feet, not 3.
| Unit | Equals | Metric or US equivalent |
|---|---|---|
| 1 square inch | 1/144 ft² | 6.4516 cm² (exact) |
| 1 square foot | 144 in² | 0.0929 m² |
| 1 square yard | 9 ft² | 0.8361 m² |
| 1 square meter | 10,000 cm² | 10.7639 ft² or 1.1960 yd² |
| 1 acre | 43,560 ft² | 4,046.86 m² |
| 1 hectare | 10,000 m² | 2.4711 acres |
| 1 square mile | 640 acres | 2.59 km² |
Carpet, sod and some flooring are sold by the square yard, so divide square feet by 9. For other unit pairs, the area converter handles the arithmetic.
Three Worked Examples
An L-shaped room
Split the room into two rectangles: 12 ft × 15 ft = 180 ft² and 6 ft × 8 ft = 48 ft². Total area is 228 ft². With 10% extra for cuts and waste you need 250.8 ft², so buy at least 251 ft² of flooring, rounded up to whole boxes.
A round patio
The patio is 12 ft across, so the radius is 6 ft. Area = π × 6² = 113.10 ft². Using the diameter by mistake (π × 12²) gives 452.39 ft², four times too much.
A gable end wall
The triangle above the eaves has a base of 24 ft and a height of 6 ft: ½ × 24 × 6 = 72 ft². Add the rectangular wall below it to get the full siding area, then subtract windows and doors.
Common Mistakes
- Radius and diameter mixed up. The circle formula needs the radius. Halve the diameter first.
- Slanted side used as height. Triangles, parallelograms and trapezoids need the perpendicular height. A slanted side always gives too large an answer.
- Mixed units. A room 8 ft 6 in wide is 8.5 ft, not 8.6 ft. Convert every dimension to one unit before multiplying.
- Linear factor used for area. 1 m² is 10,000 cm², not 100 cm².
- No allowance for waste. Tile, flooring and sod need extra for cuts, usually 10% for straight layouts and 15% for diagonal ones.
Method and sources. Formulas are standard Euclidean geometry: A = s², l × w, πr², ½bh, ½(a + b)h, bh, πab and ½d₁d₂. Ellipse perimeter uses Ramanujan’s second approximation. Unit factors follow the exact definitions in NIST Special Publication 811 (1 in = 2.54 cm, 1 ft = 0.3048 m, 1 acre = 43,560 ft²). Every figure on this page was computed with the same formulas as the calculator.
Area Questions
How do you calculate the area of a rectangle?
Area = length × width. A room 5 m long and 4 m wide has area 5 × 4 = 20 m². For a square, area = side². Always use the same units for both dimensions. The result is always in square units: feet gives ft², meters gives m². For rooms with irregular shapes, divide into rectangles, calculate each, then add.
How do you calculate the area of a circle?
Area = π × r², where r is the radius (half the diameter) and π ≈ 3.14159. Example: circle with radius 7 cm. Area = π × 49 ≈ 153.94 cm². The circumference (perimeter) is 2πr. If you know the diameter: radius = diameter / 2. If you know the circumference: radius = C / (2π).
How do you find the area of a triangle?
Most common: Area = ½ × base × height, where height is the perpendicular distance from base to opposite vertex. Example: base 10 cm, height 6 cm = ½ × 10 × 6 = 30 cm². If you only know three sides, use Heron's Formula: s = (a+b+c)/2, Area = √(s(s−a)(s−b)(s−c)). For a right triangle, the two legs serve directly as base and height.
What is the area formula for a trapezoid?
Area = ½ × (a + b) × h, where a and b are the parallel sides and h is the perpendicular height between them. Example: parallel sides 8 cm and 12 cm, height 5 cm. Area = ½ × (8 + 12) × 5 = 50 cm². This works because a trapezoid is the average width of the two parallel sides multiplied by the height. The formula derives from decomposing the trapezoid into a parallelogram and a triangle.
How do I convert area units correctly?
Square the linear conversion factor. Since 1 m = 100 cm, then 1 m² = 100² = 10,000 cm². Key conversions: 1 ft² = 144 in². 1 yd² = 9 ft². 1 m² = 10.764 ft². 1 acre = 43,560 ft² = 4,047 m². 1 hectare = 10,000 m² = 2.471 acres. A common error is using the linear factor (1 m = 100 cm) instead of squaring it for area conversions.
How much flooring do I need for a room?
Calculate room area (length × width) then add 10 to 15% for waste from cuts, pattern matching, and future repairs. For diagonal installation, add 15%. For irregular rooms, divide into rectangles, calculate each, then sum. Example: a 12 × 15 ft room = 180 ft². Adding 10% = 198 ft², so order 200 ft². Always buy slightly more: matching batches later can be difficult if the product is discontinued.
What is the area of a parallelogram?
Area = base × height, where height is the perpendicular distance between parallel sides (NOT the slant side length). Example: base 10 cm, perpendicular height 6 cm. Area = 60 cm². A parallelogram can be rearranged into a rectangle of the same base and height, which is why the formula is identical. Using the slant side instead of perpendicular height is a common error that gives an inflated result.
How do you calculate the area of an ellipse?
Area = π × a × b, where a is the semi-major axis (half the longer diameter) and b is the semi-minor axis (half the shorter diameter). Example: semi-axes 6 cm and 4 cm. Area = π × 6 × 4 ≈ 75.40 cm². When a = b = r, this becomes πr² (a circle). The ellipse perimeter has no simple exact formula and requires an approximation (Ramanujan's formula is commonly used).
What is the difference between area and surface area?
Area refers to the 2D space of a flat shape. Surface area is the total area of all faces of a 3D object. A rectangle has area = length × width. A rectangular box has surface area = sum of all six face areas = 2(lw + lh + wh). This calculator computes 2D area for flat shapes. For 3D surfaces like spheres (4πr²), cylinders, or cubes, use a dedicated surface area or volume calculator.
How do I calculate area for an irregular shape?
Four approaches: (1) Decomposition: divide into known shapes (rectangles, triangles), calculate each area, add them. (2) Grid counting: draw on graph paper, count full and partial squares. (3) Shoelace Formula: if you know all vertex coordinates (x,y), Area = ½|Σ(xᵢyᵢ₊₁ − xᵢ₊₁yᵢ)|. (4) Digital tools: GIS software, CAD programs, or Google Maps can measure irregular areas from satellite images directly.
What is the area of a semicircle?
A semicircle is half a circle, so A = π × r² ÷ 2. With a radius of 10 ft the area is 157.08 ft². Its perimeter is the curved half plus the straight diameter: π × r + 2r, which is 51.42 ft for the same shape. Use the circle option above and halve the area.
How do I convert square feet to square yards?
Divide square feet by 9, because a square yard is 3 ft by 3 ft. A 12 ft by 15 ft room is 180 ft², which is 20 square yards. Carpet is often priced per square yard, so add about 10% for seams and waste: 198 ft², or 22 square yards.