Skip to content
Computese home
Projects and contracts

Software requirements specification (SRS) template with examples

A free software requirements specification (SRS) template: scope, users, functional and non-functional requirements, interfaces and traceability, with a guide.

Updated
Price
Free, no sign-up

A software requirements specification (SRS) records what a system must do and how well, in statements a developer can build to and a tester can check. Write it before design and price are fixed, have the people who will use, build and test the software review it, and keep it current until the software is accepted.

What an SRS is for, and what it is not

The SRS describes the problem to solve: behaviour, data, interfaces and quality levels. It does not describe the design. NASA's guidance on writing requirements puts it as a rule: a requirement states what is needed, not how to provide it (NASA, appendix C). "Store orders in PostgreSQL" belongs in the SRS only as a constraint with a reason, such as an existing database the client must keep.

An SRS is also different from a statement of work. The statement of work is the commercial agreement for a project: deliverables, dates, acceptance and fees. The SRS is the detailed specification it points to, usually attached as a dated version. On an agile project, the SRS sits beside the backlog: the backlog orders the work, and the SRS holds the agreed scope, constraints, interfaces and quality requirements that do not fit inside a single user story.

IEEE 830, ISO/IEC/IEEE 29148 and this template

Some SRS templates online still cite IEEE 830. IEEE lists IEEE 830-1998 as a superseded standard, replaced by ISO/IEC/IEEE 29148:2011 (IEEE 830-1998). The current edition, ISO/IEC/IEEE 29148:2018, is an active standard that covers requirements engineering for systems and software and "defines the construct of a good requirement", its attributes and characteristics. IEEE also lists a revision project, P29148, in draft (IEEE SA).

This template follows a common SRS structure (introduction, overall description, specific requirements, verification) and does not reproduce either standard. If a contract requires conformance to 29148, buy the standard and map its information items to these sections.

Who writes it and who approves it

A business analyst or product owner usually drafts it. Users and subject experts supply the needs and the business rules. A technical lead checks that each requirement can be built within the constraints, and a tester checks that each one can be verified. The sponsor approves the baseline. For outsourced work, the client can write the first version so that every supplier prices the same thing; the chosen supplier then reviews it and raises questions before the contract is signed.

How to write a requirement someone can test

NASA's systems engineering handbook uses three words consistently: "shall" for a requirement, "will" for a fact or a statement of purpose, and "should" for a goal. Its checklists add the rules that matter most:

  • One requirement per statement, each with its own ID. A sentence joined by "and" is often two requirements.
  • No vague words. NASA's checklists name words to avoid, including "user-friendly", "easy", "flexible", "fast", "adequate", "as appropriate", "etc." and "and/or".
  • A rationale for each requirement, including the assumptions behind it.
  • A verification method: the requirement can be tested, demonstrated, inspected or analyzed.
  • Best estimates over blanks. NASA prefers a best-estimate value marked "to be resolved" (TBR), with an owner and a date, to a bare "to be determined" (TBD).
WeakTestable
The search shall be fast.The order search shall return results within 2 seconds for 95% of queries, with 50,000 orders stored and 20 concurrent users.
The portal shall be user-friendly.A first-time tenant shall submit a maintenance request without help within 5 minutes, in 4 of 5 moderated test sessions.
The system shall support exports, etc.The system shall export the filtered request list as a CSV file with the columns listed in section 4.
The system shall be secure.The system shall require multi-factor authentication for every staff account.

How to fill in each section

1, introduction. State the purpose, the readers and the scope. In the out-of-scope list, write down everything that has been discussed and excluded, so scope questions are settled before work starts. List the documents the SRS relies on with their versions, and explain the conventions (IDs, priority, verification codes).

2, overall description. Describe what the system replaces or connects to, the business objectives it serves, the classes of users with how often they use it, the operating environment and the constraints. Write assumptions as statements that could turn out false, because a false assumption is a change request.

