Bryan

Bryan Β· Delivery & Offshore Teams Expert Β· November 23, 2026

How to Write a Software Requirements Document in 6 Steps

Software requirements specification open at section 1, with the purpose and project scope paragraphs highlighted

Key takeaways

  • β†’A software requirements specification does two jobs: it is the blueprint the technical team designs and builds from, and the reference business and technical stakeholders settle disagreements against before any code exists.
  • β†’Functional requirements say what the system must do. Nonfunctional requirements say how well, are normally measurable, and usually apply to the whole system rather than one feature.
  • β†’Write every functional requirement as actor, action, object and qualifying criteria, with the actor always being the system, so the requirement stays independent of any one application or vendor.
  • β†’Business rules get their own table with an ID, a type and the requirement each rule impacts, so a policy change points straight at the requirements it breaks.
  • β†’Three reviewers before sign-off: a subject matter expert for accuracy, a developer for decomposition, a tester for testability. The signatures turn the document into the baseline for every later change.

You can hire a strong engineering team and still get the wrong product. It tends to happen the same way: someone writes a page of notes, a few screenshots get passed around, and the developers begin building the version of the project that lives in their own heads. Nobody is at fault. The invoices arrive anyway.

A software requirements specification, usually shortened to SRS, is the document that closes this gap. It describes in detail what the solution has to do, so it is two things at once: the blueprint from which the technical team designs and builds, and the shared reference that business and technical stakeholders can argue over before any code exists. Three groups read it closely. The technical team uses it to produce designs and build the software, which means the requirements must be broken down far enough for a developer to test their own code while writing it. A subject matter expert checks it for accuracy and completeness, and the people who approve the document usually lean on that review. For the QA and user acceptance testing teams it is the outline of their test cases, so they are also the right people to tell you, during review, which requirements are not testable at all.

This guide goes through the six parts of a specification worth signing, in the order it makes sense to write them, with a worked example for a university admissions website.

Step 1: open with purpose and project scope

The introduction has one job: to tell a reader who has never seen the project what this document covers and what it is for. It is short, with two subsections.

Purpose says why the specification exists, names the product it describes, and names the audience. Tie it to a release instead of to the product in general. In the example below, the purpose line commits the document to the functional and non-functional requirements for release 1.0 of the Admissions Department Website, and states plainly that its intended readers are the development team and anyone verifying functionality. That single sentence prevents the most common argument in a requirements review: whether something is in this release or a later one.

Project scope describes the software relative to the wider business requirements: the business goals, the objectives, and the expected outcomes. Scope written as an outcome ("transition all applications and forms to an online platform and establish an electronic user account") is harder to misread than scope written as a feature list.

  1. Put the project name, date, version number and company logo on the front page.
  2. Include a revision history table that records every change as the document is revised, so reviewers can see what has moved since their last reading.
  3. Add a table of contents. People come to a specification looking for one section, because it is a reference document and not a story.
  4. Write the purpose against a specific release and the scope against a business outcome.

Settle one thing before you write any of this: the business requirements belong in their own document, and that document is approved first. If you have not written one yet, our guide to the software project brief covers that half of the work.

Section 1 of a software requirements specification showing subsection 1.1 Purpose and 1.2 Project Scope, with the sentences naming release 1.0 of the Admissions Department Website and the transition of applications to an online platform highlighted in yellow, followed by the section 2 Overall Description heading
The purpose line scopes the document to one release. The scope line states a business outcome, not a feature list.

Step 2: describe the product, its users and the environment it runs in

The overall description is the high-level view: what the software generally does, who uses it, where it runs, and everything that limits it. Six parts matter here.

  • Product perspective. Where the solution comes from within the organisation. State whether it replaces an existing system, enhances one, or is entirely new, then describe the key interfaces between the solution and the larger system it is part of. A system context diagram does this better than prose.
  • User classes. The characteristics, needs and expectations of the people who interact directly with the software. They are a subset of your stakeholders, not all of them. The example divides students into active and prospective, gives admissions staff a passive interaction with the system, and makes the administrator responsible for managing and maintaining the website.
  • Operating environment. Operating systems and versions, databases, hosts, servers, and where users are located geographically. The example ties the website to the most recent versions of a named list of browsers, and requires it to be optimised for desktop, phone and tablet.
  • Constraints. Influencing factors that cannot be changed and that limit the solution. "The system must pull student information from current university databases" is a constraint, since nobody on the project gets to decide otherwise.
  • Assumptions. Factors taken as true without being verified, plus conditions that are true now and might not be later. Each one is confirmed or disproved before any decision it would affect.
  • Dependencies. Parts of the solution that depend on something else finishing first, inside or outside the project: other requirements, decisions nobody has made yet, resources, funding. In the example, every applicable paper form has to be converted to an online format before implementation.

