What is the Pie Chart Maker?
This tool turns a list of category labels and numeric values into a pie chart. For each category it calculates the percentage share of the whole and the slice angle in degrees, then draws the chart so you can see the breakdown at a glance. It works for survey results, market share, budget categories, election seat shares, weather forecasts, school homework, or any set of comparable numbers. The math is pure arithmetic, so it applies the same everywhere with no country-specific rules.
How to use it
Enter a label and a value for each category. Labels are optional; blank labels are auto-named "Item 1", "Item 2", and so on. Leave a row completely empty to skip it. You can add an optional chart title and a start angle (the rotation of the first slice; it does not change the percentages). Values must be zero or greater, since a pie slice cannot have a negative angle.
The formula explained
First the tool sums every value to get the total \(T\). Each category's percentage is its value divided by \(T\), multiplied by 100. Its slice angle is its value divided by \(T\), multiplied by 360, because a full circle is 360 degrees. By definition the percentages add up to 100% and the angles add up to 360° (small differences can appear after rounding). If the total is zero, no division is performed and every slice shows 0% / 0°.
$$\text{Percent}_i = \frac{\text{Value}_i}{\sum \text{Value}} \times 100\% \qquad \text{Angle}_i = \frac{\text{Value}_i}{\sum \text{Value}} \times 360^{\circ}$$
Worked example
Suppose Sunny = 50, Cloudy = 30, Rain = 20. The total is 100. Sunny is \(50/100 \times 100 = 50.0\%\) and \(50/100 \times 360 = 180.0^{\circ}\). Cloudy is 30.0% and 108.0°. Rain is 20.0% and 72.0°. The percentages sum to 100% and the angles sum to 360°, so the chart draws three slices of 180°, 108° and 72°.
Common Pie Slice Angles and Percentages
Every pie chart divides a full circle of 360° into slices. Each slice's angle is its share of the total multiplied by 360°, and its percentage is its share multiplied by 100%. The table lists frequently used shares. Since 1% of the circle is 3.6°, you can convert any percentage to degrees by multiplying by 3.6.
| Fraction | Percentage | Angle |
|---|---|---|
| 1/2 | 50% | 180° |
| 1/3 | 33.33% | 120° |
| 1/4 | 25% | 90° |
| 1/5 | 20% | 72° |
| 1/6 | 16.67% | 60° |
| 1/8 | 12.5% | 45° |
| 1/10 | 10% | 36° |
| 1/12 | 8.33% | 30° |
| 1/100 | 1% | 3.6° |
| Full circle (1) | 100% | 360° |
Percentages such as 33.33%, 16.67% and 8.33% are rounded; the exact values are repeating decimals.
Reading and Interpreting a Pie Chart
- Parts of one whole: A pie chart shows how a single total is split into categories. It is not suited to data that does not form a meaningful whole, such as unrelated measurements or averages.
- Slices sum to 100%: All slice percentages add up to 100%, and all angles add up to 360°. Categories must not overlap, and none of the total should be left out.
- Number of categories: Pie charts read best with roughly 2 to 6 categories. With many slices, labels crowd and comparison becomes difficult.
- Small slices: Slices under about 5% (less than about 18°) are hard to see and compare. They are often grouped into an "Other" category.
- Majority: A slice larger than 50% (more than 180°) represents more than half of the total, that is, a majority.
- Rounding: When percentages or angles are rounded, the displayed figures may sum to slightly more or less than 100% or 360° (for example, three slices of 33.3% sum to 99.9%). This is a display effect, not an error in the data.
- When to use a bar chart instead: If categories have similar sizes, people judge lengths of bars more accurately than angles or areas of slices. A bar chart is also better for many categories, for comparing values across time, or for comparing several groups side by side.
- Start angle: The starting angle only rotates the chart. It changes where the first slice begins but not any slice's percentage or size.
FAQ
Do my values have to be percentages? No. Use any consistent unit — people, votes, dollars, counts. The tool converts them to shares automatically.
What if my values do not add up to 100? That is fine. The percentages are computed from the actual total, whatever it is.
Can I use negative numbers? No. A pie slice represents a part of a whole, so negatives are treated as zero.