3

We often display percentages which sum is expected to equal 100%. For example, in a pie chart. These percentages are sometimes rounded, either for clarity (25% instead of 25.434%) or because we have to (67% instead of 66.66666...%).

However, this can lead to inconsistencies. For example, take a 1/3-1/3-1/3 situation. We have three percentages, all equal to 33.333333...%. These percentages have to be rounded, whatever it is 33.33% or simply 33%. But 33% + 33% + 33% is equal to 99%, not the expected 100%.

I see two solutions:

  • Just use 33%. It is up to the user to realize that the mistake is due to rounding issues.
  • Adjust one of the percentage: 33%, 33% and 34%. The sum is equal to 100%, which is satisfying. However, the percentages are not identical, which is somehow misleading.

What are the best practices?

5
  • 33/33/34 wrongly gives 34 the priority. Feb 3 at 9:37
  • Rounding to integers is part of the problem. Can you round to a decimal place or two? Feb 3 at 9:41
  • 33/33/34 is clearly wrong. However it might not happen that often in real life examples. Let's say we figures in the hundreds, a strict 1/3 - 1/3 - 1/3 is unlikely. So 33/33/34 might appear as a rare, non-harmful bug. I don't pretend this is the right solution (I would not have posted this question in the first place), I just highlight it might be.
    – philippe_b
    Feb 4 at 8:56
  • @bloodyKnuckles Using a few decimals just moves the issue, and make it less relevant. 33.3% / 33.3% / 33.4% is still wrong, but less. It will probably be easier for the user to ignore the problem.
    – philippe_b
    Feb 4 at 9:17
  • 1
    I think giving even one decimal is enough for people to figure it out / feel resolved about it not adding up. As soon as they know they're dealing with some sort of precision it's a different ballgame. 33 + 33 + 33 feels very different from 33.3 + 33.3 + 33.3. Feb 5 at 20:24

1 Answer 1

1

When a decimal value is encountered, add a plus sign instead of inconsistent round, or including the decimal value:

"pie" chart

  • Pumpkin: 33%+
  • Apple: 33%+
  • Lemon Meringue: 33%+
2
  • 1
    Or alternatively: ~33%
    – Tim
    Feb 7 at 17:26
  • 1
    Some, maybe obvious, distinction between + and ~, 33+ means 'more than 33', and ~33 means 'around 33', or 'approximately 33', not as precise. ~ is similar to +/-. Feb 8 at 16:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.