Geometry

Area Calculator

This area calculator finds the area of 15 shapes, from rectangles, triangles and circles to trapezoids and irregular polygons entered as corner points.

Try

Lengths accept decimals, fractions (3/4), mixed numbers (5 1/2) and, in feet or inches, feet and inches such as 10' 6".

Result

Area of the rectangle: 120 ft²

Area of the rectangle

120 ft²

A = l × w

Formula
A=l×wA = l \times w
Perimeter2(l + w)
44 ft
Diagonal√(l² + w²)
15.62049935 ft

The rectangle has an area of 120 ft² and a perimeter of 44 ft. That is 11.1483648 m².

The rectangle, drawn to scale
l = 12w = 10
The area in other units
UnitArea
Square millimeters (mm²)11,148,364.8
Square centimeters (cm²)111,483.648
Square meters (m²)11.1483648
Hectares (ha)0.00111483648
Square kilometers (km²)0.0000111483648
Square inches (in²)17,280
Square feet (ft²)120
Square yards (yd²)13.33333333
Acres (ac)0.002754820937
Square miles (mi²)0.000004304407713
Step-by-step working (3 steps)
  1. Multiply the length by the width

    A=l×w=12×10=120A = l \times w = 12 \times 10 = 120
  2. Perimeter

    P=2(l+w)=2(12+10)=44P = 2(l + w) = 2(12 + 10) = 44
  3. Convert to square meters

    1 ft² = 0.09290304 m², because the length factor is squared. So 120 ft² = 11.1483648 m².

For a rectangle A=l×wA = l \times w; for a circle A=πr2A = \pi r^2. Each answer comes with the formula, the working, the perimeter and the area in square feet, square meters, acres and seven more units.

By Hira Noor, mathematicianLast reviewed Free, no sign-up, runs in your browserReport a problem

