Worked example: Area Calculator
Rectangle (legacy default). This fixed reference example shows one complete scenario; the interactive results above use your current inputs.
View the example inputs
- Shape
- Rectangle
- Length (l)
- 10 units
- Unit for first length
- Unspecified
- Width (w)
- 5 units
- Unit for second length
- Unspecified
| Calculated quantity | Example result |
|---|---|
| Area | 50 square units |
| Area formula | A = l × w |
| Calculation method | Multiply the perpendicular side lengths. |
Area calculator: shapes, measurements and square units
How do I calculate the area of a shape?
Area measures the two-dimensional space enclosed by a boundary. Choose the shape that matches that boundary, then enter the dimensions identified in its diagram. This area calculator supports rectangles, triangles, trapezoids, circles, circular sectors, ellipses and parallelograms. The diagram is a measurement guide, not a scale drawing of your inputs.
A rectangle 10 units long and 5 units wide has an area of 50 square units. That answer becomes 50 square meters only if those lengths actually mean meters. Perimeter measures the distance around the edge; volume includes a third dimension. A floor area cannot by itself establish a room’s perimeter or a container’s capacity.
How many square feet or square meters is my room?
For a rectangle, multiply length l by width w: A=l×w. Both measurements follow adjacent perpendicular sides. A 12 ft by 10 ft rectangular room has 120 ft², equivalent to 11.1483648 m². A square is the same calculation with equal sides.
Measure the actual boundary you want to cover. An L-shaped room can be split into two non-overlapping rectangles, or treated as an outer rectangle minus a rectangular recess. For an 8 m by 6 m outer boundary with a 3 m by 2 m corner removed, net area is 48−6=42 m². Do not add the removed corner or count an overlap twice.
This provides a geometric starting point for flooring, wall coverage or garden planning. Buying material also depends on cuts, pack sizes, openings and the product’s stated allowance. Add those separately; the area calculator does not automatically include waste.
How do I find triangle area from a base and height or three sides?
When base b and its perpendicular height h are known, use A=b×h/2. Height runs at a right angle to the base or its extension. A sloping triangle side is generally not that height. A triangle with a 10 m base and a 5 m perpendicular height has an area of 25 m².
If you know only the three side lengths a, b and c, select Three sides (Heron). Let s=(a+b+c)/2; then A=√[s(s−a)(s−b)(s−c)]. A 3–4–5 triangle has s=6 and area √(6×3×2×1)=6 square units. No right-angle assumption is needed for this method.
The sides must be positive and each must be shorter than the sum of the other two. Lengths 1, 2 and 3 form a straight boundary rather than a nondegenerate triangle and are rejected. Nearly flat triangles can be sensitive to measurement rounding; the computation uses rearranged Heron factors to reduce cancellation, but it cannot restore information absent from the measurements.
Which dimensions do a trapezoid and parallelogram need?
For a trapezoid, b₁ and b₂ are the two parallel bases, and h is the perpendicular distance between them. Average the bases and multiply by height: A=(b₁+b₂)×h/2. Bases of 10 m and 6 m with a 5 m height give (10+6)×5/2=40 m². The second input is height; the third is the second parallel base.
For a parallelogram, multiply a base by its perpendicular height: A=b×h. A 12 m base and 5 m height give 60 m². The slanted side alone does not supply this height. Sliding the top edge sideways while retaining the same base and perpendicular height leaves the area unchanged.
How do I calculate circle area when I know the diameter?
The circle formula is A=πr², where radius r runs from the center to the boundary. If your measurement is a full diameter d, divide it by two before entering the radius: r=d/2. A circular bed 6 m across has radius 3 m and area 9π, approximately 28.2743 m².
Entering 6 as the radius instead would produce four times that area. Area scales with the square of radius: doubling radius multiplies area by four. For a ring-shaped region, calculate the outer disk and subtract the inner disk, using the same squared unit; the single-circle mode does not automatically subtract a hole.
What is the area of a circular sector in degrees or radians?
A circular sector is the wedge bounded by two radii and the arc between them. It is the same fraction of a disk as its central angle is of a full turn. In degrees, A=(θ/360)×πr². In radians, A=θr²/2. A 60° sector with radius 6 m has area 6π, approximately 18.8496 m².
A full turn is 360° or 2π radians. The calculator accepts the range from zero to one full turn; zero gives zero area and a full turn gives the complete disk. Changing the angle selector converts the entered angle, so 60° becomes approximately 1.0471975512 radians rather than being reinterpreted as 60 radians.
A circular segment is different: it is bounded by an arc and a straight chord. Its area needs the corresponding triangle to be added or subtracted as appropriate. Do not use a sector answer directly for an arched segment or assume that an arc length is a central angle.
How do I calculate the area of an oval or ellipse?
For an ellipse, A=πab, where a and b are the semi-axes along the two perpendicular axes through its center. Each semi-axis is half of the corresponding full width or height. An elliptical outline 8 m wide and 4 m high has semi-axes 4 m and 2 m, giving 8π, approximately 25.1327 m².
Either semi-axis may be entered first because multiplication is symmetric. The schematic places a horizontally and b vertically for labeling, rather than enforcing which is larger. Not every oval outline is a mathematical ellipse; an irregular garden bed or racetrack with straight sides requires a different decomposition.
How do I convert square feet to square meters, acres or hectares?
A length conversion must be squared for area. Because 1 ft is exactly 0.3048 m under the international-foot convention, 1 ft² equals 0.09290304 m². Similarly, 1 m² is 10000 cm², not 100 cm². The live conversion table uses the calculated area and supplies square units, acres and hectares when physical units are selected.
One hectare is exactly 10000 m². One acre using international feet is 43560 ft², or 4046.8564224 m². A rectangular plot 220 ft by 99 ft has 21780 ft², which is 0.5 acre. Historical survey-foot measurements use a different convention and are not inferred by this calculator.
The first physical-unit selection assigns that unit to every unspecified length field without changing the numbers. Later unit changes convert the associated measurement. You can then enter mixed units, such as 2 m and 350 cm for a rectangle: the result is 7 m². Every active length must have a physical unit, or all must remain unspecified; mixing an unknown unit with a physical one would be ambiguous.
Results are reported in the first dimension’s squared unit. The dimension table shows equivalent lengths in that common unit; the working table substitutes normalized meter values for a physical calculation. Displayed numbers are rounded, while CSV exports retain the stored floating-point values. This is numerical computation, not exact symbolic arithmetic.
Why is an area calculator useful for flooring, land and geometry?
An area calculator connects measured dimensions with a quantity that can be compared or priced. For an ideal 120 ft² rectangular floor and a quoted $4 per square foot, area times that rate is $480 before cuts, taxes, delivery and other charges. Keep the price unit aligned with the area unit; a per-square-meter price cannot be multiplied directly by a square-foot result.
For a composite outline, calculate compatible pieces in one area unit, add non-overlapping regions and subtract openings. Compare alternative layouts with the same measurements before drawing a conclusion. The diagrams and formula table can also help students identify the relevant variables rather than choose a formula by appearance alone.
Land area on a horizontal plan and the surface of sloping ground are different measurements. An ideal rectangle or triangle does not establish a surveyed boundary, legal parcel area or a roof’s actual sloped surface. Measurements, boundary data and the intended use determine whether this plane-shape model is suitable.
Area formulas and the measurements they need
All lengths in each formula must use a common unit. Results have the square of that unit; θ is dimensionless when expressed in radians.
| Shape or method | Area formula | Variables and measurement check |
|---|---|---|
| Rectangle or square | A=l×w | l and w are adjacent perpendicular side lengths; for a square they are equal. |
| Triangle: base and height | A=b×h/2 | h is perpendicular to b or its extension, not generally a sloping side. |
| Triangle: three sides | s=(a+b+c)/2; A=√[s(s−a)(s−b)(s−c)] | a, b and c must be positive and satisfy the strict triangle inequality. |
| Trapezoid | A=(b₁+b₂)×h/2 | b₁ and b₂ are parallel bases; h is the distance perpendicular to both. |
| Circle | A=πr² | r is radius, half the diameter. |
| Circular sector | A=(θ/360)×πr² in degrees; A=θr²/2 in radians | r is radius; θ is the central angle from 0 to one full turn. |
| Ellipse | A=πab | a and b are semi-axes, half the full perpendicular axis lengths. |
| Parallelogram | A=b×h | b is a base; h is its perpendicular height. |
| Rectangle or square | A=l×w | l and w are adjacent perpendicular side lengths; for a square they are equal. |
| Triangle: base and height | A=b×h/2 | h is perpendicular to b or its extension, not generally a sloping side. |
| Triangle: three sides | s=(a+b+c)/2; A=√[s(s−a)(s−b)(s−c)] | a, b and c must be positive and satisfy the strict triangle inequality. |
| Trapezoid | A=(b₁+b₂)×h/2 | b₁ and b₂ are parallel bases; h is the distance perpendicular to both. |
| Circle | A=πr² | r is radius, half the diameter. |
| Circular sector | A=(θ/360)×πr² in degrees; A=θr²/2 in radians | r is radius; θ is the central angle from 0 to one full turn. |
| Ellipse | A=πab | a and b are semi-axes, half the full perpendicular axis lengths. |
| Parallelogram | A=b×h | b is a base; h is its perpendicular height. |
Common area units in square meters
Definitions use international inches, feet, yards and miles. Decimal displays and binary floating-point storage can round independently. Source: NIST Guide to SI, conversion factors.
| One area unit | Square meters |
|---|---|
| mm² | 0.000001 |
| cm² | 0.0001 |
| m² | 1 |
| in² | 0.00064516 |
| ft² | 0.09290304 |
| yd² | 0.83612736 |
| acre (international foot) | 4,046.8564224 |
| hectare | 10,000 |
| km² | 1,000,000 |
| mi² | 2,589,988.110336 |
| mm² | 0.000001 |
| cm² | 0.0001 |
| m² | 1 |
| in² | 0.00064516 |
| ft² | 0.09290304 |
| yd² | 0.83612736 |
| acre (international foot) | 4,046.8564224 |
| hectare | 10,000 |
| km² | 1,000,000 |
| mi² | 2,589,988.110336 |
Formula and calculation method
Rectangle: A=l*w. Triangle from base/height: A=b*h/2. Trapezoid: A=(b1+b2)*h/2. Parallelogram: A=b*h. Heights are perpendicular distances, not slanted sides.
Triangle from sides: s=(a+b+c)/2; A=sqrt(s*(s-a)*(s-b)*(s-c)). Computation uses rearranged factors with square roots to reduce cancellation and intermediate overflow. A valid three-side triangle has positive sides and a strict triangle inequality.
Circle: A=π*r². Ellipse: A=π*a*b, with both inputs semi-axes. Sector: A=θ*r²/2 for θ in radians; equivalently A=(θ/360)*π*r² for degrees.
Each physical length is converted before multiplication. Output uses the first dimension’s squared unit. Unspecified units remain unspecified; acres or hectares are not inferred from unitless inputs.
Length factors use international inches, feet, yards and miles. Acre means 43560 international square feet; hectare means 10000 square meters. Historical survey-foot land units are not inferred.
Results use floating-point arithmetic; displayed values round independently of numeric CSV. Diagrams identify dimensions and are schematic, not a boundary survey or scale drawing.
Scope and Limitations
- Lengths are nonnegative and at most 10^140 meters or unspecified units. Three-side triangles must be nondegenerate. Nonfinite results, detected conversion underflow and nonrepresentable positive areas are rejected.
- This calculates one ideal plane shape, not a surveyed irregular plot, slope-adjusted land surface, coating allowance, tile layout, volume or solid surface area. Compose non-overlapping regions separately and subtract openings without double counting.
Reference Sources
- NIST: International-foot and survey-foot area conversions
- OpenStax: Area of plane shapes and Heron’s formula
- OpenStax: Radians, arc length and sector area
- NIST: SI conversion factors
Frequently asked questions
Which shapes does the area calculator support?
Rectangle, triangle, trapezoid, circle, circular sector, ellipse and parallelogram. A triangle can use base and perpendicular height or three valid side lengths.
Do I enter radius or diameter for a circle?
Enter radius, half the full diameter. Entering a diameter as the radius makes the calculated circle area four times too large.
Can I calculate triangle area without knowing the height?
Yes. Select Three sides (Heron) and enter three positive lengths satisfying the strict triangle inequality. The calculator then uses Heron’s formula rather than assuming a right triangle.
Is a trapezoid’s slanted side its height?
Usually not. Height is the perpendicular distance between the two parallel bases. Use that distance in the height field.
Does the ellipse calculator need full axis lengths?
No. It needs two semi-axes, each half of its corresponding full axis length. Either semi-axis may be entered first.
Can I mix feet, inches, meters and centimeters?
Yes, when every active length has a physical unit. Lengths are converted before the formula is applied. The first physical-unit selection assigns a shared unit to unspecified lengths; subsequent unit changes convert the measurement.
How many square meters are in one acre?
An acre based on the international foot is exactly 4046.8564224 square meters, equal to 43560 square feet. A hectare is exactly 10000 square meters.
Can this calculator measure an irregular room or plot?
It calculates one ideal plane shape at a time. Split a compatible outline into non-overlapping pieces, calculate each in the same area unit, then add them and subtract openings. It does not infer a surveyed boundary, slope adjustment or material allowance.