Abstract We consider the Levi–Civita equation f ( x y ) = g 1 ( x ) h 1 ( y ) + g 2 ( x ) h 2 ( y ) f\left( {xy} \right) = {g_1}\left( x \right){h_1}\left( y \right) + {g_2}\left( x \right){h_2}\left( y \right) for unknown functions f, g 1, g 2, h 1, h 2 : S → ℂ, where S is a monoid. This functional equation contains as special cases many familiar functional equations, including the sine and cosine addition formulas. In a previous paper we solved this equation on groups and on monoids generated by their squares under the assumption that f is central. Here we solve the equation on monoids by two different methods. The first method is elementary and works on a general monoid, assuming only that the function f is central. The second way uses representation theory and assumes that the monoid is commutative. The solutions are found (in both cases) with the help of the recently obtained solution of the sine addition formula on semigroups. We also find the continuous solutions on topological monoids.