Hi Graham.

We have two replies for you. One from Sue

Yes there is such a formula: Heron's Formula.

Heron's formula allows you to calculate the area of a triangle if you know the lengths of all the sides of the triangle. With the information you have, you can divide the polygon into triangles whose side lengths you can calculate.

Let me show an example with an irregular pentagon:

Side AB is 7 units.

Side BC is 10 units.

Side CD is 7.7 units.

Side DE is 6.3 units.

Side EA is 11.2 units.

Angle A is about 76 degrees.

Angle C is about 36 degrees.

Now I'll add a couple of interior lines that divide the area into triangles:

In order to calculate the area of the pentagon, we can add up the areas of these three triangles we've created.

Heron's formula says:

Let the lengths of the sides of a triangle be called a, b, c.

Let the semiperimeter of the triangle (a+b+c)/2 be called s.

Then the area A of the triangle is
.

To calculate the area of the triangles, whose sum is of course the area of the pentagon, we need to know the lengths of the red lines I added. For this, we can use the Law of Cosines:

Let the lengths of the side of a triangle be called a, b, c.

Let the angle between sides a and b be called C.

Then these quantities are related by the equation c^{2 } = a^{2 } + b^{2 } + 2abCos(C).

So for our example, the Law of Cosines gives:

Side units.

Side units.

*Note that depending on the actual polygon, you may need to also use the Law of Sines to find missing internal angles or side lengths, but in our example this isn't needed. *

Now we can calculate the area of each of the three triangles:

Semiperimeter of ABE = (7 + 11.2 + 12.5) / 2 = 15.35 units.

Area of
ABE = units^{2 }.

Semiperimeter of EBD = (12.5 + 9.8 + 6.3) / 2 = 14.3 units.

Area of EBD = units^{2 }.

Semiperimeter of BCD = (10 + 7.7 + 9.8) / 2 = 13.75 units.

Area of BCD = units^{2 }.

So the area of the example pentagon is the sum of this: 104.48 units^{2 }.

We have many examples in our library, mostly based on people trying to calculate land measurement. Try here, here or here. The basic idea is to carve it into triangles.

Hope this helps,

Stephen La Rocque.

and a second from Chris.

The formula used by surveyors can be found in the article by Bart Braden in the COLLEGE MATH JOURNAL ("The Surveyor's Area Formula", 17:4 Sept, 1986, pages 326-337.) You can read the article on the JSTOR web page if you wish.

Start at one vertex and walk around the polygon in the counterclockwise direction. You put the first vertex at (x_{0}, y_{0}) = (0,0), and the next (x_{1}, y_{1}) = (length of first edge, 0). Subsequent points (x_{k}, y_{k}) are found from the previous edge using the given angle and length. (This is only practical with the help of a computer.)

For example consider the rectangle with vertices (0,0), (2,0), (2,1), (0,1) which we know has area 2.

The Surveyor's Area Formula gives

There is another expression for the area in A. M. Lopshits, *Computation of Areas of Oriented Figures*, D. C. Heath, 1963. Translated from Russian by J. Massalski and Coley Mills, Jr.

Suppose that the side lengths of an n-sided polygon are a_{1}, a_{2}, ··· a_{n} and the exterior angles are φ_{1}, φ_{2}, ··· φ_{n} as in the diagram

Then the area of the polygon is

1/2 {a_{1}[a_{2} sin (φ_{1}) + a_{3} sin(φ_{1} + φ_{2}) + ··· + a_{n-1} sin(φ_{1} + φ_{2} + ··· + φ_{n-2})]

+a_{2}[a_{3} sin(φ_{2}) + a_{4} sin(φ_{2} + φ_{3}) + ··· + a_{n-1} sin(φ_{2} + ··· + φ_{n-2})]

+ ·········

+ a_{n-2} [a_{n-1} sin(φ_{n-2})]}

Chris and Penny