Perimeter and semi-perimeter
The perimeter is the total length of the boundary. The semi-perimeter is half the perimeter and is used in many triangle formulas, including Heron's formula for area and the inradius formula.
P = a + b + c
The perimeter is the sum of all three sides.
s = P / 2
The semi-perimeter is half the perimeter.