3, functional requirements. Group them by feature or use case. For each, give an ID, the requirement, a priority (1 needed at launch, 2 needed later, 3 optional), a rationale and a verification method. This template avoids the Must, Should, Could, Won't scale on purpose: "should" already means a goal in the requirement text. Put business rules (who may approve what, limits, calculations) in their own table so they can change without rewriting features.

4, data. List the main entities, where each comes from, how long it is kept and how sensitive it is. If existing data moves to the new system, say what moves, from where and how the result is checked.

5, interfaces. For each connection to another system, state the direction, the data and format, the frequency and what happens when the other side fails. The system integration guide explains the patterns an interface requirement has to choose between.

6, non-functional requirements. NASA's software engineering handbook asks that each requirement in an SRS be specific, testable and traceable, and lists performance, security and privacy, interface and fault management among the requirement types to cover (NASA software engineering handbook). Give each a measure: a response time under a stated load, an availability target, the security controls, a recovery time. For accessibility, name the standard and level, such as WCAG 2.2 Level AA; W3C's current WCAG 2.2 Recommendation is dated 12 December 2024 (W3C). The WCAG compliance guide explains how conformance is audited.

7, transition. Write down migration, cut-over, training and support in the first weeks, so they are agreed before launch rather than discovered at it.

8, open issues. Every TBR value or unanswered question goes here with an owner and a due date.

9, traceability. Link each requirement to the objective it serves and the test that verifies it. A requirement with no objective is a candidate for removal; a requirement with no test cannot be accepted.

10, approval and change history. Record who approved which version, and every change after that.

A worked example

A 30-person property management firm takes maintenance requests by phone and email and wants a tenant portal. The first draft says: "Tenants can submit maintenance requests easily and staff are notified quickly." The SRS splits it into requirements:

  • FR-101: The portal shall let a signed-in tenant submit a maintenance request with a category, a description of up to 2,000 characters and up to 5 photos of up to 10 MB each.
  • FR-102: The system shall email the property manager assigned to the unit within 5 minutes of submission.
  • FR-103: The portal shall show the tenant each request's status: received, scheduled or completed.
  • NFR-5: The tenant pages shall conform to WCAG 2.2 Level AA.

The retention period for photos is marked TBR, owned by the operations manager, due before design sign-off. An assumption says the firm's accounting system can create work orders through its API. The supplier's review finds that the API can read units but cannot create work orders. IR-201 changes to a nightly CSV export, the change is logged as version 0.3, and the client approves it before the contract is signed.

Common mistakes

  • Writing design choices as requirements without saying why they are constraints.
  • Vague words: fast, easy, intuitive, secure, as needed.
  • Several requirements in one sentence, so a test can half pass.
  • Non-functional requirements missing, or written without a measure.
  • No out-of-scope list.
  • TBDs with no owner or date, which become surprises at acceptance.
  • No IDs, so tests, defects and change requests cannot refer to a requirement.
  • Treating the signed SRS as frozen and letting the code drift away from it.

Keeping it current

Approve a baseline version, then change it only through a logged change with a new version number. When a requirement changes, update its test and its trace in section 9 in the same change. At each release, check that the SRS still describes what the software does; a specification nobody trusts stops being read. The web development guide describes the stages of a build where the SRS is used and checked.

An SRS works with a statement of work (the commercial terms), a design document (how the system will meet the requirements), a test plan (how each requirement will be verified) and, once the system is live, a service level agreement for the running service. If the project replaces an existing system, add a data migration plan that names the checks behind section 4.

The template

Replace every [marked field], delete the lines that do not apply, and keep the rest. It is a starting point, not legal advice: have a lawyer review anything you will sign or rely on. Printing this page prints the template alone.

Software Requirements Specification

1. Introduction

1.1 Purpose

This document specifies the requirements for [System name], version [Version]. It is written for [Readers, for example the sponsor, developers and testers].

