OTIF (on time in full): definition, formulas and free calculator

Published · Updated · 11 min read

Dylan Arnaud, founder of Datafuji

OTIF (on time in full) is the share of orders, or order lines, delivered on the promised date and in the quantity ordered. The fill rate looks at quantities only. Formula: OTIF = lines delivered on time and in full ÷ lines due × 100.

Example: out of 13 lines due, 9 arrive on time and in full, for a line OTIF of 69.2%. Counted order by order, the same deliveries give only 33.3%.

Calculate your fill rate and OTIF

The calculator works out six rates from the same deliveries: unit, line and order fill rates, OTD (on-time delivery, the share of lines delivered on time), then line OTIF and order OTIF. Paste the order lines due over the period, exported from your ERP (order, quantity ordered, quantity delivered, days late, negative if early). The sample values come from a fictional distributor (6 orders, 13 lines).

Calculator · your figures stay in your browser

Paste columns copied straight from Excel or an ERP export (separated by semicolons or tabs). Days late: 0 if delivered on the promised date, negative if early. 13 lines read.

Unit fill rate
93.1%
units delivered ÷ ordered
Line fill rate
76.9%
complete lines
Order fill rate
50.0%
complete orders
OTD
84.6%
lines on time
Line OTIF
69.2%
on time and in full
Order OTIF
33.3%
perfect orders

Across 13 lines and 6 orders, your fill rate ranges from 50.0% to 93.1% depending on the definition: always state which one you report. 4 lines out of 13 are not OTIF: 3 incomplete, 2 late or not delivered. One missed line is enough to fail its whole order (order OTIF: 33.3%).

What is OTIF?

OTIF is the logistics KPI that checks the promise made to the customer: a line succeeds only if it arrives complete and on the promised date. On time but incomplete, or complete but late, it fails.

A typical scenario at a distributor: the warehouse reports a 93% fill rate, while customer service counts only two perfect orders out of six. Both are right, because they are not counting the same thing: the first counts units, the second counts whole orders.

The same KPI is also called DIFOT (delivered in full, on time). The acronym OTIF also refers to the Intergovernmental Organisation for International Carriage by Rail, which has nothing to do with this KPI.

The SCOR model from ASCM (the Association for Supply Chain Management), the international reference framework for supply chains, groups these measures under reliability: delivering on time, in the right quantity and at the right quality. Its top-level metric, Perfect Order Fulfillment (RL.1.1), adds the condition of the goods to OTIF.

OTIF differs from two related metrics. OTD (on-time delivery) measures punctuality only; the fill rate measures completeness only. OTIF requires both at once, on the same line.

The distributor in our example is fictional. Its deliveries for one day are the ones preloaded in the calculator: 6 orders, 13 lines, 1,529 units ordered.

What are the formulas for fill rate, OTD and OTIF?

Six formulas cover the essentials: three fill rates (by order, by line, by unit), OTD, and OTIF counted by line or by order. They all divide what succeeded by what was due.

The fill rate is calculated as follows: orders, lines or units delivered complete ÷ orders, lines or units due × 100. For the distributor in the example, it is 50.0%, 76.9% or 93.1% depending on the level chosen.

KPIFormulaNote
Order fill rateOrders delivered complete ÷ orders dueOne short line fails the whole order
Line fill rateLines delivered complete ÷ lines dueEach line counts once, whatever the quantity
Unit fill rateUnits delivered, capped at the quantity ordered ÷ units orderedCase fill rate when orders are counted in cases
OTDLines delivered no later than the promised date ÷ lines dueOn-time delivery
Line OTIFLines delivered on time and in full ÷ lines dueOn time in full
Order OTIFOrders whose lines are all on time and in full ÷ orders duePerfect order, without the quality condition

Multiply each rate by 100 to express it as a percentage. A line that is never delivered counts as both late and incomplete.

The stockout rate, often quoted alongside, is the complement of the fill rate: 1 − fill rate, with the same definition (order, line or unit). At the same level (line or order), OTIF is always lower than or equal to both the fill rate and OTD, since it adds a condition to each.

Worked example: 6 orders, 13 lines

For the same deliveries, the distributor’s six KPIs range from 33.3% to 93.1% depending on what is counted. All six calculations start from a single table, with no tolerance on lateness or quantity.

Lateness is the gap in days between delivery and the date promised to the customer.

OrderOrderedDeliveredDays lateCompleteOn time
C11001000yesyes
C150500yesyes
C22001800noyes
C240400yesyes
C31201202yesno
C360600yesyes
C330300yesyes
C45005000yesyes
C5800not deliverednono
C524240yesyes
C510100yesyes
C63002950noyes
C61515−1yesyes

