The power factor depends on the load. It is 1 for an ideal resistor, 0 for an idea capacitor or inductor, and something in between for most real components. You can calculate it by measuring real power and apparent power, and dividing those two. Apparent power is just the product of RMS voltage and current. Real power is the average of the instantaneous product of voltage and current, as measured by decent energy meters (eg. Kill-A-Watt), a DMM like the Gossen Metrahit energy, or an oscilloscope measuring both voltage and current. Some test gear is also able to measure power factor directly.