Using the Stückrad–Vogel self-intersection cycle of an irreducible and reduced curve in pro-jective space, we obtain a formula that relates the degree of the secant variety, the degree and the genus of the curve and the self-intersection numbers, the multiplicities and the number of branches of the curve at its singular points. From this formula we deduce an expression for the difference between the genera of the curve. This result shows that the self-intersection multiplicity of a curve in projective N-space at a singular point is a natural generalization of the intersection multiplicity of a plane curve with its generic polar curve. In this approach, the degree of the secant variety (up to a factor 2), the self-intersection numbers and the multiplicities of the singular points are leading coefficients of a bivariate Hilbert polynomial, which can be computed by computer algebra systems.