Pie Chart Maker

Paste category values to create a pie or doughnut chart and percentage table. Choose your style, control labels and the legend, then download a PNG or SVG.

Free online tool

Create your pie or doughnut chart

Data stays in your browser
Save / open project

Saved on this device. Browser data deletion can remove charts. Download a project file for a portable backup.

My Charts

Saved on this device · No account required

1. Enter data

Or drop one file here. Up to 2 MB; nothing is uploaded to a server.

Use one category and one non-negative value per row.

Editable chart data
#CategoryValueActions
1
2
3
4
2. Customize
Subtitle, source and footnote

Plain text included in the preview and image exports. Long text wraps and reduces the plot's available space; keep notes brief and use a larger image for detailed captions. No text is sent to analytics.

Colour palette

Keep labels or legends visible; colours alone may not distinguish every series. Colours repeat for larger datasets.

Changes the chart and legend order. Your data rows and category colours stay attached.

Individual slice colours and highlights

Highlighted slices keep their colour and gain an outline; other slices are muted. Changing the palette keeps individual overrides.

Product A
Product B
Product C
Product D

Added to the chart’s accessible description and SVG. For a PNG, add this description as alternative text wherever you publish the image.

Long labels are shortened and crowded labels may be omitted to avoid overlap. All categories and exact values remain in the table. Display rounding never changes slice sizes.

Preview

4 categories · total 100

Pie chart with 4 categories totaling 100. Category values and percentages are available in the table below.

Applies to PNG and SVG downloads. Dark labels work best on light backgrounds. The preview checkerboard is not exported.

Applies to PNG and SVG downloads. The preview matches the image proportions; wider images retain side padding to avoid distortion. SVG stays sharp when resized; some editors may substitute fonts.

Category shares

Values and percentage shares displayed in the pie chart
CategoryValuePercentage
Product A4040%
Product B3030%
Product C2020%
Product D1010%
Total100100%
Quick guide

How to make a pie chart

  1. Enter category values. Paste two spreadsheet columns or edit the category and value cells.
  2. Check the total. Remove negatives and make sure at least one category is greater than zero.
  3. Choose the style. Select Pie or Doughnut. Add a title, choose labels and percentages, and optionally show a centre total for doughnut charts.
  4. Export it. Confirm the exact shares in the table, then download a PNG or SVG.

What is a pie chart?

A pie chart shows how non-negative categories contribute to one total. Each slice uses an angle and area proportional to its value, so all visible slices together represent 100%. It is most useful for a small set of clearly different shares.

How percentages are calculated

The tool adds all category values, divides each value by that total, and multiplies the result by 100. Decimal inputs are supported. Zero values are retained at 0% in the table but do not create a visible slice, while an all-zero dataset cannot form a pie.

Pie or doughnut?

A doughnut chart shows the same parts of a whole as a pie, with the centre removed. The ring leaves room to display the total without changing any category’s share. Choose it when that total adds context; use a pie when a filled circle is clearer. Neither style is ideal for comparing many nearly equal values.

When a pie chart is appropriate

Use a pie chart when categories are mutually exclusive parts of one meaningful whole and the number of categories is small. It can communicate a dominant share or a simple split quickly—for example, a budget allocation, product mix, or response distribution at one point in time.

This tool focuses on presenting category shares. For classroom work that needs fraction shares and sector angles, use the dedicated Circle Chart Maker.

When not to use a pie chart

A pie chart is a poor fit for negative values, overlapping categories, changes over time, or many similar slices. People compare aligned lengths more accurately than angles, so small differences are usually clearer in a horizontal bar or vertical column chart. Never hide rejected values merely to make a pie render.

Pie chart vs bar chart

Use pie for composition

Show a few non-negative parts that combine into one total.

Use bars for comparison

Compare exact category sizes, negatives, long labels, or many items.

Keep the table

Use the percentage table when precise values matter beyond the overall visual pattern.

Pie chart maker FAQ

Can I make a doughnut chart?

Yes. Choose Doughnut under Chart style to turn the pie into a ring. The category values and percentages stay the same. You can show or hide the total in the centre, then download the chart as PNG or SVG.

How are pie chart percentages calculated?

Each category value is divided by the sum of all non-negative category values and multiplied by 100. The accessible table shows the resulting share.

Can a pie chart contain zero values?

Yes. A zero-value category remains in the table at 0% but has no visible slice. The full dataset must contain at least one value greater than zero.

Why are negative values rejected?

Pie slices represent non-negative parts of one total. A negative slice has no valid area, so the tool blocks the chart instead of silently producing a misleading result.

Is my category data uploaded?

No. Validation, percentage calculations, rendering, and export all happen locally in your browser.

Learn with examples

Lessons and printable worksheets

Practise with original sample data, worked answers, and free classroom worksheets.