Calculadora COMEX Perú

Home / Supply chain, technology and AI / Module 1

1.3 Global chains, relocation and nearshoring

Companies spread their production across several countries and are now reviewing where it makes sense to do so. Learn what offshoring, nearshoring and reshoring are, and how to compare origins by total cost and not just by price.

Module 1: Supply chain strategy · Reviewed on 12/10/2026 · Español

Goal: Compare origins by the total landed cost in your warehouse, tell offshoring, nearshoring, reshoring and friendshoring apart, and explain why companies diversify.

A global value chain spreads the stages of a product (design, inputs, assembly, distribution) across several countries. An electronic device can be designed in one country, assembled in another and use parts from dozens of suppliers. Offshoring is moving an activity to another country, almost always to lower costs. It is not the same as outsourcing, which is hiring another company, local or foreign, to carry out that activity.

Offshoring saves on labor and scale, but it adds costs that are not in the list price: freight, insurance, duties, inventory in transit, long lead times, variable quality and the risk of disruptions. That is why you compare the total landed cost in your warehouse and not just the FOB price, which is the price of the goods already loaded at the port of origin under Incoterms® 2020. The step-by-step calculation is covered in the Imports area.

There are several ways to change origin. Reshoring is bringing production back to the company's own country. Nearshoring is moving it to a nearby country, with a short trip and a similar time zone. Friendshoring is producing in allied or politically stable countries. Another common strategy is China plus one: keep buying from China, but add a second country so you do not depend on just one.

This debate sped up because of the 2020 pandemic, which closed factories and ports; tariffs and trade tensions between large economies; industrial subsidies, such as the U.S. CHIPS Act; and the rise in freight rates in 2021. Even so, relocating is expensive and slow: a factory does not move in months, and a new supplier needs time to match the quality. That is why almost no one fully abandons the distant origin: the usual approach is to diversify.

For Peru, the topic has two sides. As an exporter of minerals, fruit and other products, it depends on its customers being able to source in a stable way. As an importer of manufactured goods, it depends on long routes to Asia. Projects such as the port of Chancay, opened on 14/11/2024, aim to shorten that route. And trade agreements make it easier to compare origins; rules of origin and tariff preferences are covered in the Customs taxes, trade agreements and origin area.

Before relocating, compare total cost, lead time, flexibility, quality, risk of disruption and required commitments, such as minimum orders or long contracts. Sometimes the best solution is to combine: a distant, cheap supplier for the base volume, and a nearby, flexible one to replenish when demand rises.

Key ideas

StrategyWhat it meansMain advantageLimit or cost
OffshoringProducing in a distant countryLower manufacturing cost and scaleLong lead times, more inventory in transit and more exposure to disruptions
NearshoringProducing in a nearby countryShorter lead time, faster replenishment, short tripFactory price often higher; more limited capacity
ReshoringProducing again in the company's own countryControl, speed and lower logistics riskHigh labor and investment costs; takes time to implement
FriendshoringProducing in allied or stable countriesLower political and trade riskCan shrink the pool of suppliers and raise costs
China plus oneKeeping China and adding another originLess dependence on a single countryAudits, contracts and management are duplicated

Worked example