C2 is short by 20 units, C5 by 80 (the line never shipped) and C6 by 5. One line of C3 arrives 2 days late.

Unit fill rate
  = 1,424 ÷ 1,529 = 93.1%
Line fill rate
  = 10 ÷ 13 = 76.9%
Order fill rate
  = 3 ÷ 6 = 50.0% (C1, C3, C4)
OTD
  = 11 ÷ 13 = 84.6%
Line OTIF
  = 9 ÷ 13 = 69.2%
Order OTIF
  = 2 ÷ 6 = 33.3% (C1, C4)

Ranked from most flattering to strictest, the six figures show the gap.

Six horizontal bars calculated on the same 13 order lines, from highest to lowest: unit fill rate 93.1% (1,424 units out of 1,529), OTD 84.6% (11 lines out of 13), line fill rate 76.9% (10 out of 13), line OTIF 69.2% (9 out of 13), order fill rate 50.0% (3 orders out of 6), order OTIF 33.3% (2 out of 6). Between the first and the last, a gap of 59.8 points.Six horizontal bars calculated on the same 13 order lines, from highest to lowest: unit fill rate 93.1% (1,424 units out of 1,529), OTD 84.6% (11 lines out of 13), line fill rate 76.9% (10 out of 13), line OTIF 69.2% (9 out of 13), order fill rate 50.0% (3 orders out of 6), order OTIF 33.3% (2 out of 6). Between the first and the last, a gap of 59.8 points.
Same deliveries, six figures: from 93.1% by unit to 33.3% in perfect orders.

The unit rate is the highest because C4’s 500-unit line, delivered complete, carries a lot of weight, and a 5-unit shortfall out of 300 barely counts. The C6 customer, however, received an incomplete order.

Why you cannot multiply your way to OTIF

OTIF is counted line by line: it cannot be derived from OTD and the fill rate. Multiplying the two rates assumes that late lines and short lines are independent, which is rarely the case: they often fall on the same lines.

In the example, 84.6% × 76.9% = 65.1%, while the true line OTIF is 69.2%. The C5 line, never delivered, is both late and incomplete: the two failures overlap, which the product ignores.

Grid of the 13 order lines, grouped by order from C1 to C6. Nine lines are on time and in full. Three lines are incomplete: C2 (180 out of 200), C5 (0 out of 80, never delivered) and C6 (295 out of 300). Two lines are late: C3 (2 days) and the same C5 line. The two failures overlap on C5: 3 incomplete plus 2 late minus 1 in common makes 4 failed lines, hence an OTIF of 9 out of 13, or 69.2%. The product 84.6% × 76.9% gives 65.1%, a wrong result, because it assumes lateness and shortfalls are independent.Grid of the 13 order lines, grouped by order from C1 to C6. Nine lines are on time and in full. Three lines are incomplete: C2 (180 out of 200), C5 (0 out of 80, never delivered) and C6 (295 out of 300). Two lines are late: C3 (2 days) and the same C5 line. The two failures overlap on C5: 3 incomplete plus 2 late minus 1 in common makes 4 failed lines, hence an OTIF of 9 out of 13, or 69.2%. The product 84.6% × 76.9% gives 65.1%, a wrong result, because it assumes lateness and shortfalls are independent.
Three incomplete lines, two late, one in common: four failed lines, so an OTIF of 69.2%, not 65.1%.

The 4.1-point gap comes from that overlap. If the late lines and the short lines never coincided, OTIF would drop to 61.5% (8 out of 13), below the product. Over a month of several thousand lines, the gap can flip the verdict against a contractual target.

The effect of a quantity tolerance

A quantity tolerance written into a contract raises OTIF without a single delivery changing. With a 2% tolerance, C6’s 295 units delivered out of 300 count as complete: the shortfall is only 1.7%.

Five pairs of bars, with no tolerance in gray and then with a 2% quantity tolerance in blue. The unit fill rate stays at 93.1%. The line fill rate goes from 76.9 to 84.6%, the order fill rate from 50.0 to 66.7%, line OTIF from 69.2 to 76.9% and order OTIF from 33.3 to 50.0%, 16.7 points more without a single extra delivery. Only the C6 line changes status: 295 units delivered out of 300, a 1.7% shortfall, below 2%.Five pairs of bars, with no tolerance in gray and then with a 2% quantity tolerance in blue. The unit fill rate stays at 93.1%. The line fill rate goes from 76.9 to 84.6%, the order fill rate from 50.0 to 66.7%, line OTIF from 69.2 to 76.9% and order OTIF from 33.3 to 50.0%, 16.7 points more without a single extra delivery. Only the C6 line changes status: 295 units delivered out of 300, a 1.7% shortfall, below 2%.
A 2% tolerance adds 16.7 points to order OTIF, without a single extra delivery.