Expect this section to grow. Requirements analysis routinely uncovers constraints, assumptions and dependencies that the business requirements document never mentioned, and they land in the specification.

Specification subsections 2.1 Operating Environment with the list of supported browsers and desktop, smartphone and tablet optimisation, 2.2 Design and Implementation Constraints requiring student data to be pulled from current university databases, and 2.3 Assumptions stating that the website will be available 24-7 outside scheduled maintenance
Environment, constraints and assumptions, each as a numbered line rather than a paragraph.

Step 3: put the business rules in their own table

A business rule is a specific, testable, business-focused directive that guides behaviour or decision-making. Rules appear as policies, guidelines, standards, regulations or calculated formulas, and inside a specification they act as constraints on what the software is allowed to do.

Give them a table with four columns: a rule ID, the rule definition, the type, and the requirement affected by the rule. The example below reads "Admission - 1: student must have a minimum high school GPA of 2.7 on a 4.0 grading scale", type eligibility, impacted requirement 4.8 FR. Two other rows deal with rescheduling windows and an application decision service level.

It is the fourth column that earns the table its place. Business rules change for reasons unrelated to software: a regulator moves, a committee votes, an eligibility threshold shifts. When this happens, the impacted-requirement column tells you exactly which requirements to reopen, and you do not have to re-read the whole document.

  1. Give every rule an ID whose prefix names its area, so that related rules sort together.
  2. Write the definition so it can be tested, since a rule you cannot check is a preference.
  3. Type each rule (eligibility, constraint, calculation) so reviewers can scan for the kind they own.
  4. Point each rule at the requirement it constrains, and keep that pointer current.
Business rules table with columns Rule ID, Rule Definition, Type and Impacted Requirement, listing an admission rule requiring a minimum 2.7 GPA on a 4.0 scale, a rescheduling constraint and a three business day decision rule, above the start of section 4 Functional Requirements
Three rules, three impacted requirements. The last column is what makes a policy change traceable.

Step 4: decompose stakeholder requirements into functional requirements

This section takes the most time, and it is the one developers actually build from. Functional requirements describe what the system is supposed to do and the tasks it has to perform, along with the information it will process.

The reliable way to write them is to start from the stakeholder requirement they come from and break it down. Other approaches start from a feature, or from the business rule that drives the specification, and both work. What does not work is writing functional requirements straight out of a meeting, because then nobody can tell which business need a given line serves.

Every functional requirement has the same four-part shape:

  1. Actor, which is always "the system".
  2. Action, a verb: display, send, calculate, reject.
  3. Object, a noun: a calendar, a confirmation email, an enrollment total.
  4. Qualifying criteria, when the behaviour depends on a condition.

Keeping the actor as "the system" has nothing to do with style. The requirement stays independent of any specific application this way, so your design does not get quietly welded to one vendor's product before anyone has chosen it.

In the example, requirements are grouped by user group, with students first and admissions staff second. The stakeholder requirement "Student must be able to schedule an appointment based on available days and time" breaks down into four numbered functional requirements: display a calendar of available dates when the student selects Schedule, indicate which days are not available, display available time slots once a date is picked, and indicate which time slots are not available. With that level of detail, a tester can write a test case without asking a follow-up question.

When a requirement has several scenarios that change the outcome, add a use case on top of it. A use case is a feature that lets a user reach a goal, and its description tells how the actor and the solution interact: name, associated function, actors, requirements, triggers, post-conditions, flow of events and scenarios, including the main success path, the alternative flow and the exception flow. The use case diagram does the same job visually, with a system name, a boundary box, actors, use cases, association relationships and goals. Use cases do not replace requirements, and they are not user stories either. They sit between the two, and you include as many as the complexity justifies.