Comparing two origins for a cotton T-shirt campaign
  1. Fictional case: Confecciones Pacífico S.A.C. plans to sell 20,000 cotton T-shirts in its summer campaign. It receives two offers: a supplier in Asia, with a lead time of 75 days, and a supplier in Colombia, with a lead time of 20 days. It wants to decide by total cost and not by list price.
  2. Compare the list price. Asia offers US$ 4.20 FOB per T-shirt; Colombia, US$ 5.20. Colombia is US$ 1.00 more expensive, that is, 23.8% more (1.00 ÷ 4.20). With only that figure, the decision would seem clear.
  3. Calculate Asia's landed cost in the warehouse, per T-shirt. FOB US$ 4.20; freight and insurance US$ 0.55 (CIF = US$ 4.75); 11% duty on the CIF value, with no preference, US$ 0.52; local clearance US$ 0.18; financial cost of 75 days at 12% a year on the CIF value (4.75 × 12% × 75 ÷ 365), US$ 0.12; quality failures estimated at 3% of FOB, US$ 0.13. Total: US$ 5.70.
  4. Calculate Colombia's. Price US$ 5.20; transport US$ 0.30; duty US$ 0.00, because you assume the T-shirt qualifies as originating in the Andean Community and you present the certificate of origin; clearance US$ 0.12; financial cost of 20 days on US$ 5.50 (5.50 × 12% × 20 ÷ 365), US$ 0.04; failures of 1%, US$ 0.05. Total: US$ 5.71.
  5. Compare. The total cost is US$ 5.70 versus US$ 5.71: almost the same. The 23.8% difference in list price almost disappears once you add duty, lead time and quality.
  6. Add flexibility. With Asia, you buy the whole campaign at once and expect 2,400 T-shirts (12%) to be left over, which you would sell off at US$ 2.70, with a loss of US$ 3.00 each: US$ 7,200, or US$ 0.36 per planned T-shirt (7,200 ÷ 20,000). With Colombia, you order in two lots and replenish according to sales: 600 T-shirts (3%) would be left over, with a loss of US$ 3.01 each: US$ 1,806, or US$ 0.09 per T-shirt.
  7. Total it up: Asia, US$ 5.70 + 0.36 = US$ 6.06; Colombia, US$ 5.71 + 0.09 = US$ 5.80. Colombia turns out US$ 0.26 cheaper per T-shirt (4.3%). Before signing, check capacity, sample quality and that the certificate of origin is feasible.

Result: The nearby supplier was 23.8% more expensive in list price, but the same in landed cost in the warehouse (US$ 5.71 versus US$ 5.70) and cheaper with the effect of less surplus (US$ 5.80 versus US$ 6.06). It won on flexibility, not on price. The result depends on the assumptions, so it is worth testing them with your own data.

Real cases

The port of Chancay opens and shortens the Peru–Asia route

14/11/2024

COSCO Shipping opened the port of Chancay, north of Lima, on 14/11/2024. According to a note from the Shanghai Municipal Government dated 18/11/2024, the port opens a route between Latin America and Asia-Pacific and cuts about ten days of sailing between Peru and China, an approximate figure. A new port changes the map of a global chain and the decision about where to buy, produce or sell.

When the infrastructure of a route changes, recalculate the times and costs of your origins and destinations instead of assuming they stay the same.

Source: Gobierno Municipal de Shanghái – From Chancay to Shanghai: Peru sees new port open

The U.S. subsidizes semiconductor factories on its own soil

2022

In 2022 the U.S. enacted the CHIPS and Science Act. The CHIPS Program Office, part of the Department of Commerce, allocates US$ 39,000 million in incentives to build and equip semiconductor factories on U.S. soil. It is a case of reshoring driven by public policy: the government pays part of the cost of producing close to its market.

Other countries' industrial policies can change where your inputs come from; follow the rules in your key markets.

Source: NIST (Departamento de Comercio de EE. UU.) – CHIPS for America

Mexico overtakes China as the top supplier to the U.S. in 2023

2023

The U.S. Census Bureau reports that in 2023, U.S. imports from Mexico totaled US$ 475,600 million, compared with US$ 427,200 million from China. Mexico was also the top trading partner of the U.S. by total trade (US$ 798,800 million). It is a sign of nearshoring, although the figures alone do not prove its cause.

Trade statistics help you see where a chain is moving, but you need to check them against other data before concluding why.

Source: Oficina del Censo de EE. UU. – Top Trading Partners, diciembre 2023

Common mistakes

Practise with the calculators, the COMEX Simulator and the review questions on the main page.

Open this topic in the calculator →
← Previous topic: Aligning the chain with the company's strategyNext topic: Risks and crises in the chain →