The paper proves an identity involving Weil indices and epsilon factors for a local field. The starting point is a pair consisting of a reductive group and a maximal torus.