Only the unit rate does not move: it counts units, not lines. Enter 2 as the quantity tolerance in the calculator to check. A tolerance belongs in the contract, set once, not in the monthly calculation.

Line OTIF or order OTIF: which one should you track?

Order OTIF reflects what the customer experiences: one missing line fails the whole order. Line OTIF, more stable, does a better job of pointing to the items at fault. Track both; report the one in the contract.

The gap between the two depends mainly on the number of lines per order. If each line had, independently of the others, a 95% chance of being perfect, a one-line order would be OTIF 95 times out of 100; a 10-line order, only 60 times (0.95 to the power of 10 = 59.9%).

Curve of order OTIF by number of lines per order, from 1 to 20, when each line has a 95% chance of being on time and in full, independently of the others: 95.0% for one line, 77.4% for five, 59.9% for ten (0.95 to the power of 10), 35.8% for twenty. A dotted line shows line OTIF, 95% throughout. Theoretical calculation.Curve of order OTIF by number of lines per order, from 1 to 20, when each line has a 95% chance of being on time and in full, independently of the others: 95.0% for one line, 77.4% for five, 59.9% for ten (0.95 to the power of 10), 35.8% for twenty. A dotted line shows line OTIF, 95% throughout. Theoretical calculation.
At 95% per line, a ten-line order is perfect only six times out of ten.

That is why the order OTIF of a distributor shipping many SKUs per order is mechanically lower than that of a manufacturer shipping a single item per order. Comparing the two compares order sizes, not performance.

Which rules should you write down before calculating?

Two companies with the same deliveries can report very different OTIF figures: the reference date, the delivery window, tolerances and exclusions move the figure as much as real progress does. These choices should be written down before the first calculation.

In France, the 2019 good-practice guide on logistics penalties from the CEPC (the French commission that reviews commercial practices) takes the same view: it defines the fill rate as conforming products delivered over products ordered, and recommends a tolerance in suppliers’ favor.

  • The reference date. The date requested by the customer, or the date you confirmed? Measuring against the confirmed date, which can be moved, gives a better figure and a poorer picture of what the customer experiences.
  • The delivery window. The exact date, the next day, a time slot? Does an early delivery count as on time? Some customers refuse it (full docks, unplanned stock). The calculator counts early as on time.
  • The point of measurement. Leaving your warehouse (shipped on time) or arriving at the customer (delivered on time)? The second includes transport and requires proof of delivery.
  • Back orders. The remainder of a line, delivered later, forms a back order. A line delivered in two shipments is complete on the date of the last one, so often late. It counts only once.
  • Over-deliveries. 110 units for 100 ordered: complete or not? The calculator applies the tolerance in both directions and caps the unit rate at the quantity ordered.
  • Rejections and returns. A line rejected at receiving for a defect or a wrong item is delivered, but not “in full” for the customer.
  • Exclusions. Orders canceled, postponed at the customer’s request, or on credit hold: remove them from the denominator, and count them separately to make sure they are not hiding late deliveries.

The reference date is the rule that matters most, and the easiest to game.

Timeline of one order, from the 9th to the 15th of the month: date requested by the customer on the 10th, confirmed for the 12th, rescheduled to the 14th, delivered on the 14th. Measured against the rescheduled date, the line is on time, a misleading result. Against the confirmed date, the recommended rule, it is 2 days late. Against the requested date, what the customer experiences, 4 days late.Timeline of one order, from the 9th to the 15th of the month: date requested by the customer on the 10th, confirmed for the 12th, rescheduled to the 14th, delivered on the 14th. Measured against the rescheduled date, the line is on time, a misleading result. Against the confirmed date, the recommended rule, it is 2 days late. Against the requested date, what the customer experiences, 4 days late.
The same delivery is on time, or 2 or 4 days late, depending on the date used.

Against the rescheduled date, everyone is on time. Keep the first confirmed date, and track the gap to the requested date separately.

How do you read the result, and what is a good OTIF?

Read OTIF against OTD and the fill rate, which tell you where to look, and against the target in the customer contract: there is no public, sourced industry average for France.

What you seeWhere to look
Low OTD, decent fill rateTransport, missed departures, promised lead times too short
Low fill rate, decent OTDStockouts, picking errors, forecasts
Decent line OTIF, low order OTIFOrders with many lines; one or two items chronically out of stock
Very high unit rate, low line rateSmall lines left behind, masked by large complete lines

In the example, OTD (84.6%) is above the line fill rate (76.9%): the distributor has a quantity problem first, not a transport problem.

The best-known public benchmark is a customer requirement. Walmart introduced its supplier OTIF program in 2017.

