For a triangle with vertices (x1,y1), (x2,y2), and (x3,y3), the area is half the absolute value of this determinant:
Area=21x1x2x3y1y2y3111
The absolute value matters because the determinant itself can come out negative depending on the order the vertices are listed in. Area is never negative.
Worked example
Find the area of the triangle with vertices (2,7), (1,1), and (10,8).