How to Make a Pie Chart: A Practical Guide to Data Visualization

Utilko Team 5 min read Math Tools

What Is a Pie Chart?

A pie chart is a circular graph divided into slices that represent proportions of a whole. Each slice's size corresponds to the percentage it represents — a 25% slice occupies one quarter of the circle. Pie charts are best used when you have a small number of categories (2–6) and want to show how parts relate to the whole.

When to Use a Pie Chart

Good uses:

  • Market share (Company A: 45%, Company B: 30%, Company C: 25%)
  • Budget breakdowns (rent, food, entertainment as % of income)
  • Survey results with a few categories
  • Simple compositions where parts add to 100%

When to avoid pie charts:

  • More than 6 categories — slices become too small to read
  • Comparing values across multiple time periods (use a line chart)
  • When precise comparisons matter (bar charts are more accurate)
  • When values are very similar in size (hard to distinguish visually)

How to Calculate Pie Chart Angles

Each slice angle = (value ÷ total) × 360°

Example: You surveyed 200 people about their favorite fruit. Results: Apple 80, Banana 50, Mango 40, Other 30.

CategoryCountPercentageAngle
Apple8040%144°
Banana5025%90°
Mango4020%72°
Other3015%54°

How to Create a Pie Chart Step by Step

  1. Gather your data — make sure all categories add up to 100% (or the same total).
  2. Convert to percentages — divide each value by the total and multiply by 100.
  3. Choose a tool — use an online chart maker, Google Sheets, Excel, or a dedicated charting library.
  4. Input your data — enter labels and values.
  5. Choose colors — use contrasting colors that are accessible to colorblind viewers. Avoid red-green combinations.
  6. Add labels — include both the category name and percentage directly on or next to each slice.
  7. Add a title — always title your chart with what it represents.

Pie Chart Design Best Practices

  • Start the largest slice at 12 o'clock — makes the chart easier to read.
  • Limit to 6 categories maximum — group small values into an "Other" category.
  • Don't use 3D effects — they distort proportions and make data harder to read accurately.
  • Use direct labels, not a legend — a separate legend requires the reader's eye to travel back and forth.
  • Consider a donut chart — same as a pie chart but with a hole in the center, often cleaner looking with a total in the middle.

Try It Free

Calculate percentages and proportions instantly for your data visualization needs.

Percentage Calculator →

Tools Mentioned in This Article