The US retailer required 98% from September 15, 2020, with a penalty of 3% of the cost of goods. The threshold, previously 85%, had been raised to 95% for non-food products and 97.5% for food. In February 2024, Walmart lowered its targets to 90% on time (for suppliers who arrange their own freight) and 95% in full, with the same 3% penalty.

The “95%” often cited as a good level has no source. The right target is the one in your contracts, measured with their definition and their tolerances.

OTIF on its own does not tell you what to do: broken down by cause (stockout, picking, transport, customer), by customer and by item, it points to the few lines behind most of the shortfalls.

Which mistakes distort OTIF?

The mistakes that distort OTIF almost all come from the definition, not the arithmetic: an unnamed rate, a multiplication, a date that can be moved, an incomplete extract.

MistakeWhat it does in the exampleThe fix
Reporting a “fill rate” without saying whichThe same day comes out at 50.0%, 76.9% or 93.1%Name the level: order, line or unit
Multiplying OTD by completeness65.1% instead of 69.2%: late and short lines overlap on the C5 lineTest each line, then count
Letting an over-delivery offset a shortfall120 units on one line and 80 on another seem to make 100%; capped, they make 180 ÷ 200 = 90%Cap each line at the quantity ordered
Measuring against a date that can be movedThe line rescheduled to the 14th is “on time,” yet 4 days late for the customerKeep the first confirmed date
Leaving out lines never deliveredWithout the C5 line, line OTIF goes from 69.2% to 75.0% (9 out of 12)Start from lines due, not lines shipped
Averaging the OTIF of two sites90% on 1,000 lines and 60% on 100 lines do not make 75%, but 960 ÷ 1,100 = 87.3%Add up the lines, then divide
Recalculating by hand every monthThe rules change with whoever does the calculationWrite the rules once, in the tool

How do you track OTIF every week without recalculating it?

A useful OTIF is tracked every week, with rules written down once and failed lines classified by cause: that is the job of a Power BI dashboard connected to the ERP, not of a spreadsheet.

The dashboard reads orders from the ERP and shipments from the WMS (warehouse management system). It applies the rules written before the calculation: the reference date, the tolerances, the exclusions.

It shows line and order OTIF, the fill rate and OTD. Under each figure, it lists the failed lines by cause, by customer and by carrier.

Logistics KPIs in detail, with a calculator on aggregated data, are in the logistics dashboard guide. To place OTIF among management KPIs, see the management dashboard guide. OTIF, fill rate and supplier OTIF each have their own sheet in the KPI library.

In the end, the warehouse and customer service in the scenario read the same figure, with the same definition. The Monday meeting no longer argues about the right rate: it looks at the four failed lines and decides who deals with the C5 line, still sitting on the dock.

Frequently asked questions

How do I calculate OTIF in Excel?

Add a column that tests each line: =AND(C2>0,D2<=0,C2=B2), where B is the quantity ordered, C the quantity delivered and D the days late. Line OTIF is =COUNTIF(E2:E14,TRUE)/COUNTA(E2:E14). For order OTIF, an order is perfect if COUNTIFS(A:A,A2,E:E,FALSE)=0; then divide the number of perfect orders by the number of distinct orders.

What is the difference between OTD and OTIF?

OTD (on-time delivery) measures punctuality only: lines delivered no later than the promised date ÷ lines due × 100. OTIF adds completeness. A line that is never delivered counts as late in both. In the example, OTD reaches 84.6% and line OTIF 69.2%: a high OTD with a low OTIF points to quantity shortfalls, not to transport.

What is the difference between fill rate and in-stock rate?

Fill rate assumes an order: it measures what was delivered against what was requested. The in-stock rate (product availability) applies when the customer does not order ahead, in a store or on an e-commerce site: it measures the share of items in stock at the moment the customer could buy them.

What is the difference between customer OTIF and supplier OTIF?

Customer OTIF measures your deliveries; supplier OTIF measures what you receive, against the date the supplier confirmed: same formula, opposite direction. Keep the first confirmed date: the last rescheduled date makes everyone look punctual.

Can the fill rate exceed 100%?

Not if it is calculated correctly. An over-delivery does not make up for a shortfall: each line is capped at the quantity ordered. A rate above 100% almost always means deliveries were counted without a cap, or back orders were counted twice.

Other calculators for the warehouse and the shop floor: inventory turnover for days in inventory and days of cover, OEE for the performance of a production line, and MTBF and MTTR for equipment reliability and availability.

Let’s talk about your reporting.

A 30-minute video call with Dylan Arnaud. You come away with a clear scope and a fixed price.

Dylan Arnaud, Power BI consultant and founder of Datafuji
Dylan ArnaudFounder · your single point of contact