# EPEI (Every Part Every Interval) Calculator

> Source: https://netray.co/tools/epei-every-part-every-interval-calculator
> Publisher: Netray (netray.co), AI and integration engineering for ERP and manufacturing systems.
> Section: Free Tools

## Short answer

Calculate how often you can make every part on a shared resource given changeover time, demand and run time, and the batch each part needs.

## Category

manufacturing

## Industry

Discrete Manufacturing

## Audience

- Lean practitioner
- Production planner
- Value stream manager
- Industrial engineer

## Tool

**Kind:** calculator

**Inputs:**

#### Number of part types on the resource

**Key:** parts

**Type:** number

**Default:** 12

**Min:** 1

**Step:** 1

**Unit:** parts

#### Average changeover time

**Key:** changeover

**Type:** slider

**Default:** 20

**Min:** 5

**Max:** 60

**Step:** 5

**Unit:** min

#### Average daily demand per part

**Key:** daily_demand

**Type:** number

**Default:** 50

**Min:** 0

**Step:** 5

**Unit:** units

#### Average cycle time per unit

**Key:** cycle_sec

**Type:** number

**Default:** 60

**Min:** 1

**Step:** 1

**Unit:** sec

#### Available time per day

**Key:** avail

**Type:** number

**Default:** 840

**Min:** 1

**Step:** 10

**Unit:** min

**Help:** Net of breaks and planned maintenance.

**Outputs:**

#### Run time needed per day

**Key:** run_min

**Expr:** parts * daily_demand * cycle_sec / 60

**Format:** minutes

#### Time left for changeovers per day

**Key:** remaining

**Expr:** avail - run_min

**Format:** minutes

**Description:** Zero or negative means the resource is overloaded.

#### Changeover time for one full cycle

**Key:** co_total

**Expr:** parts * changeover

**Format:** minutes

#### EPEI

**Key:** epei

**Expr:** if(gt(remaining, 0), co_total / remaining, 0)

**Format:** days

**Primary:** true

**Description:** Days between runs of the same part. Shows 0 if overloaded.

#### Batch per part per run

**Key:** batch

**Expr:** daily_demand * epei

**Format:** integer

**Primary:** true

#### Run time loading

**Key:** load_pct

**Expr:** run_min / avail * 100

**Format:** percent

**Chart:**

#### EPEI (days) vs changeover time

**Type:** line

**X:** changeover

**From:** 5

**To:** 60

**Steps:** 12

**Series:**

- epei

**Disclaimer:** Planning model with average values. If run time exceeds available time the resource is overloaded and EPEI is shown as 0.

## Content

**Intro:** EPEI is the interval at which you can produce every part on a shared resource once. It links changeover time, capacity and batch size, and tells you the smallest batch the line can sustain without losing output.

**Sections:**

#### How to use it

**Body:** List the part types that share the machine or line, then enter their average changeover time, average daily demand and cycle time per unit. Enter net available time per day. The calculator works out the run time needed per day, the time left for changeovers, and the EPEI in days. It then converts EPEI to a batch per part. If run time exceeds available time, no batching strategy works until capacity or demand changes.

#### The formula

**Body:** Total changeover time in one cycle equals parts times average changeover. Capacity left for changeovers per day equals available time minus daily run time. EPEI equals total changeover time divided by that remaining time. A shorter EPEI means smaller batches and less inventory. The batch for each part is daily demand times EPEI. This is the repetitive version of the classic economic batch idea, used in lean to set the production cycle in a mixed model cell.

**Bullets:**

- EPEI = parts x changeover / (available - run time)
- Batch = daily demand x EPEI
- Cut changeover to cut EPEI
- Averages hide fast and slow movers

#### Reading the result

**Body:** An EPEI of one day means you can produce every part daily. Three days means each part runs every three days and you hold safety stock for the gap. The chart shows how steeply EPEI grows with changeover time, which is the business case for SMED. When loading is above about 85 percent, EPEI rises quickly because there is little spare time for setups.

#### Common mistakes

**Body:** Using one average for fast and slow parts hides cases where a few high runners should be made every day and the long tail less often. Forgetting scrap, unplanned stops or yield reduces real available time. Use OEE-adjusted available time if possible. Update the ERP lot size rules, such as fixed order quantity or period order quantity, so planning follows the interval you chose.

**Bullets:**

- Single average for all parts
- Not deducting stops and scrap
- ERP lot size not updated
- Ignoring overloaded resources

**Cta:** Netray can help pull part-level demand, cycle and setup data from your ERP so EPEI is calculated from real numbers for each resource.

**Faq:**

#### What is a good EPEI?

**Answer:** Shorter is better. Many plants target one to five days, depending on the product and the cost of changeover. Compare against your replenishment lead time and the variability in demand.

#### How does EPEI relate to SMED?

**Answer:** Changeover time is in the numerator, so reducing it directly shortens EPEI. SMED is the method, EPEI is the measure that shows whether the improvement pays off in smaller batches.

#### What if the resource is overloaded?

**Answer:** If run time alone exceeds available time, you need more capacity, less demand, better OEE or an extra shift. Batching changes cannot fix a resource without enough hours.

#### Should I use average or part-specific data?

**Answer:** Start with averages for a fast estimate, then split into runners, repeaters and strangers. Apply a shorter interval to high-volume parts and a longer one to the tail.

## Search terms

epei calculator, every part every interval, epei formula lean, production cycle interval calculator, heijunka epei, repetitive batch size calculator, changeover and epei

---
Talk to an engineer: https://netray.co/contact?intent=erp_ai | Machine catalog: https://netray.co/agent/catalog.json
