Often experimental data are collected and one wishes to find the line that “best approximates” them. The method of least squares gives the optimal answer: the line that minimises the sum of the squares of the errors. This section presents its definition, the formulae and a complete numerical example.