How the calculation works
Compute the absolute determinant of the two coordinate differences from the first vertex, then divide by two.
Worked example
First X = 0, First Y = 0, Second X = 6, Second Y = 0, Third X = 0, Third Y = 6 gives 18 square units.
Reading the result
Three collinear points give an area of zero. Coordinates use the same length unit.