Context Diagram: Definition, Example & How to Draw [2026]

A. Togay Koralturk A. Togay Koralturk, Best-Selling PMP Author Last updated on October 22, 2026 12 min read

Ask a project team what their new system does and you will get a long answer. Ask what it does not do, and the room goes quiet. A context diagram answers that second question on a single page, before it turns into a dispute. This guide explains the context diagram in full: what it includes, a worked example, how to create one, how it differs from a data flow diagram and a use case diagram, and how it appears on the PMP and CAPM exams.

What is a context diagram?

A context diagram is a high-level diagram that shows a system as a single shape, the external people and systems that interact with it, and the information flowing between them. It deliberately hides everything inside the system. Its only job is to show the system's boundary and what crosses it.

Because it shows the whole system at once, the context diagram is sometimes called a level 0 data flow diagram or a context-level diagram. It is one of the simplest models in business analysis, and one of the most useful. A sponsor, a developer, and an auditor can all read it in under a minute.

For project managers, the value is the boundary. Everything inside the central shape is work the project will build. Everything outside it is something the project only connects to. That line is exactly where many scope disputes start, so drawing it early prevents them.

What is in a context diagram?

A context diagram has three elements: the system, the external entities, and the data flows. Nothing else belongs on it. That limit is what keeps it readable.

  • The system. The system being built or changed, drawn as one shape (usually a circle) in the center. Its internal parts are not shown.
  • External entities. The people, groups, organizations, and other systems that interact with the system. They are drawn around it, usually as rectangles. An entity is outside the project's control.
  • Data flows. Labeled arrows that show the information moving between the system and each entity. Each label names the information, such as "order details" or "payment confirmation," not the action.

Note that the external entities are not limited to people. Other software systems, regulators, and partner organizations count too. In practice, the missing external system is the most common gap a context diagram exposes.

Ready to take the next step in project management?

200,000+ Professionals Taught by Our Instructors

Context diagram example

Consider the customer self-service portal from our requirements traceability matrix example. The portal lets customers reset passwords, update their records, and search their history. Its context diagram looks like this.

Context diagram for a customer self-service portal The customer self-service portal is drawn as one rectangle in the center. Four external entities sit in the corners: the customer and the support agent above, the customer records system and the records archive below. A pair of elbow arrows connects each entity to the portal, one for each direction, and every arrow is labeled with the information it carries, labeled and pointing in the direction the information moves. Customer Support agent Customer records system Records archive Customer Self-Service Portal requests confirmations case notes case history record updates customer data closed records archived records
A context diagram for the customer self-service portal. The system is in the center, the external entities are in the corners, and each arrow is one information flow.

Read the diagram as a list of decisions. The portal sends record updates to the customer records system, but it does not replace that system. The portal sends closed records to the records archive, which keeps them for seven years as a regulation requires, and retrieves archived records when customers search their history. The archive itself is outside the project. The customer and the support agent are outside too. The project serves them, but it does not change how they work. Each of those lines tells the team, and the sponsor, where the project's work stops.

Now imagine a stakeholder asks the portal team to "also fix the duplicate records in the customer records system." The diagram makes the answer visible. That system is outside the boundary, so the request is new scope and needs a decision, not a quiet yes. This is how a context diagram helps prevent scope creep.

How to create a context diagram

A context diagram can be drawn in less than an hour, on a whiteboard or in any diagramming tool. The following steps work for most projects.

  1. Name the system. Write the system or solution being built in a single shape at the center. Agree on its name before going further.
  2. List the external entities. Ask who and what interacts with the system, such as users, departments, other systems, partners, and regulators. Use the stakeholder list and the requirements gathering notes as sources.
  3. Place the entities around the system. Draw each one as a rectangle. Keep the layout simple, and avoid crossing lines.
  4. Draw and label the data flows. For each entity, draw an arrow for every flow of information and label it with a noun phrase, such as "invoice" or "shipping request."
  5. Check the boundary. For every entity, ask whether the project will build or change it. If yes, it belongs inside the system, not outside.
  6. Review it with stakeholders. Walk through the diagram with the people who know each interface. Missing entities and wrong flows show up quickly when the right people look at it.

Note that step 5 is the one that matters most for scope. A context diagram that puts something inside the boundary is a commitment to build it.

Why project managers use context diagrams

Project managers use context diagrams to agree on the scope boundary early, find missing interfaces, and communicate the solution to non-technical stakeholders. The diagram is quick to draw and easy to read, which makes it ideal for the early stages of a project.

