Is there a formula to calculate the area of a trapezoid knowing the length of all its sides? If all sides: $a, b, c, d$ are known, is there a formula that can calculate the area of a trapezoid?
I know this formula for calculating the area of a trapezoid from its two bases and its height:

$$S=\frac {a+b}{2}×h$$

And I know a well-known formula for finding the area of a triangle, called Heron's formula:

$$S=\sqrt {p(p-a)(p-b)(p-c)}$$
$$p=\frac{a+b+c}{2}$$

But I could not a formula for finding the area of a trapezoid in the books.
 A: A note for the case when only two sides are parallel,
just the set of four side lengths do not determine the area.
An additional information is needed to define, 
which pair of sides are parallel.
An illustrative example for side lengths $19,23,29,31$:

A: This is how to calculate the area of a trapezoid when the four sides are known:

A: Hint (if we know the parallel sides):

From The picture:
take: $a=AB, b=BC, c=CD, d=DA,x=AE$
so we have:
$
h=ED=\sqrt{d^2-x^2}=\sqrt{b^2-(a-c-x)^2}=CF
$
solve for $x$ and find $h=\sqrt{d^2-x^2}$
Find the area $A=\frac {a+b}{2}h$
A: There can't be such a formula. The side lengths do not determine the area.
Think about all the rhombi with four sides of length $1$. They are all trapezoids (even parallelograms) with the same side lengths but different areas, which can be anything between $0$ and $1$.
A: This problem is more subtle than some of the other answers here let on.  A great deal hinges on whether "trapezoid" is defined inclusively (i.e. as a quadrilateral with at least one pair of parallel sides) or exclusively (i.e. as a quadrilateral with exactly one pair of parallel sides).  The former definition is widely considered more mathematically sophisticated, but the latter definition is more traditional, is still extensively used in K-12 education in the United States, and has some advantages.
As the other responses have pointed out, if one defines "trapezoid" inclusively, then any parallelogram is automatically a trapezoid, and as the side-lengths of a parallelogram do not determine its area, it is not possible (even conceptually) that there could be a formula for the area of a trapezoid in terms of its side lengths.
However, if "trapezoid" is defined exclusively, then things are quite different.  Consider a trapezoid with parallel bases of length $a$ and $b$ with $b>a$.  Let $\theta$ and $\phi$ respectively denote the angles formed by the legs $c$ and $d$ with the base $b$.  Then we have the following relationships:
$$c\cos\theta + d\cos\phi = b-a$$
$$c\sin\theta = d\sin\phi$$
These conditions uniquely determine $\theta$ and $\phi$, and therefore among non-parallelogram trapezoids, choosing the lengths of the parallel sides and the lengths of the bases uniquely determines the figure.  In particular we would have $$\cos\theta = \frac{(b-a)^2+c^2-d^2}{2c(b-a)}$$.
The height of the trapezoid would then be $h=c\sin\theta$ (or if you prefer $h=d\sin\phi$, which is equal to it), so the area of the trapezoid can (in principal) be computed.  If you really want to carry it out, you would have
$$\sin\theta = \sqrt{1-\left( \frac{(b-a)^2+c^2-d^2}{2c(b-a)} \right)^2}$$
so the area would be
$$A=\frac{a+b}{2}c\sqrt{1-\left( \frac{(b-a)^2+c^2-d^2}{2c(b-a)} \right)^2}$$
I am not sure if there is a simpler expression, however.
A: 
-For the trapzoid abcd to have parallel sides it requires all these conditions to be set for uniqueness of area:


*

*$a+b+c>d$, $b+a<d$, $c+a<d$.


-Neverthless, a trapzoid with non parallel sides can not be defined just by his side lengths, but a fifth coordinate added should.
In this experience we show how come multiple trapzoid shapes can be formed with same lengths of edges.
Imagine we bring a fork and a knife to start dining on some digestable geometrical concepts :

A thread and two pins:

