How to Interpret Stacked Bar Graphs with Examples?

Stacked Bar Graph represents two or more related data series in one bar. Each bar is divided into segments, and the full bar shows the total value. This page explains how to read segment values, calculate totals, compare categories, find percentages and solve stacked bar graph questions using a clear numerical example.

On this page

What Is a Stacked Bar Graph?

A stacked bar graph is a bar chart in which each bar is divided into segments representing different components of a total.

The height or length of a complete bar gives the combined value of all segments. If a bar has components A and B, then Total = A + B. The value of an individual component is read from the difference between its upper and lower boundaries on the scale. For example, if the first segment reaches 40 and the full bar reaches 70, the second segment is 70 − 40 = 30.

Stacked Bar Graph Video Lessons

Watch short topic-wise lessons for quick revision.

8 Lessons
Lesson 1 of 8 Quick Revision

Double and Stacked Bar Graphs

Learn to read double and stacked bar graphs, compare values across categories, and interpret how individual components contribute to total quantities.

Continue with more lessons and practice in PrepShots.Watch More in App - Start ₹1 Trial →
More Stacked Bar Graph Lessons Scroll to explore →

Stacked Bar Graph Formula & Tricks

Important Formulas

Total value of a bar
Total = Component 1 + Component 2 + ... + Component n

Add all segment values in the same bar to obtain the category total.

Unknown segment
Unknown segment = Total − Sum of known segments

Subtract the known segment values from the complete bar total.

Component percentage
Component percentage = (Component ÷ Total) × 100

Use the component value and the total value from the same bar.

Difference between category totals
Difference = Larger total − Smaller total

First calculate the total of each complete bar, then subtract.

Ratio of two components
Ratio = Component A : Component B

Compare the requested segments and simplify the ratio by their greatest common divisor.

Quick Tricks

Read boundaries before reading segments

A segment value is often the difference between its top and bottom scale readings. Do not treat the upper boundary as the segment value unless the segment starts at zero.

Example: If a segment begins at 25 and ends at 60, its value is 60 − 25 = 35.
Calculate complete bars first

For questions involving the largest total, average or percentage of a total, add every segment in each category before comparing the bars.

Example: For segments 45 and 30, the total is 75, not 45 or 30.
Use a common scale interval

Check the numerical scale on the vertical or horizontal axis. Equal visual lengths represent equal values only when the scale intervals are uniform.

Example: If each major division represents 10 units, a segment covering three divisions represents 30 units.

Stacked Bar Graph Concepts

Reading Segment Values

A segment value equals its upper boundary minus its lower boundary on the graph scale.

The first segment usually begins at zero, so its value is its upper boundary. For every later segment, subtract the starting boundary from the ending boundary.

Example: If the first segment ends at 50 and the second segment ends at 80, the second segment equals 80 − 50 = 30.

Finding Category Totals

The total for a category is the height or length of the entire stacked bar.

Add all components in that bar or read the final boundary directly when the scale is clear. For three components X, Y and Z, Total = X + Y + Z.

Example: A bar with values 24, 36 and 15 has total 24 + 36 + 15 = 75.

Comparing Components and Totals

Compare the same segment across bars for component questions and compare complete bar totals for overall questions.

The difference between two components is found by subtraction. To find the category with the highest overall value, calculate the complete total of every category.

Example: If the book component is 50 in 2021 and 65 in 2022, the increase is 65 − 50 = 15.

Percentage and Ratio from Stacked Bars

A component's share is calculated using that component divided by the complete bar total.

Use Component percentage = (Component ÷ Total) × 100. For a ratio, write the two requested component values in the same order and simplify them.

Example: If books are 40 and e-books are 20, books form (40 ÷ 60) × 100 = 66⅔% of the total, and the ratio is 40:20 = 2:1.

Solving Missing-Component Questions

A missing component is found by subtracting the known components from the complete bar total.

Use Unknown component = Total − Sum of known components. The result must be non-negative and must not exceed the total.

Example: If the total is 96 and two known components are 38 and 27, the missing component is 96 − 38 − 27 = 31.

Stacked Bar Graph Visual Guide & Data

Use the table and chart below to understand the data better.

Books and E-books Sold

Source data for the stacked bar graph example, with values in hundreds of copies.

Year Books E-books
2021 40 20
2022 50 30
2023 45 35
2024 60 25

Note: Complete totals are 60, 80, 80 and 85 hundred copies for 2021, 2022, 2023 and 2024 respectively.

Books and E-books Sold by Year

Visual guide: Books and E-books Sold by Year
Each bar shows the total sales, divided into books and e-books; values are in hundreds of copies.

Learn more concepts on PrepShots

Start ₹1 Trial →

Practice Stacked Bar Graph Questions

Practise published questions related to this topic.

Want more practice questions?

Practice in App →

Stacked Bar Graph Quick Quiz

Attempt 5 questions and check your score instantly.

Quick Revision Notes

Stacked Bar Graph Revision Points

Use these rules to read and calculate values from a stacked bar graph.

  • A complete bar represents the sum of all its segments.
  • Segment value = upper boundary − lower boundary.
  • Total = sum of all component values.
  • Unknown component = total − sum of known components.
  • Component percentage = (component ÷ total) × 100.
  • Compare complete bars for total-based questions and matching segments for component-based questions.
  • Always check the scale interval before reading a value.
  • In the example, the totals are 60, 80, 80 and 85 hundred copies.

Stacked Bar Graph FAQs

What is the stacked bar graph formula for total value?

Total value = Component 1 + Component 2 + ... + Component n. Add every segment in the same bar.

How do you find a segment when its starting and ending values are given?

Subtract the starting boundary from the ending boundary. For example, a segment from 30 to 75 has value 75 − 30 = 45.

What is the total for 2024 in the example graph?

The 2024 total is 60 + 25 = 85 hundred copies.

Which year has the highest total in the example?

2024 has the highest total, with 85 hundred copies. The totals for 2022 and 2023 are both 80 hundred copies.

What percentage of the 2022 total is represented by e-books?

The percentage is (30 ÷ 80) × 100 = 37.5%.

What is the ratio of books to e-books in 2023?

The ratio is 45:35, which simplifies to 9:7.

Continue learning Stacked Bar Graph on PrepShots

Continue on PrepShots