How to use this calculator

  1. Choose a shape. A triangle can be entered three ways: base and height, three sides (Heron's formula) or two sides and the angle between them. A circle or semicircle takes a radius or a diameter.
  2. Enter the measurements the form asks for. Lengths accept decimals, fractions such as 3/4, mixed numbers such as 5 1/2 and, with feet or inches as the unit, feet and inches such as 10' 6".
  3. Pick the length unit you measured in. The area is given in that unit squared, and the table converts it to square millimeters through square miles, hectares and acres.
  4. For an L-shaped room, a plot or any other irregular outline, choose Irregular polygon (coordinates) and type each corner as x, y on its own line, going around the edge in order.
  5. For a quadrilateral with four unequal sides, choose Any quadrilateral and add one diagonal. Four sides alone do not fix the area.
  6. Open the steps to see each number substituted into the formula. The drawing below the result is to scale, so a wrong measurement usually shows up as an odd-looking shape.

Formulas

Rectangles, squares, parallelograms and triangles

Arectangle=l×w,Asquare=s2,Aparallelogram=b×h,Atriangle=12bhA_{\text{rectangle}} = l \times w, \quad A_{\text{square}} = s^2, \quad A_{\text{parallelogram}} = b \times h, \quad A_{\text{triangle}} = \tfrac{1}{2}\,b\,h

Plain-text formula: A_rectangle = l × w, A_square = s^2, A_parallelogram = b × h, A_triangle = 1/2 b h

l, w
length and width
b, h
base, and the height measured at a right angle to it

Area counts how many unit squares cover a flat shape. A parallelogram rearranges into a rectangle with the same base and height, and a triangle is half of that parallelogram.

Circles, sectors and ellipses

Acircle=πr2,Asector=θ360∘πr2=12r2θrad,Aellipse=πabA_{\text{circle}} = \pi r^2, \quad A_{\text{sector}} = \frac{\theta}{360^{\circ}}\,\pi r^2 = \tfrac{1}{2} r^2 \theta_{\text{rad}}, \quad A_{\text{ellipse}} = \pi a b

Plain-text formula: A_circle = πr^2, A_sector = θ/360° πr^2 = (1/2)r^2 θ_rad, A_ellipse = πab

r
radius, half the diameter
θ
central angle of the sector
a, b
semi-major and semi-minor axes, half the longest and shortest widths

A sector is the fraction θ/360° of a full circle. An ellipse is a circle stretched by a/r in one direction and b/r in the other, so its area is πab.

Heron's formula (three sides of a triangle)

A=s(s−a)(s−b)(s−c),s=a+b+c2A = \sqrt{s(s-a)(s-b)(s-c)}, \quad s = \frac{a + b + c}{2}

Plain-text formula: A = √(s(s − a)(s − b)(s − c)), s = (a + b + c)/2

Gives a triangle's area from its sides alone, with no height needed. It also finds the area of any quadrilateral once a diagonal splits it into two triangles.

Shoelace formula (any polygon from its corners)

A=12|∑i=1n(xiyi+1−xi+1yi)|A = \tfrac{1}{2}\left|\sum_{i=1}^{n} (x_i y_{i+1} - x_{i+1} y_i)\right|

Plain-text formula: A = (1/2)|∑_{i = 1}^n (x_iy_(i + 1) − x_(i + 1)y_i)|

List the corners in order around the polygon and wrap back to the first. Cross-multiplying each corner with the next and halving the total gives the area of any simple polygon, convex or not.

Reading the result

Area is always in square units: a room measured in feet has an area in square feet (ft²), and one measured in meters has an area in m². Converting area needs the length factor squared, so 1 m ≈ 3.28 ft but 1 m² ≈ 10.76 ft². The table under the result does this for ten units.

For shapes with π in the formula, the exact answer is shown as a multiple of π, such as 25π for a circle of radius 5, next to the decimal 78.53981634. Decimals are rounded to 10 significant digits, far more than any tape measure can justify, so round the final answer to match your measurements.

Some shapes have no perimeter here because the inputs do not fix it: a triangle from base and height, a trapezoid from its bases and height, a parallelogram from base and height and a kite from its diagonals all need the slanted sides as well. To solve a whole triangle, use the triangle calculator.

Area formulas for every shape

Each row is a result from the calculator above. Lengths are in any unit, and the area is in that unit squared.

Area formulas with a worked example for each shape
ShapeFormulaExampleArea
RectangleA = l × wl = 12, w = 10120
SquareA = s²s = 981
Triangle (base and height)A = ½bhb = 8, h = 520
Triangle (three sides)A = √(s(s − a)(s − b)(s − c))a = 3, b = 4, c = 56
Triangle (two sides and angle)A = ½ab sin Ca = 7, b = 9, C = 40°20.24780971
CircleA = πr²r = 525π ≈ 78.53981634
SemicircleA = ½πr²r = 48π ≈ 25.13274123
SectorA = (θ/360°)πr²r = 10, θ = 90°25π ≈ 78.53981634
EllipseA = πaba = 5, b = 315π ≈ 47.1238898
TrapezoidA = ½(a + b)ha = 8, b = 5, h = 426
ParallelogramA = bhb = 10, h = 660
Rhombus or kiteA = ½pqp = 10, q = 630
Regular hexagonA = (3√3/2)s²s = 654√3 ≈ 93.53074361
Regular polygonA = ns² / (4 tan(180°/n))n = 8, s = 5120.7106781
Annulus (ring)A = π(R² − r²)R = 5, r = 316π ≈ 50.26548246
Irregular polygonShoelace formulaL-shape (0,0) (20,0) (20,8) (12,8) (12,14) (0,14)232

How to find the area of an irregular shape

Most irregular floor plans and plots are made of straight edges, and there are two reliable ways to measure them.

Split it into simple shapes. Divide the outline into rectangles and triangles, find each area and add them. A shape with a notch or a hole works the other way: take the area of the full outline and subtract the cut-out. An L-shaped room 20 ft by 14 ft with an 8 ft by 6 ft corner missing is 20×14−8×6=280−48=23220 \times 14 - 8 \times 6 = 280 - 48 = 232 ft².

Use corner coordinates. Put one corner at (0, 0), measure along two perpendicular walls, and write down each corner as an (x, y) pair in order around the edge. Choose Irregular polygon (coordinates) above and paste the list; the shoelace formula does the rest. The same L-shaped room is the six points (0, 0), (20, 0), (20, 8), (12, 8), (12, 14) and (0, 14), and gives the same 232 ft².

Curved edges can be handled the same way by adding more points along the curve: the more points, the closer the polygon follows it. GPS latitude and longitude in degrees cannot be typed in directly, because a degree of longitude covers less ground away from the equator. Convert them to distances in feet or meters first, or use the dimensions on a survey or plat.

Area from four sides: why you need a diagonal

A triangle is rigid: three sides fix its shape and area. A quadrilateral is not. A square with sides of 10 has an area of 100, but push it over into a rhombus with the same four sides and the area shrinks toward zero. So no formula can give the area from four side lengths alone.

Measure one diagonal as well and the shape is fixed. The diagonal splits the quadrilateral into two triangles, each with three known sides, and Heron's formula gives both areas. Choose Any quadrilateral (4 sides and a diagonal) above: sides 5, 6, 7 and 8 with a 9 diagonal give 200+720≈14.142+26.833=40.97495135\sqrt{200} + \sqrt{720} \approx 14.142 + 26.833 = 40.97495135.

If a diagonal cannot be measured, Brahmagupta's formula (s−a)(s−b)(s−c)(s−d)\sqrt{(s-a)(s-b)(s-c)(s-d)} gives the largest area the four sides can enclose, reached when all four corners lie on one circle. Real fields and rooms are usually smaller than that maximum, so treat it as an upper limit. The old surveyor's shortcut of multiplying the averages of opposite sides overstates the area of anything that is not a rectangle.

Square feet, square meters and acres

Area units are length units squared, so every conversion factor is the length factor squared. One foot is exactly 0.3048 m, so one square foot is exactly 0.3048² = 0.09290304 m². For any other pair, the area unit converter has 18 units, including cents, gunthas and dunams.

For flooring, paint or turf, find the area of each room or patch separately and add them. Buy a little more than the total to allow for cuts and offcuts; how much depends on the room shape and the product, so follow the manufacturer's guidance.

Exact area conversion factors
FromToMultiply by
Square feet (ft²)Square meters (m²)0.09290304
Square meters (m²)Square feet (ft²)10.76391042
Square feet (ft²)Square inches (in²)144
Square yards (yd²)Square feet (ft²)9
AcresSquare feet (ft²)43,560
AcresSquare meters (m²)4,046.8564224
Hectares (ha)Square meters (m²)10,000
Hectares (ha)Acres2.471053815
Square miles (mi²)Acres640
Square centimeters (cm²)Square millimeters (mm²)100

Worked example

Flooring for an L-shaped room

A room measures 20 ft by 14 ft, but an 8 ft by 6 ft corner is taken by a closet. How many square feet of flooring cover the rest, and how many square meters is that?

  1. Area of the full rectangle: 20×14=28020 \times 14 = 280 ft².
  2. Area of the closet corner: 8×6=488 \times 6 = 48 ft².
  3. Subtract the cut-out: 280−48=232280 - 48 = 232 ft².
  4. Check with coordinates: the corners (0, 0), (20, 0), (20, 8), (12, 8), (12, 14), (0, 14) in the shoelace formula also give 232 ft².
  5. Convert: 232×0.09290304=21.55350528232 \times 0.09290304 = 21.55350528 m².

Answer: The floor is 232 ft², about 21.55 m², before any extra for cutting waste.

Frequently asked questions

How do you calculate area?

Use the formula for the shape. A rectangle is length × width, a triangle is ½ × base × height, and a circle is π × radius². For a 12 ft by 10 ft room, the area is 12 × 10 = 120 square feet.

How do I find the area of an irregular shape?

Split it into rectangles and triangles and add their areas, subtracting any cut-outs. Or write down the corners as (x, y) coordinates in order and choose Irregular polygon (coordinates): the shoelace formula gives the exact area of any straight-edged shape.

Can I find the area of a shape with 4 different sides?

Not from the four sides alone, because the same four sides can lean into shapes with different areas. Add one diagonal and choose Any quadrilateral: the diagonal splits it into two triangles whose areas come from Heron's formula. Without a diagonal, Brahmagupta's formula gives only the largest possible area.

How do I calculate the square footage of a room?

Measure the length and width in feet and multiply them. A 12 ft by 10 ft room is 120 ft². For an L-shaped room, split it into two rectangles and add them, or enter the corners as coordinates. If you measure in feet and inches, type them as 12' 6" with feet selected.

How do I convert square feet to square meters or acres?

Multiply square feet by 0.09290304 for square meters, or divide by 43,560 for acres. A 2,000 ft² house is 185.8 m² or 0.0459 acres. The calculator shows the area in ten units, and the square feet to acres converter handles any other value.

What is the difference between area and perimeter?

Area is the space inside a shape, measured in square units such as ft². Perimeter is the distance around its edge, measured in plain length units such as ft. A 12 ft by 10 ft room has an area of 120 ft² and a perimeter of 44 ft.

How do I find the area of a circle from the diameter or circumference?

Halve the diameter to get the radius, then use A = πr². A 12 in pizza has r = 6 in and an area of 36π ≈ 113.1 in². From a circumference C, the radius is C ÷ 2π, so the area is C² ÷ 4π.

Why does 1 meter equal 3.28 feet but 1 square meter equal 10.76 square feet?

A square meter is 1 m by 1 m, which is 3.2808 ft by 3.2808 ft, so it holds 3.2808² ≈ 10.764 square feet. Every area conversion uses the length factor squared.

Can this calculator measure land from a map or a photo?

No. It works from measurements you type in. For a plot, use the dimensions on the deed, survey or plat, or measure the corners on site and enter them as coordinates in feet or meters. Coordinates in degrees of latitude and longitude must be converted to distances first.

How accurate are the results?

The arithmetic is done in double precision, about 15 to 16 significant digits, and shown to 10. The ellipse perimeter uses the arithmetic-geometric mean, which is accurate to the same precision. In practice, the accuracy of the answer is set by your measurements, not by the calculation.

Volume Calculator

Volume of 14 shapes with steps, surface area and the answer in ft³, liters, gallons and cubic yards.

Geometry

Triangle Calculator

Solve any triangle from SSS, SAS, ASA, AAS or SSA, with law of sines and cosines steps and the ambiguous case.

Trigonometry

Unit Converter

Convert between units in 40 categories with exact factors, formulas and tables.

Tools

Scientific Calculator

Type or tap expressions with exact fractions, memory, variables, constants and complex mode.

Tools

Trigonometry Calculator

All six trig functions of an angle, or the angle from a ratio, with exact values, quadrant and steps.

Trigonometry

Sources and further reading

  1. Prealgebra 2e, Sections 9.4 and 9.5: rectangles, triangles, trapezoids, circles and irregular figures (opens in a new tab), OpenStax, Rice University
  2. Heron's Formula (opens in a new tab), Wolfram MathWorld (Eric W. Weisstein)
  3. Polygon Area (shoelace formula) (opens in a new tab), Wolfram MathWorld (Eric W. Weisstein)
  4. Digital Library of Mathematical Functions, §19.8 and §19.9: the arithmetic-geometric mean and the perimeter of an ellipse (opens in a new tab), National Institute of Standards and Technology
  5. NIST Handbook 44, Appendix C: General Tables of Units of Measurement (opens in a new tab), National Institute of Standards and Technology

Results are calculated in your browser with methods checked by automated tests, and are intended for learning and general use. For engineering, medical, financial, legal or safety-critical decisions, verify important values independently and follow the rounding rules your work requires. How accurate are these results?