The centroid of a body is its geometric centre. We have a few key formulations of the centroid. For a finite set of points in , the centroid is given by:

i.e., it is the arithmetic mean of each dimension.

In classical mechanics, we are often also concerned with the centre of mass and centre of gravity. When the body has a constant density or specific weight, the centre of gravity is the centroid of the body. We can calculate this with a composite method, where:

are the coordinates of the centre of gravity of the body. are the coordinates of the centre of gravity of each composite part of the body. is the sum of the weights of all composite parts of the body, i.e., its total weight. is the contribution associated to a certain component’s weight.