1.2 Scope

[System name] will [One or two sentences on what it does and for whom].

In scope:

  • [Capability]
  • [Capability]
  • [Capability]

Out of scope:

  • [Capability that has been discussed and excluded]
  • [Capability]

1.3 Definitions and abbreviations

TermMeaning
[Term][Definition]
[Term][Definition]

1.4 References

Ref.DocumentVersion or date
R1[Business case, policy, standard or interface spec][Version]
R2[Document][Version]

1.5 Conventions

  • "Shall" marks a requirement. "Should" marks a goal that is not a condition of acceptance. "Will" states a fact or an intention.
  • Each requirement has a unique ID that is never reused: FR (functional), BR (business rule), DR (data), IR (interface), NFR (non-functional), TR (transition).
  • Priority: 1 = needed at launch; 2 = needed in a later release; 3 = optional.
  • Verification method: T = test, D = demonstration, I = inspection, A = analysis.
  • TBR marks a best-estimate value that is still to be resolved (section 8).

2. Overall description

2.1 Product context

[What it replaces, the systems it connects to and the process it supports]

2.2 Business objectives

IDObjectiveMeasure
BO-1[Result the organization wants][How it will be measured]
BO-2[Objective][Measure]

2.3 Users and stakeholders

User classDescriptionFrequency of useMain tasks
[Role][Who they are, skills][Daily / Weekly][Tasks]
[Role][Description][Frequency][Tasks]

2.4 Operating environment

[Devices, browsers, operating systems, hosting and network conditions]

2.5 Constraints

  • [Regulatory, contractual or technical constraint, with its reason]
  • [Constraint]

2.6 Assumptions and dependencies

  • [Statement that, if false, changes the requirements]
  • [Dependency on another system, team or supplier]

3. Functional requirements

Repeat this section for each feature or use case. Number requirements by feature: FR-101 for feature 1, FR-201 for feature 2.

3.1 [Feature name]

[Short description of the feature and who uses it.]

IDRequirementPriorityRationaleVerification
FR-101The system shall [behaviour, conditions and limits].[1][Why][T]
FR-102The system shall [requirement].[1][Why][T]
FR-103The system shall [requirement].[2][Why][D]

3.2 [Feature name]

[Short description.]

IDRequirementPriorityRationaleVerification
FR-201The system shall [requirement].[1][Why][T]
FR-202The system shall [requirement].[2][Why][T]

3.3 Business rules

IDRuleSource
BR-1[Rule, for example who may approve a refund above a limit][Policy or owner]
BR-2[Rule][Source]

4. Data requirements

DataDescription and key fieldsSourceRetentionSensitivity
[Entity][Fields][System or user][Period][Public / Internal / Confidential]
[Entity][Fields][Source][Period][Sensitivity]
  • DR-1: The system shall [validation, ownership or data quality rule].
  • DR-2: Data migration: [what data moves, from where, and how the result is checked]

5. External interface requirements

5.1 User interfaces

  • IR-101: The user interface shall [requirement, such as supported screen sizes or languages].
  • IR-102: [Requirement]

5.2 Software interfaces

IDSystemDirectionData and formatFrequencyOn failure
IR-201[System][In / Out / Both][Data, protocol, format][Real time / Nightly][Retry, alert, queue]
IR-202[System][Direction][Data][Frequency][Handling]

5.3 Hardware and communication interfaces

  • IR-301: [Devices, printers, scanners, network protocols or ports the system must support]

6. Non-functional requirements

IDCategoryRequirementVerification
NFR-1Performance[Response time for a named action, at a percentile, under load][T]
NFR-2Availability[Target and measurement period][A]
NFR-3Security[Authentication, authorization and encryption requirements][T, I]
NFR-4Privacy[Personal information collected, consent, access and deletion][I]
NFR-5AccessibilityThe user interface shall conform to [WCAG 2.2 Level AA].[I, T]
NFR-6Compatibility[Browsers, devices and operating systems, with versions][T]
NFR-7Capacity[Users, records or transactions the system must handle][T, A]
NFR-8Logging and audit[Events recorded, who can read them, how long they are kept][I]
NFR-9Backup and recovery[Recovery point and recovery time][T]
NFR-10Maintainability[Documentation, test coverage or update requirements][I]

