Calculadora COMEX Perú

Home / Supply chain, technology and AI / Module 2

2.3 Supply chain performance metrics

A useful metric has a definition, a source, a target and an owner. You will see how to balance service, time, cost and capital with OTIF, perfect order, inventory turnover and the cash cycle.

Module 2: Planning and control · Reviewed on 12/10/2026 · Español

Goal: Calculate the cash cycle with turnover and days of inventory, and explain why metrics are read together and without dressing them up.

A metric (or key performance indicator, KPI) is a number with a clear definition that tells you whether the chain delivers what it promises. The definition is everything: what is counted, when it starts and ends, which system the data comes from, how often it is calculated and who is accountable. Without that, purchasing and sales measure differently and argue about the numbers instead of deciding.

A good dashboard balances four dimensions. Service: do you deliver what you promised the customer? Time: how long is the cycle from order to delivery? Cost: how much of each sol sold goes to logistics? Capital: how much money does your inventory tie up? Improving one dimension often makes another worse. If you cut inventory to free up cash, you may lose service level. That is why metrics are read together.

In service, the most used metric is OTIF (on time, in full): the percentage of orders delivered on the promised date and complete. The perfect order also requires that it arrive undamaged and with the correct documents. Because the percentages multiply, they drop fast: 95% on time, 96% complete, 98% undamaged and 99% with correct documents give 88.5% perfect orders. Before measuring, agree with your customer on the date tolerance and what “complete” means.

In capital, inventory turnover is the cost of sales divided by average inventory: how many times a year you renew your stock. Days of inventory are 365 divided by turnover. The cash cycle adds days of inventory and days to collect, and subtracts days to pay suppliers: how many days you finance the operation yourself. The shorter it is, the less working capital you need. Financial analysis is covered in the area “Finance, costs and payment methods.”

There are also external benchmarks. In customs clearance, SUNAT measures the total release time of goods, from the arrival of the means of transport to release. To compare countries, the World Bank publishes the Logistics Performance Index (LPI). Keep your dashboard to 5 to 8 metrics, each with a target and an owner, and make sure the metric does not become an end in itself: if you are evaluated on OTIF, nobody should reschedule dates to meet it. Warehouse and transport indicators are also covered in “International Logistics and Physical Distribution.”

Key ideas

MetricFormulaWhat it tells you
OTIFOrders on time and in full ÷ total ordersWhether you keep your promise to the customer
Fill rateUnits delivered ÷ units orderedWhat share of the order you actually deliver
Perfect order% on time × % complete × % undamaged × % with correct documentsThe overall quality of the delivery
Inventory turnoverCost of sales ÷ average inventoryHow many times a year you renew your stock
Days of inventory365 ÷ turnoverHow many days of sales you have in storage
Cash cycleDays of inventory + days to collect − days to payHow many days you finance the operation

Worked example

Reading an importer's dashboard and deciding what to improve
  1. Importadora Rímac SAC (fictitious) sells S/ 24,000,000 a year, with a cost of sales of S/ 18,000,000 and an average inventory of S/ 3,000,000. It collects in 45 days and pays in 30 days. In October it delivered 480 orders: 432 on time, 451 complete, 410 on time and complete, 470 undamaged and 466 with correct documents.
  2. On-time delivery: 432 / 480 = 90.0%. Complete delivery: 451 / 480 = 94.0%. These are partial metrics: they do not yet tell you how many orders met both conditions at once.
  3. OTIF: count the orders that met both conditions at once: 410 / 480 = 85.4%. You do not get it by multiplying 90% by 94%, because some orders fail only one condition.
  4. Perfect order, approximate: 85.4% × (470 / 480 = 97.9%) × (466 / 480 = 97.1%) = 81.2%. This is an approximation; if the system allows it, count directly the orders that meet all four conditions.
  5. Turnover: 18,000,000 / 3,000,000 = 6.0 times a year. Days of inventory: 365 / 6 = 60.8 days.
  6. Cash cycle: 60.8 + 45 − 30 = 75.8 days. This is the time the company finances with its own money from when it pays the supplier until it collects from the customer.
  7. Reading: 48 orders failed for being late and 29 for being incomplete. On-time delivery is the priority: the causes are reviewed (transport delays, clearance delays, order preparation).
  8. Decision: lowering days of inventory from 60.8 to 50 frees up 3,000,000 − (18,000,000 × 50 / 365) = S/ 534,247. As a counterweight, the complete delivery target cannot fall below 94.0%: if it falls, the reduction stops.

Result: With an OTIF of 85.4%, a perfect order rate of 81.2% and a cash cycle of 75.8 days, the company fixes on-time delivery first. Lowering inventory to 50 days would free up S/ 534,247, as long as complete deliveries stay at 94.0% or more.

Real cases

SUNAT measures the total release time of goods

01/2024

In its accountability report for the period starting 01/01/2024, SUNAT reported that in January 2024 the total release time of goods (TTLM) for imports for consumption was 36.1 hours. This metric runs from the arrival of the means of transport to the authorization of the release of the DAM. Because it measures that whole stretch, it includes the delays of every party, not only those of customs.

Define precisely where each time metric starts and ends; that way you can compare your own clearance with the official benchmark and find in which stretch the hours are lost.

Source: SUNAT – Informe de rendición de cuentas de titulares, periodo 01/01/2024 al 13/02/2024 (publicado por el MEF)

Peru in the World Bank's Logistics Performance Index

2018

The World Bank publishes the Logistics Performance Index (LPI), a score from 1 to 5 that summarizes each country's logistics performance in six dimensions, such as customs, infrastructure and timeliness. In the 2018 edition, Peru scored 2.69, compared with 3.32 for Chile, 2.94 for Colombia and 4.0 for Singapore. There is a later edition, from 2023, which you can check on the LPI website.

Comparing yourself with external benchmarks shows which link has the gap before you decide on an investment.

Source: Banco Mundial – Logistics Performance Index, puntaje general (indicador LP.LPI.OVRL.XQ)

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: Warehouse management with a WMSNext topic: Data and digitalization →