Custom Software

How to Write a Software Requirements Document (With a Simple Template)

A practical guide to writing a software requirements document that developers can estimate and build from, with a simple section-by-section template.

  • DivTech editorial team
  • 7 min read
01Define goals02Identify users03Map journeys04Write stories
Custom Software · part 3 of 5

A software requirements document (SRD) is the bridge between an idea in your head and software a team can estimate, build and test. Without one, every conversation with developers starts from scratch, estimates vary wildly and the finished product matches what the team assumed rather than what you needed. With a good one, you get comparable quotes, fewer surprises and a clear test of whether the work is done.

You do not need to be technical to write a useful SRD. This guide explains what to include, gives a simple template and shows how we use these documents at the start of custom software development projects.

What a requirements document is for

An SRD has three jobs. It aligns everyone on the problem and the goals. It gives a development team enough detail to estimate and plan. And it defines how you will know each feature is complete. It is not a contract that predicts every screen in advance. In agile projects, the SRD sets the direction and the first backlog, and details are refined sprint by sprint.

Readers include business stakeholders, designers, developers, testers and, often, vendors you are asking for quotes. Write for all of them: plain language, short sections, and examples wherever a sentence could be read two ways.

A simple template

The template below works for most business applications. Small projects can fit it into a few pages; larger ones simply have more user stories.

SectionWhat to includeExample
1. Background and goalsThe problem, why now, and measurable goalsCut order processing time and remove manual re-keying between the web shop and the warehouse
2. Users and rolesEach type of user, what they need and how many there areWarehouse staff (about 20, on tablets), managers, customers
3. ScopeWhat is in this release and what is explicitly outIn: order picking and dispatch. Out: returns, for phase 2
4. User storiesFunctional requirements as stories, grouped by areaAs a picker, I want to scan a product barcode so that I confirm the right item
5. Acceptance criteriaTestable conditions for each storyGiven a wrong item is scanned, the app shows an error and does not mark the line as picked
6. Non-functional requirementsPerformance, availability, security, accessibility, devicesOrder search returns results within 2 seconds for 95% of requests
7. Integrations and dataSystems to connect, data to migrate, ownershipSync stock with the accounting system every 15 minutes
8. Constraints and assumptionsBudget, deadlines, mandated technology, regulationsMust launch before the peak season; data stays in the EU
9. Open questionsDecisions not yet made and who owns themDo managers approve refunds above a threshold?

Writing user stories and acceptance criteria

User stories describe a need from a user's point of view: As a (role), I want (capability) so that (benefit). The 'so that' part matters because it lets the team suggest a simpler way to achieve the same benefit. Keep each story small enough to build and test in a few days; split anything larger. For example, 'As a manager, I want to manage orders' is too broad. Split it into viewing orders by status, editing an order before dispatch, cancelling an order with a reason and exporting the day's orders. Each can now be estimated, built and tested on its own.

Acceptance criteria turn a story into something testable. The Given / When / Then format works well: given a starting situation, when the user does something, then a specific result happens. For example: given an order with three lines, when the picker scans all three items, then the order moves to 'ready to dispatch' and the dispatch team is notified. Include the unhappy paths too: wrong input, missing data, no connection, insufficient permissions. These are where most real-world bugs hide, and testers in a software testing and QA team will turn them directly into test cases.

Non-functional requirements: make them measurable

Non-functional requirements describe how well the system must work. They are often left vague ('the system should be fast and secure'), which makes them impossible to test or estimate. Make each one measurable:

  • Performance: response time targets for key actions under expected load, such as search under 2 seconds for 95% of requests.
  • Availability: an uptime target and maintenance windows. For reference, 99.9% availability allows about 43.8 minutes of downtime per month.
  • Security: authentication method, roles and permissions, audit logging, encryption, data retention.
  • Accessibility: a target level such as WCAG 2.2 AA for public-facing applications.
  • Devices and browsers: which ones must be supported, including rugged tablets or older phones used in the field.
  • Scale: expected users, records and growth over the next two to three years.
  • Localisation: languages, currencies, date formats and time zones.
processHow to write your SRD in six steps
  1. 01Define goals

    Agree the problem and two or three measurable outcomes with stakeholders.

  2. 02Identify users

    List roles, talk to real users and note their current workarounds.

  3. 03Map journeys

    Walk through key workflows end to end, including exceptions.

  4. 04Write stories

    Turn each journey into small user stories with acceptance criteria.

  5. 05Add the rest

    Non-functional requirements, integrations, constraints and open questions.

  6. 06Review and baseline

    Review with business and technical readers, resolve gaps, then version it.

DivTech System

If you are unsure what users really need, a few interviews or observation sessions before writing stories pay off quickly; our guide to UX research methods explains which methods fit early discovery. Wireframes from a UI/UX design team are also a useful companion to the document, because people react to screens much faster than to text.

What to leave out

  • Implementation details: database tables, frameworks and code structure, unless a constraint genuinely requires them.
  • Pixel-level design: describe what users need to see and do; leave layout to designers and wireframes.
  • Wish lists without priority: mark each story as must-have, should-have or later, so scope can be managed.
  • Solutions disguised as requirements: 'add a dropdown with all customers' hides the real need, which may be 'find a customer quickly by name or phone number'.
  • Duplicated content: link to existing process documents or policies instead of copying them.
checklistRequirements review checklist
Clarity
  • Plain language, terms defined in a glossary
  • No sentence that can be read two ways
  • Examples for complex rules
Completeness
  • Every role has its stories
  • Unhappy paths and exceptions covered
  • Integrations and data migration listed
  • Open questions have an owner
Testability
  • Every story has acceptance criteria
  • Non-functional requirements are measurable
  • Priorities are marked on every story
DivTech System

Keeping the document alive

Requirements change as you learn, and that is healthy. Keep the SRD under version control or in a shared tool, record changes with a date and reason, and move detailed stories into your backlog once development starts. From then on the backlog is the working source of truth, while the SRD remains the record of goals, scope and non-functional requirements. Testers should review acceptance criteria before each sprint, a habit described in our guide to QA for agile teams.

From requirements to estimate

A clear SRD is the foundation for an accurate estimate; see how much custom software costs for what happens next, or the MVP development guide if you want to trim scope for a first release. For operations-heavy systems such as warehouse tools in logistics, DivTech can help refine your draft during discovery. Share what you have and request a quote.

Frequently asked questions

How long should a software requirements document be?

Long enough to estimate and build the first release, and no longer. A focused application might need a few pages plus user stories; a large platform needs more. Clarity matters more than length.

Who should write the requirements document?

The business owner of the product, ideally with help from a business analyst or the development partner. Users, managers and technical reviewers should all contribute and review it.

Do agile projects still need a requirements document?

Yes, in a lighter form. Agile teams still need goals, users, scope, priorities and non-functional requirements. Detailed stories then evolve in the backlog sprint by sprint.

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

Functional requirements describe what the system does, such as creating an order. Non-functional requirements describe how well it does it, such as response time, availability, security and accessibility.

  • Requirements
  • User stories
  • Project planning

free consultation

Need help with custom software?

Talk to our Custom Software Development team. We'll review your situation and suggest a practical next step, free.