Calculadora COMEX Perú

Home / Finance, costs and payment methods / Module 1

1.1 Cost management

Costing an international operation means adding up everything you spend from production to payment. Organize fixed and variable costs, the Incoterm, financing and the exchange rate to know your price floor.

Module 1: Costs, prices and quotations · Reviewed on 12/10/2026 · Español

Goal: Calculate the FOB and CIF cost of an export order, separating fixed and variable costs and including the financial cost.

Costing an international operation means calculating how much it costs you, from end to end, to deliver a product to your buyer. It is not just the factory or purchase price. Packaging, procedures, transport, insurance, financing and the effect of the exchange rate also count. If you forget one of these items, your real margin will be lower than the one you calculated on paper.

To organize costs, separate them by how they behave. Fixed costs do not change with the volume of each shipment, such as plant rent or administrative salaries. Variable costs do change, such as inputs, packing or freight per container. To quote an order, start from the variable costs and add a reasonable share of the fixed costs. The difference between the price and the variable cost is the contribution margin: what each unit contributes to cover fixed costs and leave a profit.

A typical chain of export costs has six stages. Produce or buy. Prepare the goods: packing, labeling and certificates. Move and clear them in the country: transport to the port, customs broker and terminal. Pay international freight and insurance. Finance working capital. And cover bank or intermediary fees. From the total, you can subtract the recoveries you are entitled to, such as drawback. The IGV on your purchases is not a cost either if you recover it as the exporter's credit balance; the Exports area covers this.

The Incoterm is the International Chamber of Commerce rule that splits costs and risks between seller and buyer. It marks how far your costs go. With FOB, they end when the goods are on board the vessel. With CIF, you also pay freight and insurance to the port of destination, even though the risk already passed to the buyer at shipment. So the same goods have two different costs depending on the rule you quote. The current edition is Incoterms® 2020.

Two factors move your cost without you changing anything in your factory. The first is the exchange rate: you spend in soles and get paid in dollars, so a stronger sol reduces what you receive in soles. The second is freight, which can rise suddenly. That is why you should calculate a base scenario and a pessimistic one, and review your sheet every time you quote. Also include the cost of tied-up money: every day between paying for inputs and getting paid has a financial cost.

Key ideas

ItemExampleBehaviorUsual currency
Production or purchaseInputs, labor, plant costsMostly variableSoles
PreparationPacking, palletizing, labeling, certificatesVariable per shipmentSoles
Local logisticsTransport to the port, customs broker, terminalVariable per shipmentSoles and dollars
International freight and insuranceOcean or air freight, cargo insuranceVariable per shipmentDollars
FinancingInterest on working capital, bank feesVariable by termSoles or dollars
OverheadAdministration, rent, fixed salariesFixedSoles

Worked example

Cost of a container of chifles for Miami
  1. Inca Snacks S.A.C., a fictitious company from Lima, receives an order for 10,000 cases of chifles (fried plantain chips) from an importer in Miami and wants to know its cost before quoting. Assumption for the example: S/ 3.50 per US$ 1. In real life, use the exchange rate published by the Central Reserve Bank of Peru (BCRP) on the day you calculate.
  2. Production cost: S/ 20.00 per case (inputs, labor and allocated plant costs). Total: 10,000 × S/ 20.00 = S/ 200,000.
  3. Preparation and departure: packing and palletizing at S/ 1.50 per case = S/ 15,000. Shipment operations: transport to Callao S/ 3,200, customs broker S/ 1,300, terminal S/ 2,700 and certificates S/ 1,000, for a total of S/ 8,200.
  4. Financial cost: the company finances S/ 215,000 (production plus packing) for 60 days at a rate of 12% per year, calculated as simple interest. S/ 215,000 × 12% × 60 ÷ 360 = S/ 4,300.
  5. Total FOB cost: S/ 200,000 + S/ 15,000 + S/ 8,200 + S/ 4,300 = S/ 227,500. Per case: S/ 22.75. In dollars: S/ 227,500 ÷ 3.50 = US$ 65,000, that is, US$ 6.50 per case.
  6. To quote CIF Miami, add the freight for the 40-foot container (US$ 3,300) and the insurance (US$ 300). CIF cost: US$ 65,000 + US$ 3,300 + US$ 300 = US$ 68,600, or US$ 6.86 per case. There is no profit yet: it is only cost.
  7. Test two scenarios. If the exchange rate drops to S/ 3.40, your costs in soles equal S/ 227,500 ÷ 3.40 = US$ 66,911.76 FOB, about US$ 1,911.76 more (2.9%). If freight doubles to US$ 6,600, CIF rises to US$ 71,900, or US$ 7.19 per case.
  8. Check recoveries. Inca Snacks does not use imported inputs, so there is no drawback to subtract. The IGV on its purchases is handled separately as a credit balance and is not part of the cost.

Result: The price floor is US$ 6.50 per case FOB and US$ 6.86 CIF Miami, before profit. With a different exchange rate or different freight, that floor rises. The final price is decided in the next topic.

Real cases

SUNAT updates the drawback procedure

26/12/2025

On 26/12/2025, SUNAT published Superintendency Resolution 000381-2025/SUNAT, which amends the general procedure for the restitution of tariff duties (drawback), in force from 02/02/2026. The text keeps the central rule: the restitution equals 3% of the FOB value of the exported good, with a cap of 50% of the production cost. For costing, drawback is a recovery that depends on requirements, not an automatic discount.

Treat drawback as income still to be confirmed: check the current procedure and subtract it from the cost only when your product meets the conditions.

Source: SUNAT – Restitución de derechos arancelarios (drawback), procedimiento general, control de cambios de la Res. 000381-2025/SUNAT

Container freight rates reached five times their pre-pandemic level

29/11/2022

On 29/11/2022, in Geneva, UNCTAD presented its Review of Maritime Transport 2022. It explained that the shortage of logistics capacity and rising demand pushed spot container freight rates to five times their pre-pandemic levels in 2021. It noted that this rise made consumer prices more expensive and that rates fell from mid-2022. A cost that seemed stable changed sharply in a few months.

Do not freeze freight in your cost sheet: quote with a short validity and always calculate a scenario with high freight.

Source: UNCTAD – Comunicado sobre el Review of Maritime Transport 2022

Common mistakes

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

Open this topic in the calculator →
Next topic: International pricing strategies →