Pie Chart Generator

Turn a list of values into pie-chart slices with percentages and angles, drawn on a canvas in the browser.

100% FreeNo sign-upPrivate — runs in your browser
—

Total

Total
—
Number of slices
—
Largest slice
—
Smallest slice
—

Copied to clipboard

How to use this tool

1
Enter the values

Enter the values separated by commas.

2
Add labels if you like

Optionally enter matching labels, also comma separated.

3
Read the slices

Read each slice’s percentage and start/end angles.

4
View the chart

View the drawn chart below the results in the browser.

Formula & worked example

Slice percentage = value ÷ total × 100; slice angle = value ÷ total × 360°.

Values 30, 50, 20 give slices of 30%, 50% and 20%, with angles of 108°, 180° and 72°.

Limitations — read this before you rely on it

Values must be zero or positive and sum to more than zero; pie charts are a poor choice when values are very many or nearly equal in a way that needs precise comparison.

Frequently asked questions

As many as you list, but charts with more than about eight slices get hard to read; consider grouping small values.

If you give fewer labels than values, the rest are named Slice 4, Slice 5 and so on.

Yes. Values may be decimals; only the proportions matter.

Because every slice shares one total, so percentages always add to 100% and angles to 360°.

The chart is drawn on a canvas in your browser; take a screenshot or use your browser’s save-image option on the canvas.