Quality control

How to make a Pareto chart in Excel, step by step

Build a Pareto chart from defect data with cumulative percentages, using a simple example from a bakery.

A Pareto chart ranks the causes of a problem from the biggest to the smallest, and adds a line showing the cumulative percentage. It helps you see the few causes that create most of the problem, so you can fix those first. The idea is often called the 80/20 rule.

Step 1: prepare the data

DefectCountPercentCumulative %
Under-baked centre4246.7%46.7%
Burnt crust2123.3%70.0%
Wrong shape1213.3%83.3%
Underweight910.0%93.3%
Other66.7%100.0%

This example has 90 rejected loaves in total. Two defect types explain 70% of the rejects, so the team should start with them.

Step 2: sort and calculate in Excel

  1. Type the defects in column A and their counts in column B.
  2. Sort the table by count from largest to smallest. Put 'Other' last, even if it is not the smallest.
  3. In column C calculate the percentage: for the first row type =B2/SUM($B$2:$B$6) and fill down.
  4. In column D calculate the cumulative percentage: in the first row type =C2, and in the second row type =D2+C3, then fill down. The last value should be 100%.

Step 3: make the chart

  1. Select the columns Defect, Count and Cumulative %.
  2. In newer versions of Excel, you can use Insert, then Charts, then Histogram, then Pareto. It sorts and draws the line for you.
  3. Or use a combination chart: Insert, then Recommended Charts, then Combo. Choose 'Clustered Column' for Count, and 'Line' for Cumulative %, and tick 'Secondary Axis' for the line.
  4. Set the secondary axis maximum to 100%.
  5. Add a title and label the axes. Make sure the bars touch for a Pareto look, by setting the gap width to 0 to 10%.

How to read and use it

  • Focus on the tall bars on the left, before the cumulative line flattens.
  • Check the chart again after your improvement. The bars should shrink.
  • Use counts or costs. Costs may point to a different priority than counts.

Key points

  • Sort the causes, then calculate cumulative percentages.
  • Use a column chart plus a line on a secondary axis.
  • Act on the few causes that explain most problems.
  • Repeat after improvement to confirm the effect.

Frequently asked questions

Is the 80/20 rule always exact?

No. It is a rule of thumb that a few causes create most effects. Your data may show 70/30 or 90/10, and that is fine.

Should 'Other' go first if it is the biggest?

No. Keep 'Other' last. If it is very large, your categories are too broad and you should split them.

Can I use cost instead of count?

Yes. A Pareto by cost shows where the money is lost, which can be a different priority than the most frequent defect.

Written by Dr. Mokhtar Harb Abdelkhalek, PhD

Associate Professor of Food Science and Technology, Food Technology Research Institute (FTRI), Agricultural Research Center, Egypt. Food safety consultant and instructor.

About the author

This lesson is for education. Always follow the food law and the requirements of your own country, authority or customer.

Want to go deeper?

Take the full course with video lessons, forms and exercises.

Related lessons

Quality control

The 7 basic quality control tools and how to use them in a food plant

Check sheet, histogram, Pareto chart, cause-and-effect diagram, scatter diagram, control chart and stratification.

6 min read
Read the lesson
Quality control

How to prepare for a food safety audit

A practical checklist for the weeks before, the day of the audit, and how to handle findings.

6 min read
Read the lesson
Quality control

How long does ISO 22000 or HACCP certification take?

The typical stages, a realistic timeline for a small or medium business starting from zero, and what affects the time.

6 min read
Read the lesson