# Origin of the term 'index of a subgroup'

The index of a subgroup $$H$$ in a group $$G$$ is the number of distinct cosets of $$H$$ in $$G$$.

Why did someone decide to call this an 'index'?