Cofactor of Elliptic Curve Formula


Equation for calculate cofactor of elliptic curve is,

h = n / r

Where,

n is the order of the curve (the number of all its points)
r is the order of the subgroups (the number of points in each subgroup, including the infinity point for each subgroup)
h is the curve cofactor (the number of non-overlapping subgroups of points, which together hold all curve points)