Infrora

Requirements traceability matrix: what it is, with an example

Updated

A requirements traceability matrix, or RTM, is a table that links each requirement to where it came from, to the design that meets it, and to the test or check that proves it. Each requirement gets a row, and the columns follow it from origin to evidence.

Teams use it to show that every requirement has a design and a test, and that nothing was built without a reason. Software and systems engineers use it most, but the idea works anywhere a long list of requirements has to be proven. You can start from the requirements traceability matrix template (Excel).

Preview of the Requirements traceability matrix template, ready to fill in: columns Req ID, Requirement, Source (document, section, page), Type...
Requirements traceability matrix template, free to download: Excel, Word, PDF. For Google Sheets, upload the Excel file to Google Drive and open it there.

What is requirements traceability?

Requirements traceability is the ability to follow a requirement forward to the design and tests that satisfy it, and backward to the need that produced it. The matrix is the working record of those links. In software it often maps requirements to test cases, and in systems engineering it also maps them to design elements and verification activities, which is why the same table appears in agile teams, regulated products and large construction contracts.

What a requirements traceability matrix traces

A requirements traceability matrix follows one requirement through the life of a project. Each link answers a question someone will eventually ask.

  • Requirement to source. Where did this requirement come from? A stakeholder request, a contract clause, a regulation, a standard, or an earlier requirement it was derived from.
  • Requirement to design. Which component, module, drawing or specification section is meant to satisfy it?
  • Requirement to test or verification. Which test case, inspection, analysis or demonstration shows that it was met?
  • Requirement to status. Is it proposed, approved, implemented, verified or dropped, and who decided?

When all four links exist for every row, a reviewer can pick any requirement and walk it in either direction without asking anyone.

Why teams use a requirements traceability matrix

The purpose of a requirements traceability matrix is to make five things checkable. Each one comes up on real projects.

  • Coverage: a filter on the empty test column lists every requirement that nothing has tested yet.
  • Impact analysis: when the customer changes a password rule, the rows that link to it show which designs and tests need rework.
  • Audit evidence: an auditor asks how a requirement was proven, and the row names the test and the date of the result.
  • Scope control: a test or design item that traces to no requirement is work nobody asked for, or a requirement nobody wrote down.
  • A shared reference: engineering, QA and the customer read the same row, so the question of whether something is done has one answer.

Types of traceability: forward, backward and bidirectional

The direction depends on the question being asked, and a good matrix supports both.

Two directions through one matrix

  1. Origin

    Source

    Need, contract clause or standard

  2. Middle

    Requirement and design

    What was asked and how it is met

  3. Proof

    Test and status

    Evidence that it was met

Forward traceability starts at the requirement and moves toward design and test. It answers: is every requirement covered by a design element and a test? A requirement with no test is a gap. Backward traceability starts at a design element or a test and moves back to a requirement. It answers: why does this exist? A design element or test that traces to no requirement is either scope creep or a requirement that was never written down. Bidirectional traceability means the matrix supports both at once, which one table can do when every link sits in the same row.

Traceability chain from source to requirement to design to test to result, with a backward arrow and one requirement with no test marked as a gap.
An empty test cell is the gap the matrix exists to show

Types of requirements traceability matrix

Matrices also differ by what they link. Forward, backward and bidirectional describe the direction of the check. The three kinds below describe the columns the table joins.

MatrixWhat it linksThe question it answers
Requirements-to-testEach requirement to the test cases that cover itIs every requirement tested, and did the tests pass?
Test-to-requirementsEach test case back to the requirements it checksWhy does this test exist, and what does it prove?
Test-to-defectEach failed test to the defect reports raised from itWhich defects are open against which requirement?

The V-model and where the matrix links

The V-model lays a project out as a V. The left arm descends through requirements, architecture and module design. The right arm climbs through unit, integration and acceptance testing. Each test level checks the design level across from it, so the matrix links acceptance tests to requirements, integration tests to architecture and unit tests to module design.

V-model diagram: requirements, architecture and module design on the left, unit, integration and acceptance tests on the right, each pair linked.
Each test level proves the design level across from it

Requirements traceability matrix example and columns

The template has thirteen columns. Drop the ones nobody will read, but keep the ones that carry the links: source, design or spec reference, test or check ID, result and status. The Excel template uses exactly these.

ColumnWhat it holds
Req IDA unique, stable identifier such as REQ-001
RequirementOne testable statement
SourceThe document and section it came from, or the requirement it was derived from
TypeFunctional, performance, regulatory, interface or another short list your team fixes
PriorityMust, should or could, or whatever scale the project uses
Design or spec referenceThe section, drawing or specification clause meant to satisfy it
Implemented inThe module, component, build or equipment item that carries it
Verification methodTest, inspection, analysis or demonstration
Test or check IDThe test case or check that does the verifying; blank means a gap
ResultPass, fail or not stated, with the date. A blank is not a pass
StatusOpen, in progress, verified or waived, as in the template. The example tables below use their own labels, such as Gap
OwnerThe named person who answers for the row
NotesChange requests, open questions, baseline or version

A filled requirements traceability matrix example

A requirements traceability matrix with an example looks like the table below: one row per requirement, with the source, design, test and result in the same row. The rows are made up, for a web application, and use seven of the thirteen columns.

Req IDRequirementSourceDesign referenceTest IDResultStatus
REQ-001Users can reset a forgotten password by emailCustomer interview notesAuth design, section 3.2TC-014, TC-015PassedVerified
REQ-002An account locks after repeated failed sign-insSecurity policy, section 4Auth design, section 3.5TC-021PassedVerified
REQ-003Reports export to CSVCustomer interview notesReporting design, section 5.1(empty)Not runGap
REQ-004Pages load within the limit in the performance planPerformance planArchitecture note 2TC-030FailedImplemented
REQ-005An administrator can deactivate a userAdmin role specificationAuth design, section 3.8TC-033PassedVerified
REQ-006Invoices show a line for each taxFinance requirements memoBilling design, section 2.4TC-040Not runImplemented

