ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Data tools
  3. How to Make a Pie Chart in Excel (and When Not To)

How to Make a Pie Chart in Excel (and When Not To)

By ExcelReady Team·Updated November 2, 2026·6 min read

The short answer

To make a pie chart in Excel, put category names in one column and their values in the next, select both, then choose Insert > Pie Chart > 2-D Pie. Add data labels and tick Percentage to show each slice's share. Use a pie only for a few parts of one whole; otherwise use a bar chart.

Key takeaways

  • A pie chart needs one column of labels and one column of positive values that add up to a whole.
  • Excel works out the percentages for you: tick Percentage in the data label options.
  • Sort the values from largest to smallest and group tiny slices into Other.
  • Summarise raw rows first with SUMIF or a PivotTable, then chart the summary.
  • Use a bar chart instead when you have many categories, similar values or several periods.
On this page+
  1. What data does a pie chart need?
  2. How to make a pie chart in Excel step by step
  3. How to show percentages on the slices
  4. How to make a pie chart easier to read
  5. Prepare the data with SUMIF or a PivotTable
  6. How to calculate the percentages yourself
  7. When not to use a pie chart
  8. Practise it

A pie chart in Excel shows how one whole splits into parts, such as a budget by category or sales by region. You select a column of labels and a column of values, insert a 2-D Pie, and turn on percentage labels. This guide walks through each step on Windows and Mac, shows how to prepare the data, and explains when a bar chart is the better choice.

What data does a pie chart need?#

A pie chart needs one column of category names and one column of positive numbers that together make a whole. Here is a monthly budget in A1:B6:

AB
1CategoryAmount
2Rent1,200
3Food450
4Transport180
5Utilities150
6Other120

The total is 2,100, and each slice will show its share of that total. Keep the data simple:

  • One series only. A pie shows one set of values. If you select two number columns, Excel uses only the first.
  • Positive values. A pie can't show a negative part in any useful way.
  • Parts of one whole. The values must add up to something meaningful, like a total budget. Survey answers where people could tick several options don't qualify.
  • No total row. Don't include the 2,100 total in the selection, or it becomes a giant slice.

How to make a pie chart in Excel step by step#

To insert the chart, select the labels and values together, then pick the pie type from the Insert tab:

  1. Select A1:B6, including the headers.
  2. Go to the Insert tab.
  3. Click Insert Pie or Doughnut Chart (on a Mac, the Pie button).
  4. Choose 2-D Pie.

Excel draws the chart and uses the header in B1 as the title. Click the title to type a better one, such as "Monthly budget: 2,100". To move the chart, drag its border. To resize it, drag a corner handle. The same steps work in Excel for the web.

If the chart shows one colour or a strange split, Excel probably guessed the layout wrong. Click the chart, go to Chart Design, and click Switch Row/Column.

How to show percentages on the slices#

Excel calculates each slice's percentage for you. You only have to turn the labels on:

  1. Click the chart.
  2. On Windows, click the Chart Elements button (the + beside the chart) and tick Data Labels. On a Mac, go to Chart Design > Add Chart Element > Data Labels.
  3. Open More Options (Windows) or More Data Label Options (Mac).
  4. Tick Percentage and Category Name, and untick Value.

The budget now shows Rent 57%, Food 21%, Transport 9%, Utilities 7% and Other 6%. To show one decimal place, open Number in the same pane, choose Percentage and set the decimals to 1. With labels on the slices, you can usually delete the legend, which makes the chart easier to read.

How to make a pie chart easier to read#

A pie chart works best with few slices, sorted from largest to smallest. These changes help most:

  • Sort before charting. Select the data and use Data > Sort on the Amount column, largest to smallest. The biggest slice then starts at the top and the rest follow clockwise.
  • Group small slices. Anything under about 5% is hard to see. Add those categories together into one "Other" row.
  • Rotate the pie. Right-click a slice, choose Format Data Series, and change Angle of first slice to put the most important slice where the eye lands.
  • Pull out one slice. Click the pie once to select all slices, click again to select one, then drag it outwards. Or set Point Explosion in the format pane.
  • Use one accent colour. Grey for most slices and a strong colour for the one you're talking about makes the point clear.

The guide to Excel chart basics covers titles, labels and changing the chart type for every chart, not just pies.

Prepare the data with SUMIF or a PivotTable#

Real data usually comes as one row per transaction, so summarise it before you chart it. Here are some expense rows:

ABC
1CategoryItemAmount
2TravelFlight420
3MealsLunch35
4TravelHotel280
5OfficePrinter ink60
6MealsDinner85
7TravelTaxi40
8OfficePaper25

Type the three category names in E2:E4 and total each one in F2, then fill down:

Excel formula
=SUMIF($A$2:$A$8,E2,$C$2:$C$8)

You get Travel 740, Meals 120 and Office 85. Chart E1:F4 and the pie has three clean slices. In Excel 2021 or Microsoft 365, =UNIQUE(A2:A8) can build the category list for you. The pivot-style summary lesson teaches this formula approach step by step, and the article on summarising data without a PivotTable shows more patterns.

A PivotTable does the same job without formulas. Put Category in Rows and Amount in Values, then insert a PivotChart and choose Pie. To show shares in the table itself, use Show Values As % of Grand Total. If you need a calculated measure, such as cost per trip, see PivotTable calculated fields.