Functional requirements grouped under Student Users, showing stakeholder requirement 4.1.2 about scheduling an appointment broken down into four numbered functional requirements beginning System must display a calendar of available dates
One stakeholder requirement, four numbered functional requirements, each starting with the system.

Step 5: specify the data, the interfaces and the reports

Three sections sit between the functional requirements and the quality attributes. Teams skip them when a deadline gets close.

Data requirements cover what the software must manage, store and manipulate to do its job: what it consumes, what it processes, what it creates. A logical entity relationship diagram gives the high-level view of how the data relates. The detailed view comes from a data dictionary, which lists each business term with a description, data type, allowed values, length, default and any note that has to stay consistent across the team. In the example, a three-entity diagram (student, appointment, staff) is paired with a dictionary covering every attribute in it. Data maintenance belongs here too: how data arrives and is kept, how it is transferred and updated, how long it is retained, verification protocols, archive cycles, backup procedures and disposal timelines. One line in the example keeps student appointment history for up to 365 days.

External requirements cover everything outside the solution that it has to work with. There are three kinds. User interfaces specify each screen, how users move through them, which inputs are expected and what the system returns (the example requires an FAQ section on every page). Software interfaces describe what the solution talks to: operating systems, databases, web services, commercial systems, or in this case three separate portals. Communication interfaces define the channels and formats, including networks and email messaging, so a requirement like "send a confirmation email for appointments scheduled online" belongs there.

Reporting requirements describe each report the solution generates, if it generates any: the type, the inputs, the layout and the logical sequencing. For each report, write a description (title, purpose, users, data sources), a layout with the field, column and row names plus any tables and charts, security and access rules per user group, and the report logic with its triggers, latency and calculation rules. Some templates fold reports into the data requirements. A separate section at the end is often better, because reports are regularly implemented long after the solution itself ships.

Section 6 of the specification with a logical entity relationship diagram linking Student, Appointment and Staff entities and their attributes, above a data dictionary table listing each attribute with its entity, description, required flag, type, source database, length and comments
The diagram gives the relationships, the dictionary gives the field-level detail. Both, not one.

Step 6: set measurable nonfunctional requirements, then get it signed

Nonfunctional requirements describe the performance and quality characteristics the solution needs to be effective. They are normally measurable and act as constraints. Unlike functional requirements, they usually apply to the whole system instead of a single feature. Ten categories cover most specifications:

  • Availability: how far the solution is accessible and operational when needed, usually given as a percentage of uptime. The example allows 99% outside scheduled maintenance.
  • Compatibility: how effectively it works with the other components of its environment, such as Windows, macOS, Linux, iOS and Android in the example.
  • Performance: how fast the solution responds to inputs, with minimal use of resources.
  • Portability: how easily it moves from one operating environment to another.
  • Reliability: how long it performs its required functions, under defined conditions, before it fails.
  • Scalability: how far it can handle increased workloads, expressed in the example as a large number of concurrent users without any effect on performance or availability.
  • Security: how it protects against unauthorised use, modification, destruction or disclosure.
  • Supportability: how easy it is to install, configure and maintain, and whether support and training documentation is adequate.
  • Usability: how easily a user learns to use and navigate it.
  • Localization: requirements tied to the languages, laws, currencies, cultures and geography of your users, down to local date and time formats.

Three supporting sections close the document. A glossary gives everyone the same definition of the terms used in the specification, and it matters most when a word means different things to different stakeholders or when acronyms need spelling out. The appendix holds attachments and links to material that lives outside the specification: the business requirements document, current and future state process maps, the full data dictionary, report samples. Finally, an approvers and sign-off section collects signatures from every stakeholder with decision-making authority.

Do not treat sign-off as a formality. Once it is done, the project team can confirm that everyone is aligned and committed, the specification starts to guide design discussions and test planning, and it becomes the baseline against which every later requirement change is measured.

Slide titled Main Components, Nonfunctional Reqs listing ten boxed categories in two columns: availability, compatibility, performance, portability, reliability, scalability, security, supportability, usability and localization
Ten categories. Walk the list once and delete the ones your project genuinely does not need.