To fill out a row, go left to right and stop at the first empty cell; that cell is the next job.

REQ-001 shows tests tied to a requirement: it links to the test cases TC-014 and TC-015, and both results are recorded as passed. REQ-003 has no test, so the matrix shows the gap before release instead of after it.

How to build a requirements traceability matrix, step by step

  1. Collect the requirements. Pull them from the contract, the specification and stakeholder notes. Give each one a unique, stable ID.
  2. Make each requirement testable. Rewrite vague lines such as "fast" or "reliable" into something a test can pass or fail.
  3. Record the source. Name the document and the section. "The customer said so" is not a source; the meeting notes are.
  4. Link the design. Point to the section, drawing or component that meets it. If nothing does yet, leave the cell empty and visible.
  5. Link the test. Name the test case, inspection or analysis. One requirement may need several.
  6. Set the status and the owner. Use a short, fixed list of states, and put a name next to each decision.
  7. Review for gaps in both directions. Look for requirements with no test and for tests or design items with no requirement.
  8. Update it at every change. When a requirement changes, change its row and note the version.

Requirements traceability matrix in agile and project management

In software, an RTM maps requirements or user stories to test cases and, where a team tracks them, to code changes or builds. In an agile team the user story is the requirement row, and its acceptance criteria are the tests. The matrix is updated every sprint, and it is often kept as links in the team's tracker instead of a separate sheet.

In project management the matrix works as a control. Any work that traces to no requirement is a scope question for the sponsor. Before sign-off, a project manager can filter for rows with an empty test cell or a result other than passed, and ask for each one whether to test it, accept the risk or drop the requirement.

Tools people use for a traceability matrix

Can you build a requirements traceability matrix in Excel? Yes. For a small or medium project, a spreadsheet with a unique ID per requirement and one column per link is enough, and the template above is built that way. Dedicated tools help when the list is long or changes often. The table describes each tool as its publisher describes it, from pages read on November 9, 2026, with some wording shortened. It is a list of examples, not a ranking.

ToolHow the publisher describes itWhere the links live
Excel or Google SheetsA spreadsheetIn the cells of each row, as IDs
JiraA shared workspace where teams plan work and track progressWork item links, which Atlassian's support page says can connect related work across Jira apps
Jama ConnectAn "Intelligent Engineering Management Platform"Trace relationships that, on the Jama traceability page, can span teams and toolsets
IBM DOORSA requirements management solution used in complex, high-compliance systems engineering programsLinks between artifacts, per IBM's feature list for its requirements management products
PolarionAn application lifecycle management product for large-scale, compliance-heavy product developmentTraceability tied to change control of each requirement, per Siemens
Perforce ALMApplication lifecycle managementConnections among requirements, tests and issues

Pick by how long your requirement list is and how often it changes.

Common mistakes

A matrix that lags the project is worse than none, because people trust it. A requirement that cannot be tested proves nothing, since no test can fail, and an empty cell filled with an assumed "OK" hides the gap the matrix exists to show.

  • Too many columns. Every column is upkeep. Keep the ones a reviewer will actually read.
  • No unique IDs. Without stable IDs, links break the first time the document is reordered.
  • Tracing only forward. Without the backward check, untraceable work goes unnoticed.

The same idea in equipment procurement

In equipment procurement the matrix links each spec requirement to the supplier's stated value and to a named engineer's decision. That is the compliance matrix, and data center procurement shows where it sits in a package.

The same table works for a traceability matrix example on an equipment specification, where the tests are factory tests and submittal reviews. The rows below are made up for a switchgear package, and the bracketed values stand for ratings the project specification would state.

Specification clauseSourceDesign referenceVerification methodStatus
Rated short-circuit current of [value] at the busProject specification, section [number]Single-line diagram and data sheetType test report reviewReport received
Enclosure type [as specified]Project specification, section [number]Data sheetDrawing reviewAccepted
Relay functions as specifiedProject specification, section [number]Single-line diagramFactory witness testTest scheduled
Withstand voltage of [value]Project specification, section [number]Data sheet(none assigned)Gap

See the factory acceptance test and submittal review articles for how those two checks run.

Questions

What is the definition of requirements traceability?
It is the ability to follow a requirement forward to the design and tests that satisfy it, and backward to the source that justified it. A traceability matrix records those links in one table.
Where can I find a requirements traceability matrix template?
The Excel template linked at the top of this page uses the thirteen columns listed above, and Word and PDF copies are also available. Delete the columns your team will not read and keep the ones that carry the links: source, design reference, test ID, result and status.
What is the purpose of a requirements traceability matrix?
It shows that every requirement has a source, a design element and a test, and that nothing was built or tested without a requirement. It makes gaps visible before they become defects or disputes.
What is the difference between forward and backward traceability?
Forward traceability follows a requirement to its design and tests, to check that each one is covered. Backward traceability follows a design element or test back to a requirement, to check that it has a reason to exist.
How to fill out a requirements traceability matrix?
Give each requirement a unique ID, then fill its row from left to right and stop at the first empty cell, which is the next job. The step-by-step section above lists the order of work.
Is a traceability matrix the same as a compliance matrix?
No. A traceability matrix follows a requirement through the project. A compliance matrix records, for each requirement, whether a bidder or a design complies. The two are often used together.