http://assets.fluke.com/appnotes/electricalpower/B0270b_u.pdf
There are other devices that can do similar things. But you'd probably be happy with one of the Fluke models.