Six mistakes that turn a specification into shelfware

  1. Starting the specification before the business requirements are agreed. The business requirements document is written and approved first. Stakeholders then settle scope and expected outcomes before anyone spends weeks analysing detailed requirements that may not survive the conversation.
  2. Writing it alone. Bring in subject matter experts for the use case descriptions, developers to confirm that the requirements are decomposed far enough, and testers to confirm they are testable at all, because a specification written by one person is a specification one person agrees with.
  3. Structuring it so nothing can change. Requirements get edited constantly. Structure them so that a change in one place does not ripple through the rest of the document, and make sure every proposed change traces back to an existing requirement. The usual way to manage this is a traceability matrix.
  4. Skipping the checklist. A requirements checklist confirms that each functional requirement, each nonfunctional requirement and the document as a whole meet your quality criteria and standards, and it catches the vague line you stopped noticing weeks ago.
  5. Explaining complex behaviour in prose. Diagrams, flowcharts and other visual aids do the job faster, and they leave less room for two readers to come away with different pictures.
  6. Writing ambiguously. Use clear, concise language, no jargon, and be precise about what the software has to do. If a sentence is still open to interpretation, add a diagram or an example instead of another sentence.

Check what stuck

6 questions on the brief you just read. Pick one answer per question.

  1. 1. What goes in the actor slot of a functional requirement?

  2. 2. Which column of a business rules table tells you what to reopen when a policy changes?

  3. 3. What distinguishes a nonfunctional requirement from a functional one?

  4. 4. When is a use case worth adding on top of a functional requirement?

  5. 5. Which three reviewers should see the specification before sign-off?

  6. 6. Beyond approval, what does sign-off give the project?

Score: 0 / 6

A specification is cheaper than a rebuild

The sequence is the same whatever you are building. Scope the document to a release, describe the product and the environment it lives in, table the business rules, decompose stakeholder needs into system-level functional requirements, specify the data and the interfaces, attach measurable quality targets, and get the people with authority to sign it. What you hand a developer at the end is not a wish list. It is a document they can design from, estimate against, and test.

If writing this is the part your team keeps postponing, it is usually a staffing problem rather than a documentation problem. Our network covers the roles that produce and review a specification like this one: start with hiring a software architect to own the decomposition, or a QA engineer to pressure-test whether your requirements can actually be verified.

Frequently asked questions

What is the difference between a business requirements document and a software requirements specification?

The business requirements document comes first and stays at business level: the scope, the goals and the outcomes everyone has agreed to. Second comes the specification, which translates those agreements into system-level detail a developer can build from, and this is where stakeholder requirements are decomposed into numbered functional requirements. Writing them as one document is the usual mistake, because stakeholders are then forced to argue about screen behaviour before they have agreed what the project is for. Approve the business document first, then expect the specification to surface extra constraints, assumptions and dependencies that the business document never mentioned.

Who needs to sign off on a software requirements document?

Every stakeholder with decision-making authority over the project. In practice the list is short, and the signatures matter less as ceremony than for what they establish: from that point the specification guides design discussions and test planning, and any requirement change is measured against it. Before anyone signs, make sure a subject matter expert has reviewed accuracy and completeness, a developer has checked that requirements are decomposed far enough to build from, and a tester has confirmed that they can be verified.

How detailed does a functional requirement need to be?

Detailed enough that a developer can test the code while writing it, and that a tester can write a test case without asking a follow-up question. The practical check is the four-part shape: the system, a verb, a noun, and any condition that changes the behaviour. If a line cannot be written that way, it is usually still a stakeholder requirement that has not been broken down yet. Resist the other direction too, because a requirement that names a specific product or screen layout pushes a design decision into a document meant to stay independent of it.

Do we still need use cases if the functional requirements are written?

Only where a feature has scenarios that change its outcome. A use case description adds the narrative that a list of requirements cannot carry: the actors, the trigger, the pre and post-conditions, the main success path, the alternative flow and the exception flow. When a feature has one straightforward path, the requirements alone are enough, and a use case just adds a page to maintain. Include as many as the complexity justifies, and reference the requirement that each one expands.

Ready to hire?

Vetted talent ready for US teams. No recruitment fees. Zero risk.

πŸ‡ΊπŸ‡Έ Trusted by companies across the United States