How to calculate the percentages yourself#

Sometimes you need the percentages in cells as well as on the chart, for a table or a check. Divide each value by the total and lock the total with $:

Excel formula
=B2/SUM($B$2:$B$6)

For Rent, that is 1,200 / 2,100 = 0.571. Format it as a percentage to show 57.1%, and fill down with Ctrl+D (Windows) or ⌘D (Mac). The shares should add up to 100%. For the expense rows, Travel's share is 740 / 945 = 78.3%. The percentages and % change lesson practises these formulas.

When not to use a pie chart#

Use a pie chart only when a few parts of one whole is the whole story. Choose a bar or column chart instead when:

  • There are many categories. More than about six slices turn into a wheel of thin wedges.
  • The values are close in size. People can't tell 22% from 25% by angle, but they can by bar length.
  • You compare several periods. Two pies side by side are hard to compare. Use a clustered column chart.
  • Values are negative or don't add up to a total. A pie implies 100%.
  • The exact ranking matters. A sorted bar chart shows the order at a glance.

The guide to making a bar chart in Excel shows the switch. You can change an existing pie with Chart Design > Change Chart Type, and your data and title stay in place.

Practise it#

Charts are only as good as the numbers behind them. Try the exercise on this page, then build a pivot-style summary in a live spreadsheet and practise percentages and % change. You type each formula and it is checked instantly, so your next pie chart starts from the right totals.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Before you chart these expenses, work out Travel's share of the total. In F2, divide the Travel total by the grand total: =SUMIF(A2:A8,"Travel",C2:C8)/SUM(C2:C8).

fx
ABCDEFG
1
Category
Item
Amount
2
Travel
Flight
420
Travel share
3
Meals
Lunch
35
4
Travel
Hotel
280
5
Office
Printer ink
60
6
Meals
Dinner
85
7
Travel
Taxi
40
8
Office
Paper
25
9
10
11

Tip: SUMIF adds the Travel amounts. SUM adds every amount. Divide the first by the second.

Practise this in a lesson

LessonPivot-style summary with formulasBuild a summary table like a pivot table with formulas: a sorted UNIQUE list of categories, then SUMIFS and COUNTIFS filled down beside it.LessonPercentages and % changeCalculate percent change with (new - old) / old, format it as a percentage, and grow a number by a percent.

Frequently asked questions

How do I show percentages on a pie chart in Excel?

+

Click the chart, add Data Labels, then open More Options and tick Percentage. Untick Value if you only want the percentage. Excel calculates each slice's share of the total for you.

Why is my pie chart showing only one color or one slice?

+

Usually you selected only the numbers, or Excel read the data as several series. Select the label column and the value column together, and check that the values run down one column.

How many slices should a pie chart have?

+

As few as possible. Around five or six is a sensible limit. Group the smallest categories into one slice called Other, or switch to a bar chart.

Can a pie chart show negative numbers?

+

Not in a useful way. A pie shows parts of a positive whole, so negative values or values that don't add up to a total belong in a bar or column chart.

How do I make a pie chart from a PivotTable?

+

Click inside the PivotTable, then choose PivotChart on the PivotTable Analyze tab and pick Pie. Keep only one field in Values so the pie has one series.

Sources

  • Create a chart from start to finish - Microsoft Support
  • Calculate percentages - Microsoft Support
  • Create a PivotTable to analyze worksheet data - Microsoft Support

Written and checked by the ExcelReady Team. First published November 2, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. What data does a pie chart need?
  2. How to make a pie chart in Excel step by step
  3. How to show percentages on the slices
  4. How to make a pie chart easier to read
  5. Prepare the data with SUMIF or a PivotTable
  6. How to calculate the percentages yourself
  7. When not to use a pie chart
  8. Practise it

Keep reading

Data tools· 6 min read

How to Make a Bar Chart in Excel

To make a bar chart in Excel, select your labels and numbers with their headers, go to Insert > Insert Column or Bar Chart, and pick Clustered Bar. Excel draws one horizontal bar per row. Add a title and data labels, and sort the data smallest to largest so the biggest bar is at the top.

Data tools· 5 min read

Make a Chart in Excel: Column, Bar, Line and Pie

To make a chart in Excel, select your data including the headers, go to Insert and pick a chart, or click Recommended Charts to let Excel suggest one. Use a column or bar chart to compare categories, a line chart for a trend over time, and a pie chart only for a few parts of one whole.

Data tools· 5 min read

Calculated Fields in a Pivot Table

A calculated field is a new value column you create inside a pivot table from a formula, such as =Sales-Cost for profit. Click the pivot, go to PivotTable Analyze > Fields, Items & Sets > Calculated Field, type a name and formula, then click Add. It works on summed fields, so ratios work but row-level maths like Units*Price doesn't.

More on data tools

  • How to Make a Pivot Chart in Excel
  • Show Zero Instead of Blank in a Pivot Table
  • Pivot Table "Show Values As" Explained
  • Pivot Tables in Excel: A Beginner's Guide
  • Count in a Pivot Table: Count vs Distinct Count
  • Group Dates by Month or Year in a Pivot Table
All data tools articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free