Pie Chart Calculator (Percentages and Degrees)

Turn a list of categories and values into a pie chart with exact percentages and degree angles per slice.

Science Up to 12 categories Live SVG preview Percentages and angles
Rate this calculator · 3.0 (1)

Pie chart maker

Values → percentages + degrees

Instructions — Pie Chart Calculator (Percentages and Degrees)

  1. Enter a label and value for each category.
  2. Click + Add category to extend the list (up to 12 segments work well visually).
  3. The pie chart, percentages, and degree angles update live.

Values can be any positive numbers — counts, percentages, dollars, hours. The calculator normalizes them to 100 percent and 360 degrees.

Formulas

Percentage per slice

Percenti = (Valuei / Total) × 100

Angle per slice (degrees)

Anglei = (Valuei / Total) × 360°

Angle in radians

θi = (Valuei / Total) × 2π

The total of all slices always equals 100 percent and 360 degrees (2π radians). If your numbers round to 99.9 or 100.1 percent, that is normal — display rounding, not a math error.

Reference

When pie charts work well

  • 5 to 7 categories — beyond that, slices become unreadable
  • One slice clearly dominates (e.g. 60% market share)
  • Comparing parts to a whole at one point in time
  • Simple percentage breakdowns for general audiences

When to use a bar chart instead

  • Comparing values across many categories (more than 7)
  • Slices of similar size (humans compare bar lengths more accurately than wedge angles)
  • Tracking change over time
  • Showing precise numeric values

Common slice angles

PercentageDegreesRadians
10%36°π/5
25%90°π/2
33.3%120°2π/3
50%180°π
75%270°3π/2

Article — Pie Chart Calculator (Percentages and Degrees)

Pie chart calculator — percentages and slice angles

A pie chart turns a list of values into a circle of slices. Each slice's percentage equals the value divided by the total times 100. Each slice's angle equals the same fraction times 360 degrees. The whole circle is 100 percent or 360 degrees, no exceptions.

Pie charts are the most misused visualization in business presentations. Used correctly — small number of categories, one dominant slice, clear part-to-whole story — they communicate proportions at a glance. Used badly — fifteen near-equal slices, 3-D shading, exploded wedges — they bury the data under decoration. The math is simple; the design is the hard part.

What is a pie chart?

A pie chart is a circular statistical graphic divided into sectors. Each sector represents a category, with its arc length and area proportional to the category's share of the total. Reading a pie chart means estimating angles or arc lengths and translating those into percentages.

The visual works for two reasons. First, circles intuitively represent a whole — the entire universe of data sums neatly to 360 degrees. Second, large slices stand out instantly, making the dominant category obvious without effort.

Did you know

Human eyes are notoriously bad at comparing angles in the 30–60 degree range. Bar charts let viewers compare lengths, which we estimate about three times more accurately. That is why data visualization purists prefer bar charts for most comparisons — and pie charts only for clear part-to-whole stories.

Pie chart percentage and angle formula

Two equations cover the entire pie chart math. Percentage equals value over total times 100. Degrees equals value over total times 360. For radian output, swap 360 for 2π.

Pie chart conversions
1% 3.6°
10% 36°
25% 90° (quarter)
33.3% 120°
50% 180° (half)

The conversion factor from percentage to degrees is exactly 3.6. Memorizing that single number lets you sketch pie charts on paper without arithmetic — a 40 percent slice is 144 degrees, a 15 percent slice is 54 degrees, done.

Pie chart worked example

An e-commerce store reports first quarter revenue: Electronics $50,000, Clothing $35,000, Books $25,000, Other $10,000. Total $120,000.

Electronics: 50,000 / 120,000 = 41.67%, which is 150 degrees. Clothing: 29.17% or 105 degrees. Books: 20.83% or 75 degrees. Other: 8.33% or 30 degrees. Check the total: 150 + 105 + 75 + 30 = 360 degrees. Math holds.

The visual takeaway lands instantly — Electronics dominates, taking more than 40 percent of the pie. That single insight is the kind of story pie charts tell well.

Pie chart vs bar chart

Cleveland and McGill's foundational 1984 study on graphical perception ranked encoding methods by accuracy. Position along a common axis (bar charts) ranked first. Angle (pie charts) ranked low. The implication is concrete: when accuracy matters, choose a bar chart.

