The principle is intuitive: if the same good costs twice as much in country A as in country B once prices are converted, something should eventually correct the gap — either prices or the exchange rate.
In practice, the theory holds only very imperfectly, and over long periods. The main reason lies in non-tradable goods: the rent on premises, a crew member's wage, the price of land cannot be arbitraged from one country to another. Yet these costs go into the price of a hamburger — which explains part of the gaps measured by the Big Mac Index and makes the indicator systematically unfavourable to low-wage countries.