The main uses are the following:

  • Defining the scope boundary. The diagram shows what the project builds and what it only connects to. That boundary then informs the project scope statement, including its exclusions.
  • Finding missing requirements. Every data flow is a potential requirement. An interface nobody drew is an interface nobody planned.
  • Aligning stakeholders. A single picture is easier to agree on than a long document. Disagreements about responsibilities surface early, when they are cheap to resolve.
  • Planning integration work. Each external system on the diagram is an interface to design, test, and often negotiate with another team.

System context diagram

A system context diagram is another name for a context diagram, used mainly in systems and software engineering. It follows the same rules, with one system in the center, external entities around it, and the interactions between them.

In software architecture, the term is also used for the first level of the C4 model, a popular way of documenting software. A C4 system context diagram shows the software system, its users, and the other systems it depends on. It is drawn in the same spirit as a classic context diagram, with boxes instead of a circle and short descriptions on each relationship.

Context diagram vs. data flow diagram

A context diagram shows the whole system as one process. A data flow diagram (DFD) opens the system up and shows the internal processes, data stores, and flows inside it. In fact, the context diagram is the top level of a set of data flow diagrams, often called the level 0 DFD.

Factor Context diagram Data flow diagram
What it shows The system as one shape and its external entities Internal processes, data stores, and flows
Level of detail Highest level only Can go several levels deep
Main purpose Agree the boundary and interfaces Analyze how data moves inside the system
Typical audience Sponsors, stakeholders, project team Analysts, designers, developers

In practice, teams draw the context diagram first. Once the boundary is agreed, a data flow diagram breaks the central shape into its internal parts.

Context diagram vs. use case diagram

A context diagram shows the system's boundary and the information crossing it. A use case diagram shows what each user can do with the system. Both put the system in the middle and the users around it, so they look similar at first glance.

The difference is the question they answer. A context diagram asks "what information flows in and out?" A use case diagram asks "what goals can each user achieve?" For example, the portal's context diagram shows a "requests, confirmations" flow with the customer, while its use case diagram would show separate use cases such as "reset password" and "update address." Many teams use both, the context diagram for scope and the use case diagram for functionality.

Context diagram template

A context diagram needs only a simple template. The following checklist can be used on a whiteboard or in any diagramming tool.

  • Center. One shape, labeled with the system's name.
  • Around it. One rectangle per external entity (users, departments, other systems, partners, regulators).
  • Arrows. One per information flow, each labeled with a noun phrase.
  • Legend (optional). A note explaining the shapes for first-time readers.
  • Owner and date. So the team knows which version is current.

The test of a good context diagram is simple. A stakeholder who has never seen the project should be able to say, in one minute, what the system does and what it depends on.

Context Diagrams on the PMP® and CAPM® Exams

In the PMP exam, the context diagram appears in requirements and scope scenarios, not as a definition question. A typical scenario describes stakeholders who disagree about which system handles a responsibility, an interface discovered late, or a team that keeps receiving work from outside its boundary. If a question asks what the project manager should do, consider whether the real problem is an unclear boundary. If it is, a model that makes the boundary visible is usually the best next step. Note that the current PMBOK® Guide does not single out the context diagram, so expect it as an answer option, a business analysis tool chosen for the situation.

The CAPM® exam tests business analysis heavily, with 27% of its questions in the Business Analysis Frameworks domain. In CAPM scenarios, you may need to recognize when a context diagram is the right model, or choose it over a data flow diagram or a use case diagram. The scenarios are shorter than on the PMP, but they are still situational. Our best-selling CAPM Complete Study Guide, the most complete study guide on the market, covers business analysis models the way the exam tests them, and our PMP Complete Study Guide does the same for PMP candidates.

PMP Practice Question: Context Diagram

A project manager is leading a hybrid project to replace a wholesaler's order-management system. The team ran thorough workshops with every user role, and the user stories and their acceptance criteria have held up well in testing. However, integration testing has now uncovered three interfaces that nobody planned for: a carrier's shipment-tracking feed, a bank's payment-confirmation file, and a tax service used by the finance team. All three connect the new system to systems outside the organization, and none of them appears anywhere in the requirements documentation. The next release is six weeks away.

What should the project manager do to find any remaining gaps of this kind before the next release?

a) Facilitate a session with the team and key stakeholders to draw a context diagram of the new system, its external entities, and the information flowing between them, and turn each unplanned flow into a requirement.

b) Have the business analyst model the new system's internal processes and data stores in a level 1 data flow diagram, and check each process for missing data.

c) Work with the product owner to write more explicit acceptance criteria for the remaining user stories during backlog refinement.

d) Run a backward-traceability review of the requirements traceability matrix to find any work in the release that does not trace to an approved requirement.

Correct answer: A.