Pie chart
5-7 slices ideal
Part-to-whole story
Bar chart
Any count
Precise comparison

Pie charts still win in one scenario: showing a single dominant category visually. Voter turnout, market share with a leader, budget where one line item dwarfs the rest. The instant recognition of a 75 percent slice landing as three-quarters of a circle is worth the precision cost.

Pie chart design best practices

The most useful rules from professional data visualization.

  • Limit slices to 5–7. Group small categories into "Other".
  • Order slices clockwise from largest to smallest, starting at 12 o'clock.
  • Skip 3-D and exploded wedges. They distort apparent area.
  • Label outside the chart, not inside slices, especially for small slices.
  • Use distinct colors with enough contrast to read for colorblind viewers.
  • Show percentages, not raw values, in slice labels. Tables for exact numbers.
! 3-D pie charts lie

A tilted pie chart distorts the apparent size of slices in the foreground compared to the background. A slice that is geometrically 25 percent can look like 35 percent when tilted. Skip 3-D unless you are deliberately misleading the audience.

History of the pie chart

William Playfair invented the pie chart in 1801, publishing it in his Statistical Breviary to display the proportional land areas and populations of European countries. The technique was novel — most statistics at the time appeared as tables.

Florence Nightingale popularized a related form, the polar area diagram, in her 1858 reports on Crimean War mortality. Her diagrams showed monthly soldier deaths split by cause (battle wounds, disease, other) and pushed for sanitation reform on the strength of the visualization alone.

Tip

If you need to show change over time alongside a part-to-whole breakdown, use small multiples — a series of pie charts side by side — or switch to a stacked area chart. A single pie chart cannot show change, only a snapshot.

Pie chart SVG rendering

Modern web pie charts are drawn with SVG arc paths. Each slice is a path command: move to center, line out to the start of the arc, draw the arc, close back to center. The math: starting angle plus slice angle equals ending angle, with x = cx + r·cos(θ) and y = cy + r·sin(θ) for points on the circle.

SVG handles interactivity (hover, click) and scales without losing quality. For 1,000-slice datasets, canvas-based rendering is faster, but at that point a pie chart is the wrong visual anyway.

Common pie chart mistakes

Four habits ruin pie charts. Cramming in too many categories (anything past seven). Using similar colors that blur into each other. Adding decorative 3-D or shadow effects that distort area. Comparing two pie charts side by side instead of using a stacked bar — the human eye cannot align angles between separate circles.

A fifth, subtler problem is mixing categories that overlap. If you chart "spending by department" and one category is "Operations" while another is "Equipment", but equipment purchases live inside Operations, the slices double-count. Audit categories for mutual exclusivity before drawing. Each value should belong to exactly one slice.

The hardest mistake to catch is the missing baseline. If your data represents survey responses but 30 percent of respondents skipped the question, the pie chart still adds to 100 percent — silently dropping the non-responders. Always cite the base population alongside the pie chart, and consider whether "No response" should be an explicit slice.

Used correctly, the pie chart is a 200-year-old tool that still earns its place in dashboards, annual reports, and explanatory journalism. The math is two divisions and a multiplication. The discipline is knowing when to use one and when a different chart serves your reader better.

FAQ

Divide the category value by the sum of all values, then multiply by 100. Example: a sales total of $120,000 split as $50k electronics, $35k clothing, $25k books, $10k other gives 41.67%, 29.17%, 20.83%, and 8.33% respectively.
Multiply the percentage by 3.6, or equivalently divide by 100 and multiply by 360. A 25 percent slice is 90 degrees, a third of the pie is 120 degrees, and a 50 percent slice is 180 degrees.
For clarity, keep it to 5–7 slices. Beyond that the eye struggles to compare slice sizes and labels overlap. If you have more categories, group small ones into Other or switch to a bar chart.
Use a bar chart when comparing more than seven categories, when slices are similar in size, when you need precise numeric comparisons, or when showing change over time. Studies show people read bar charts about 25 percent faster and more accurately than pie charts.
Display rounding. The underlying values still sum to 100, but rounding each slice to one decimal can introduce tiny gaps or overlaps. Show one extra decimal place, or explicitly note the rounding.
William Playfair, a Scottish engineer and political economist, published the first known pie chart in his 1801 work Statistical Breviary. He used it to show the proportional land area of European countries — a radical visual for an era of tables.