We instill the pins on some flat table:

Then take the fork and the knife, choose two fixed points in the string, then pull it from these points with those tools without changing the fulcrum points.

Distance of the chord from the pinpoints to the coordinates of fulcrums dosn't change, while the shape of the trapzoid changes infinitely!
now envisage that $h_1$ is figured by the fork, $h_2$ symbolised by the knife, h1 is directly relative to h2 always regarding the same side lengths. We will show in the following trigonometric relations:


*

*$\cos\theta=b`/a$,
$sin\theta=(h_2-h_1)/a \implies \sqrt{1-(b`/a)^2}=(h_2-h_1)/a$

*$b``/d= \sqrt{1-(h_2/d)^2}$

*$(b-b`-b``)/c= \sqrt{1-(h_1/c)^2}$


Since there is 4 unknowns $b`,b``,h_1,h_2$ we can formulate $h_1$ in function of $h_2$ and 4 side constants.
Credits for the images goes to canstockphoto.com
A: I derived the formula for the area using the same procedure as is used to show Heron's Formula. Looking at the end formula, I realized that the formula follows quite simply from Heron's Formula.
Given a trapezoid with unequal parallel bases $a$ and $b$,

consider the triangle with base $|b-a|$ and sides $c$ and $d$:

Using $s=\frac{|b-a|+c+d}2$, the area of the triangle is
$$
\text{Area of Triangle}=\sqrt{s(s-c)(s-d)(s-|b-a|)}
$$
The altitude of the trapezoid and the triangle are the same, so the area is proportional to the average of the lengths of the bases. That is,
$$
\bbox[5px,border:2px solid #C0A000]{\text{Area of Trapezoid}=\frac{b+a}{|b-a|}\sqrt{s(s-c)(s-d)(s-|b-a|)}}
$$
A: To add a derivation that puts the square root factor in a Heronian context ...

For $c := |\overline{CD}| \neq |\overline{AB}| =: a$, 
$$|\square ABCD| = \frac12 (a+c) \cdot h = \frac12 (a+c) \cdot \frac{2 |\triangle AC^\prime D|}{|\overline{C^\prime D}|} = \frac{a+c}{|a-c|}\;|\triangle AC^\prime D|$$
Then, applying Heron's Formula to a triangle with side-lengths $b$, $d$, $c-a$, we have
$$|\triangle AC^\prime D| = \frac14\sqrt{((c-a)+b+d)(-(c-a)+b+d)((c-a)-b+d)((c-a)+b-d)\;}$$
A: I think you mean Brahmagupta's formula, not Heron's formula.  There is no formula for the area of trapezoid given the lengths of the sides, because the sides alone do not determine the area.  This is true even for a parallelogram.  Imagine a parallelogram made of four sticks, joined together by pins at the corners.  Then you can slide it closed by moved the top side parallel to the bottom side.  You'll get zero area when the top and bottom coincide, and maximum are when you have a rectangle.
In the case of Brahmagupta's formula, the quadrilateral is circumscribable, and you can't change the sides like that.
A: It depends on your definition of trapezoid. If it includes parallelograms, then No: here are two trapezoids, same side-lengths, different area:

A: M Weiss put
$$A=\frac{a+b}{2}c\sqrt{1-\left( \frac{(b-a)^2+c^2-d^2}{2c(b-a)} \right)^2} .$$
I would rather have that answer symmetrical in $c$ & $d$, which would be
$$A=\frac{a+b}{4(b-a)}\sqrt{(b-a)^4+2(b-a)^2(c^2+d^2)+(c^2-d^2)^2} .$$
But it's just that to my taste it looks odd that it's not symmetrical in $c$ & $d$ ... my mind just protests that it ought to be!
Or
$$A=\frac{a+b}{4(b-a)}\sqrt{(b-a)^2((b-a)^2+2(c^2+d^2))+(c^2-d^2)^2} ,$$
even.
