Home · Statistics · Descriptive Statistics · Pie Chart Calculator

Pie Chart Calculator

The figures behind a pie chart from a list of category values: the total the shares are taken from, each category's percentage and its slice angle.

Your figures

Example result — edit the figures to make it yours

100

Part 130% — 108 degrees
Part 220% — 72 degrees
Part 325% — 90 degrees
Part 415% — 54 degrees
Part 510% — 36 degrees

What this calculator does

The figures behind a pie chart from a list of category values: the total the shares are taken from, each category's percentage and its slice angle. Every figure on this page is computed from the standard definition stated below — the same definition used in textbooks and reference tables — with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

Share = value / total; slice angle = 360° × value / total, with total = Σ values

The headline figure is the total, the sum of every value in the list, because all shares and angles are taken relative to it.

Each category's percentage is 100 × value / total, and its slice angle is 360° × value / total, so the percentages sum to 100 and the angles to 360°.

Values should be non-negative parts of one whole; a pie chart cannot show negative parts or overlapping categories.

Worked example

With the example inputs this page opens with, the result is 100.00. Change any figure and the result updates with the same formula.

Quick reference

Quick reference — the worked example in full
FigureValue
Result100.00
Part 130% — 108 degrees
Part 220% — 72 degrees
Part 325% — 90 degrees
Part 415% — 54 degrees
Part 510% — 36 degrees

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How is a slice angle worked out?

Multiply the category's share of the total by 360°. A value of 30 out of a total of 100 is 30% of the pie, so its slice is 0.30 × 360° = 108°.

When is a pie chart a poor choice?

When there are many categories, when slices are close in size and hard to tell apart by eye, or when values are not parts of a single whole. A bar chart compares such values far more reliably.

How does the Pie Chart Calculator work?

The figures behind a pie chart from a list of category values: the total the shares are taken from, each category's percentage and its slice angle. Values (list) → Total of all values. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Pie Chart Calculator need?

Values (list) → Total of all values. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.