---
title: "OTIF calculator: on time in full formula and fill rate"
url: "https://www.datafuji.com/en/tools/otif-calculator"
lang: en
updated: 2026-11-28
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://www.datafuji.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

- [Home](https://www.datafuji.com/en)

- [Tools](https://www.datafuji.com/en/tools)

- OTIF and fill rate

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

Published November 28, 2026 · Updated November 28, 2026 · 11 min read

[Dylan Arnaud](https://www.datafuji.com/en/about#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

Order lines, one per row: order; quantity ordered; quantity delivered; days late

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.

Lateness tolerance (days)

Quantity tolerance (%)

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.

| KPI | Formula | Note |
| --- | --- | --- |
| Order fill rate | Orders delivered complete ÷ orders due | One short line fails the whole order |
| Line fill rate | Lines delivered complete ÷ lines due | Each line counts once, whatever the quantity |
| Unit fill rate | Units delivered, capped at the quantity ordered ÷ units ordered | Case fill rate when orders are counted in cases |
| OTD | Lines delivered no later than the promised date ÷ lines due | On-time delivery |
| Line OTIF | Lines delivered on time and in full ÷ lines due | On time in full |
| Order OTIF | Orders whose lines are all on time and in full ÷ orders due | Perfect 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.

| Order | Ordered | Delivered | Days late | Complete | On time |
| --- | --- | --- | --- | --- | --- |
| C1 | 100 | 100 | 0 | yes | yes |
| C1 | 50 | 50 | 0 | yes | yes |
| C2 | 200 | 180 | 0 | no | yes |
| C2 | 40 | 40 | 0 | yes | yes |
| C3 | 120 | 120 | 2 | yes | no |
| C3 | 60 | 60 | 0 | yes | yes |
| C3 | 30 | 30 | 0 | yes | yes |
| C4 | 500 | 500 | 0 | yes | yes |
| C5 | 80 | 0 | not delivered | no | no |
| C5 | 24 | 24 | 0 | yes | yes |
| C5 | 10 | 10 | 0 | yes | yes |
| C6 | 300 | 295 | 0 | no | yes |
| C6 | 15 | 15 | −1 | yes | yes |

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.](https://www.datafuji.com/img/en/outils-taux-de-service-otif/outils-taux-de-service-otif-01.svg)

*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.](https://www.datafuji.com/img/en/outils-taux-de-service-otif/outils-taux-de-service-otif-02.svg)

*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%.](https://www.datafuji.com/img/en/outils-taux-de-service-otif/outils-taux-de-service-otif-03.svg)

*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.](https://www.datafuji.com/img/en/outils-taux-de-service-otif/outils-taux-de-service-otif-04.svg)

*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.](https://www.datafuji.com/img/en/outils-taux-de-service-otif/outils-taux-de-service-otif-05.svg)

*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 see | Where to look |
| --- | --- |
| Low OTD, decent fill rate | Transport, missed departures, promised lead times too short |
| Low fill rate, decent OTD | Stockouts, picking errors, forecasts |
| Decent line OTIF, low order OTIF | Orders with many lines; one or two items chronically out of stock |
| Very high unit rate, low line rate | Small 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.

| Mistake | What it does in the example | The fix |
| --- | --- | --- |
| Reporting a “fill rate” without saying which | The same day comes out at 50.0%, 76.9% or 93.1% | Name the level: order, line or unit |
| Multiplying OTD by completeness | 65.1% instead of 69.2%: late and short lines overlap on the C5 line | Test each line, then count |
| Letting an over-delivery offset a shortfall | 120 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 moved | The line rescheduled to the 14th is “on time,” yet 4 days late for the customer | Keep the first confirmed date |
| Leaving out lines never delivered | Without 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 sites | 90% 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 month | The rules change with whoever does the calculation | Write 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](https://www.datafuji.com/en/industries/transport-logistics). To place OTIF among management KPIs, see the [management dashboard guide](https://www.datafuji.com/en/management-dashboard). OTIF, fill rate and supplier OTIF each have their own sheet in the [KPI library](https://www.datafuji.com/en/kpi#kpi-otif).

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](https://www.datafuji.com/en/tools/inventory-turnover-calculator) for days in inventory and days of cover, [OEE](https://www.datafuji.com/en/tools/oee-calculator) for the performance of a production line, and [MTBF and MTTR](https://www.datafuji.com/en/tools/mtbf-mttr-calculator) for equipment reliability and availability.

Sources

- Talk Business & Politics, [Walmart demands all suppliers comply with 98% on-time in-full shipment rule](https://talkbusiness.net/2020/09/walmart-demands-all-suppliers-comply-with-98-on-time-in-full-shipment-rule/), September 3, 2020 (98% from September 15, penalty of 3% of the cost of goods, program introduced in 2017, thresholds of 85%, 95% and 97.5%), accessed November 4, 2026, rechecked November 20, 2026.

- SPS Commerce, [Walmart’s OTIF Performance Metrics](https://www.spscommerce.com/community/articles/walmart-otif-metrics), updated February 5, 2024 (from February 1, 2024: 90% on time for prepaid shipments, 95% in full), accessed November 28, 2026.

- SupplyChainBrain, [Walmart Easing Delivery Requirements for Suppliers](https://www.supplychainbrain.com/articles/39137-walmart-easing-delivery-requirements-for-suppliers), February 22, 2024 (90% on time and 95% in full, down from 98% for both since 2020; fines of 3% of the cost of goods), accessed November 28, 2026.

- ASCM, [SCOR Digital Standard, introduction](https://www.ascm.org/globalassets/ascm_website_assets/docs/intro-and-front-matter-scor-digital-standard.pdf), 2020 (Reliability attribute: on time, right quantity, right quality; Perfect Order Fulfillment, RL.1.1; Perfect Condition, RL.2.4), accessed November 20, 2026.

- French Ministry of Agriculture and Ministry of the Economy, [La Commission d’examen des pratiques commerciales publie son guide de bonnes pratiques relatives aux pénalités logistiques](https://agriculture.gouv.fr/telecharger/93883) (in French), press release of February 6, 2019 (fill rate, tolerance in suppliers’ favor), accessed November 20, 2026.

- Wikipedia, [On time, in full](https://fr.wikipedia.org/wiki/On_time,_in_full) (in French; synonym DIFOT), accessed November 20, 2026.

- AbcSupplyChain, [Taux de service, taux de disponibilité : calcul sur Excel](https://abcsupplychain.com/fr/taux-de-service/) (in French; fill rate versus in-stock rate), accessed November 20, 2026.
