PEORIA, Ill. (TheStreet) -- Caterpillar (CAT - Get Report) and Coca-Cola (KO - Get Report) derive more than half of their sales from outside the U.S.

That suggests shares of the world's largest maker of construction equipment and the No. 1 seller of soft drinks are correlated to currency changes, but that's not the case. Coke is, and Caterpillar isn't.

As the graph above shows, Coke's share price tightly follows the path of the U.S. dollar against a basket of currencies including the euro, Japanese yen and British pound. This is an inverse relationship since Coke's share price increases on a weaker dollar.

That's because Coke is an exporter. A weak dollar means its products look cheaper to foreign buyers, and the company gets more dollars with a stronger euro, yen or pound. As a result, revenue rises, as do profits.

Caterpillar, on the other hand, hedges its foreign-currency exposure.

Coke also hedges its operations, but since much of its quarterly cash flow is determined by difficult-to-predict factors, such as consumer demand, the company can only guess at the amount it should hedge. Rather than over-hedge and, therefore, take on speculative risk, Coke hedges conservatively, which leaves it open to currency risk.

Caterpillar, in contrast, deals in machinery that costs several hundred thousand dollars. Its backhoes and excavators are subject to sales contracts that specify the price and date of the sale well in advance of the transaction. That enables Caterpillar to hedge each sale using a forward contract, reducing revenue volatility.

Hedging cash flow takes care of Caterpillar's transactional risk. However, it's still exposed to economic risk because of its international reach. Foreign customers will see Caterpillar products as a better deal when the dollar weakens, which leads to increased sales. While the company may hedge out the risk of exchange-rate changes, it will still benefit from a falling dollar.

That cuts both ways. As the dollar strengthens, sales in foreign countries tend to taper off as products get relatively more expensive. Because of that, investors should be worried about a strengthening dollar, but only slightly, since the majority of the impact was taken out of the equation through the use of derivative contracts.

As the graph shows, the dollar has been increasing in value as sovereign credit problems around the world led investors to seek a safer currency in which to park cash reserves. Dubai and Greece have highlighted the risks of investing in a country with crushing debt.

Caterpillar avoids most of the risk that comes with foreign-currency transactions, but there is still a component to the share price that can be explained by these movements. As the dollar strengthens in the face of possible sovereign debt downgrades, expect Caterpillar to lag a bit. Thanks to diligent hedging, however, investors should be more insulated from the move than companies like Coke are.

-- Reported by David MacDougall in Boston.

Prior to joining TheStreet Ratings, David MacDougall was an analyst at Cambridge Associates, an investment consulting firm, where he worked with private equity and venture capital funds. He graduated cum laude from Northeastern University with a bachelor's degree in finance and is a Level III CFA candidate.