7. Transition requirements

  • TR-1: [Data migration, cut-over plan or parallel running]
  • TR-2: [Training and user documentation]
  • TR-3: Support during the first [Number] weeks after launch: [Scope of support]

8. Open issues

IDQuestion or TBR valueOwnerDue dateStatus
OI-1[Question or value][Name][Date][Open / Resolved]
OI-2[Question or value][Name][Date][Status]

9. Traceability

RequirementBusiness objectiveDesign referenceTest caseStatus
FR-101BO-1[Section or ticket][Test ID][Draft / Approved / Built / Verified]
FR-102[Objective][Reference][Test ID][Status]
NFR-1[Objective][Reference][Test ID][Status]

10. Approval and change history

10.1 Approval

RoleNameSignatureDate
Sponsor[Name][Date]
Product owner[Name][Date]
Technical lead[Name][Date]
Test lead[Name][Date]

10.2 Change history

VersionDateChangeAuthorApproved by
[0.1][Date]First draft[Name][Name]
[1.0][Date]Baseline[Name][Name]

Common questions

What is a software requirements specification (SRS)?

A document that states what a piece of software must do (functional requirements), how well it must do it (non-functional requirements), the data and interfaces it handles and the constraints on it. It is written before design and pricing are fixed and is used to build, test and accept the software.

What is the difference between functional and non-functional requirements?

A functional requirement describes a behaviour: "the system shall email the assigned manager when a request is submitted". A non-functional requirement describes a quality or limit: response time, availability, security, accessibility, compatibility or maintainability. Both need a measure someone can check.

Is IEEE 830 still the standard for an SRS?

No. IEEE lists IEEE 830-1998 as superseded by ISO/IEC/IEEE 29148:2011. The active edition is ISO/IEC/IEEE 29148:2018, and IEEE lists a revision project in draft. Some templates online still use the IEEE 830 outline.

Who writes the software requirements specification?

A business analyst or product owner, with users and subject experts supplying the needs, a technical lead checking feasibility and a tester checking that each requirement can be verified. The sponsor approves it.

Do agile teams need an SRS?

They need the content, not necessarily one long document. A backlog orders the work; the SRS records agreed scope, constraints, interfaces and measurable quality requirements, which do not fit well into individual user stories. A short SRS kept beside the backlog and updated each release covers both.

How detailed should an SRS be?

Detailed enough that a developer outside the meetings can build each requirement and a tester can write a test for it. If a requirement cannot be tested, demonstrated, inspected or analyzed, it needs more detail.

Sources

Each claim links its source where it is made. Standards and product documentation change, so the links go to the publisher's current page. How we research and write

5 sources from IEEE Standards Association, NASA and W3C
  1. 01IEEE/ISO/IEC 29148-2018: Systems and software engineering, life cycle processes, requirements engineering · IEEE Standards Association
  2. 02IEEE 830-1998: Recommended Practice for Software Requirements Specifications · IEEE Standards Association
  3. 03Systems Engineering Handbook, Appendix C: How to Write a Good Requirement · NASA
  4. 04Software Engineering Handbook: SRS, Software Requirements Specification · NASA
  5. 05Web Content Accessibility Guidelines (WCAG) 2.2 · W3C

More free templates

Start with a conversation.

Tell us what you run and what is getting in the way. You get a reply within 24 hours.

Hours
Mon–Fri, 9:00–17:00 ET
Closed on statutory holidays
Office
110 Place d'Orléans Dr
Ottawa, ON K1C 2L9