← All math tools

Triangle Area in 3D

Calculate the surface area of a triangle from three vertices anywhere in 3D space.

View the Unity C# source on GitHub

3D view

Drag an orange handle to move it, or drag an arrow to move along one axis. Drag the background to orbit. Results are drawn in green.

Result

Inputs

Vertex A
Vertex B
Vertex C

Unity C#

The same calculation as a Unity C# helper.

using UnityEngine;

public static class TriangleArea
{
    public static float Calculate(Vector3 a, Vector3 b, Vector3 c)
    {
        return Vector3.Cross(b - a, c - a).magnitude * 0.5f;
    }
}