Heron’s formula is for calculating the area of a triangle in terms of its side-lengths alone.
For a triangle with side lengths aa, bb, and cc define the semi-perimeter to be half of its perimeter:
Then the area of this triangle is: