Commerce does this by endeavoring to consider all of the factors of production necessary to make the product (the various materials, labor, electricity, water, and other overhead) and valuing those inputs by reference to their prices in another country.
FORBES: President Obama's Chance to Fix Deteriorating Economic Relations with China