Rationale: The decisive facts are where the gaps sit and how the team missed them. All three interfaces connect the new system to systems outside the organization, and none of them was ever written down as a requirement. That makes this a boundary problem, and the model built to show what crosses a system's boundary is the context diagram. Option b) is tempting because the missing items are data feeds, and a data flow diagram is about data. However, a level 1 data flow diagram looks inside the system at its internal processes. The gaps are outside it, at the edge. Option c) borrows the correct answer to a gold-plating prevention question, where vague acceptance criteria were the root cause. Here the scenario says the user stories and their acceptance criteria held up well, so sharpening them would not find an external system that no story mentions. Option d) borrows the traceability technique, but a traceability matrix can only trace requirements that were documented. A backward review finds work that has no requirement behind it, while these interfaces are requirements that were never captured at all. Option a) draws every external entity and every flow on one page with the people who know them, which is exactly how the remaining unplanned interfaces surface before release. PMI's way is to understand the real problem before choosing the tool. For full-length, realistic, scenario-based practice with detailed explanations, built to train the PMI® mindset, take our PMP practice exams or, at the entry level, our CAPM practice exams.

Ready to take the next step in project management?

200,000+ Professionals Taught by Our Instructors

Frequently asked questions

What is a context diagram?

A context diagram is a high-level diagram that shows a system as a single shape, the external people and systems that interact with it, and the information flowing between them. It defines the system's boundary, which makes it a fast way to agree what a project will build and what it only connects to.

What is included in a context diagram?

A context diagram includes three elements: the system, drawn as one shape in the center; the external entities around it, such as users, departments, and other systems; and labeled arrows showing the information that flows between the system and each entity. Nothing inside the system is shown.

What is the difference between a context diagram and a data flow diagram?

A context diagram shows the whole system as one process and only its external interactions. A data flow diagram opens the system up and shows its internal processes, data stores, and flows. The context diagram is the top level of a set of data flow diagrams, often called the level 0 DFD.

What is the difference between a context diagram and a use case diagram?

A context diagram shows the system's boundary and the information flowing in and out. A use case diagram shows the goals each user can achieve with the system, such as "reset password." Teams often use the context diagram to agree the scope and the use case diagram to describe functionality.

What is a system context diagram?

A system context diagram is another name for a context diagram, used mainly in systems and software engineering. In software architecture, it also refers to the first level of the C4 model, which shows a software system, its users, and the other systems it depends on.

When should you use a context diagram?

Use a context diagram early in a project, during requirements gathering and before the scope is finalized. It is most useful when a system has several users or interfaces, when stakeholders need to agree on responsibilities, and when the team needs a simple picture for non-technical audiences.

Is the context diagram on the PMP exam?

Yes. The PMP exam can present the context diagram as an answer option in requirements and scope scenarios, such as stakeholders who disagree about which system handles a responsibility. Choose it when the real problem is an unclear system boundary rather than a conflict over the requirement itself.

Is the context diagram on the CAPM exam?

Yes. The CAPM exam devotes 27% of its questions to business analysis, where models such as the context diagram belong. Expect short scenarios that ask you to choose the right model for a situation or to recognize what a context diagram shows.

A project team member surrounded by colleagues all pressing new requests at once, the everyday picture of scope creep.

What Is Scope Creep? Causes, Examples & Prevention [2026]

A. Togay Koralturk October 22, 2026 14 min read

What scope creep is, PMI's definition, what causes it, real examples, how to prevent and manage it, and how to measure it, with PMP and CAPM exam tips.

A craftsman sanding an already finished piece, a picture of gold plating: polishing work beyond what was asked.

Gold Plating in Project Management: Guide & Examples [2026]

A. Togay Koralturk October 21, 2026 12 min read

What gold plating is in project management, why teams do it, how it differs from scope creep, real examples, and how to prevent it, with PMP exam tips.

A project team in a MoSCoW prioritization session, with requirements on sticky notes being sorted on a board.

MoSCoW Method: Prioritization Guide & Example [2026]

A. Togay Koralturk October 21, 2026 13 min read

Learn the MoSCoW method: the four categories, how much should be a must-have, a worked example, and how MoSCoW compares to other prioritization techniques.

About the Author

A. Togay Koralturk is a globally recognized pioneer and educator in project management and sustainable design and construction, a best-selling author, and an entrepreneur. His publications have reached hundreds of thousands of professionals worldwide and have been extensively adopted as primary course material in universities throughout the United States. Holding a bachelor’s degree in civil engineering and a master’s degree in construction management from the University of Southern California, he has played a pivotal role in leading numerous construction projects ranging from $100 million to $500 million worldwide, and he has educated thousands of professionals. Continuing his professional journey, he founded Projeric and Projectific, where he serves as the instructor and CEO.