We describe all surjective isometries between open subgroups of the groups of invertible elements in unital C*-algebras. As a consequence the two C*-algebras are Jordan *-isomorphic if and only if the groups of invertible elements in those C*-algebras are isometric as metric spaces.