Blog
Non-functional requirements: types, examples and how to write them
Non-functional requirements say how well software must work, not what it does. The types, a worked set of examples and how to write each so it can be checked.
Non-functional requirements describe how well a piece of software has to work, and the limits placed on how it is built: how quickly a page answers, how many people it can serve at once, how long it may be down in a month, who can read the data. Functional requirements describe what it does. Software can do everything on its feature list and still fail its users because one of these was never written down.
This guide uses the definitions of the International Requirements Engineering Board (IREB), the quality model in ISO/IEC 25010, and measures published by Google, the W3C and OWASP. One invented product runs through it: a parcel tracking service for a small courier firm, where customers look up a delivery and drivers update it from their phones. The firm is made up for this guide.
What are non-functional requirements?
The IREB glossary, the reference for its CPRE certification in requirements engineering, defines a non-functional requirement as “a quality requirement or a constraint”. So the label covers two different things.
- Quality requirements cover a quality concern that the functions themselves do not: speed, reliability, security, ease of use. “A tracking lookup answers in under a second” is one.
- Constraints narrow the ways the software can be built beyond what its functions and qualities need. “Driver data stays on servers in the country where the firm operates” is one. So is a deadline, a budget, or a system the software must connect to.
A functional requirement, in the same glossary, concerns “a result or behavior that shall be provided by a function of a system”. A customer can look up a parcel by its tracking number: that is functional. How fast the answer comes, and whether the page still works on the busiest day of the year, are not.
The Scaled Agile Framework (SAFe) describes them as system qualities that steer the design and “often serve as constraints across the relevant backlogs”. That is the practical reason to care. A missing feature can usually be added later. A system that was never designed for its real load, or that stores personal data where the law says it may not, can need rebuilding.
Functional vs non-functional requirements: what is the difference?
A functional requirement can usually be checked by doing the thing once and looking at the result. A non-functional one usually needs a stopwatch, a crowd of simulated users, an attacker’s mindset, a screen reader or a month of monitoring. That is only a working test: some lines sit on the border, and teams file them differently.
The tracking service, split both ways:
| Feature | Functional: what it does | Non-functional: how well, and within what limits |
|---|---|---|
| Parcel lookup | A customer enters a tracking number and sees the parcel's latest status | The status appears in under a second for 95 lookups in 100, with 300 customers searching at once |
| Proof of delivery | A driver marks a parcel delivered and attaches a photo | The update is accepted with a weak signal and sent on later if the phone is offline |
| Delivery address | The customer can change the address until the parcel leaves the depot | Addresses are encrypted when stored, and every change is logged with who made it |
| Driver sign-in | A driver signs in with a username and password | The sign-in meets the firm's chosen level of a published security standard |
The last row shows the border. Signing in is a function. How hard it is to break into is a quality. Writing both down matters more than agreeing which list each one belongs on.
Types of non-functional requirements
Lists of types online run from four to more than twenty, and they disagree because they were written by different people for different purposes. The one with a standard behind it is ISO/IEC 25010. Its 2023 edition describes product quality with nine characteristics. The first, functional suitability, is about the functions themselves. The other eight are where non-functional requirements come from.
| Characteristic | The question it asks | A line for the tracking service |
|---|---|---|
| Performance efficiency | How fast, and with how much load and hardware? | Lookups stay under a second at the December peak |
| Compatibility | Does it work beside, and exchange data with, other systems? | Status changes reach the firm's invoicing system within five minutes |
| Interaction capability | Can the intended people use it, including disabled users? (Called usability in the 2011 edition.) | The customer pages conform to WCAG 2.2, level AA |
| Reliability | Is it available, does it tolerate faults, and does it recover? | Back within an hour of a server failure, losing at most five minutes of updates |
| Security | Is data kept confidential and intact, and are actions traceable to a person? | Every address change is logged with the account that made it |
| Maintainability | How easily can it be changed, tested and understood? | A new carrier status can be added without changing the driver app |
| Flexibility | Can it adapt, scale and be installed somewhere new? (Called portability in 2011.) | Handles five times a normal weekday's traffic by adding servers, not rewriting code |
| Safety | Does it avoid putting people or property in danger, and fail safely? | The driver app hides the route list while the vehicle is moving |
People often ask for the four types of non-functional requirements. There is no single right list of four. Four-item lists usually pick the qualities their author meets most often, such as performance, security, usability and reliability. A list is a prompt for questions. ISO’s eight are useful because they make it hard to forget a whole category.
Constraints sit outside the quality model. Record them in their own section: the laws that apply, the systems the software must connect to, the hosting it must run on, the date and the budget.
Examples of non-functional requirements you can test
Here is the tracking service’s set, written so each line can be checked. The numbers are invented for this example. Where a published standard or threshold exists, the line uses it, because a measure someone else has already defined saves an argument later.
- Page speed (performance). The tracking page meets Google’s Core Web Vitals thresholds for a good experience on mobile: the largest content element shown within 2.5 seconds, taps answered within 200 milliseconds, and cumulative layout shift kept to 0.1 or below, judged at the 75th percentile so that three visits in four meet them, as web.dev recommends. Checked by: field data from real visits after launch, and lab tests before.
- Lookup time (performance). 95% of tracking lookups return in under one second with 300 customers searching at once. Checked by: a load test before each release.
- Peak load (flexibility). The one-second target in requirement 2 still holds with 1,500 customers searching at once, five times the everyday load. Checked by: the same load test, run at the higher volume.
- Availability (reliability). The tracking page is reachable 99.9% of each calendar month, not counting maintenance announced 48 hours ahead. Checked by: an outside monitor requesting the page every minute.
- Recovery (reliability). After a server failure, the service is back within one hour and loses no more than five minutes of driver updates. Checked by: a restore rehearsal, timed, at least once a quarter.
- Security. The service meets level 2 of the OWASP Application Security Verification Standard (ASVS) 5.0. Checked by: a review against the standard’s level 1 and level 2 requirements before launch.
- Accessibility (interaction capability). Customer pages conform to WCAG 2.2, level AA, including a 4.5:1 contrast ratio or better for body text. Checked by: automated scans plus a manual pass with a screen reader.
- Devices and weak signal (flexibility, reliability). The driver app runs on Android 12 and later and keeps working with no signal for a full shift, sending updates when a connection returns. Checked by: the release test run on the oldest supported phone, in flight mode.
The OWASP ASVS describes itself as a framework of security requirements for web applications and web services. Version 5.0 was published on 30 May 2025 with three levels. Level 1 holds about a fifth of its requirements and is meant as a low barrier to entry. OWASP says most applications should be striving for level 2, and leaves the choice of level to each organization’s own risks. Pointing at a level replaces a vague line (“the system must be secure”) with a list someone can work through.
WCAG 2.2 was published by the W3C on 5 October 2023 and updated on 12 December 2024. Its success criteria come in three levels: A, AA and AAA.
How to write a non-functional requirement that can be checked
“The system should be fast” cannot fail a test, so it cannot pass one either. A line that can be checked has five parts:
- The quality. Lookup time, uptime, recovery time.
- The measure. Seconds, percent of the month, minutes of lost data.
- The target. Under one second; 99.9%; five minutes.
- The conditions. With 300 customers at once; on a mid-range phone over a mobile network; excluding announced maintenance.
- The check. Who measures it, with what, and when.
Leave out the conditions and the target means little. A page that loads in a second for one tester at a desk can take far longer with hundreds of users on phones.
Write percentiles, not averages, for anything timed. Google’s Site Reliability Engineering book gives the reason: “Most metrics are better thought of as distributions rather than averages.” Its example is a service where a typical request takes about 50 milliseconds while 5% of requests are 20 times slower. An average hides those slow requests, and the people stuck behind them are the ones who complain. “95% of lookups under one second” says who is allowed to wait and for how long.
Start loose and tighten. The same chapter advises that “it’s better to start with a loose target that you tighten than to choose an overly strict target that has to be relaxed.” A first version rarely knows its real traffic. Set a target you can meet, measure it in use, then raise it where users need more.
Number them and give each an owner. NFR-1, NFR-2 and so on, so a test, a ticket or a contract clause can point at one line. For where these lines sit among the other sections of a specification, see our SRS document template.
How much downtime does each extra nine allow?
Availability targets are written as percentages, and the difference between them is easy to underrate. On a 30-day month:
| Availability target | Downtime allowed in a 30-day month |
|---|---|
| 99% | 7 hours 12 minutes |
| 99.5% | 3 hours 36 minutes |
| 99.9% | 43.2 minutes |
| 99.95% | 21.6 minutes |
| 99.99% | about 4.3 minutes |

Each extra nine cuts the allowed downtime to a tenth. At 99.99%, one slow restart can use up the month. The SRE book is blunt about the top of the scale: “It’s both unrealistic and undesirable to insist that SLOs will be met 100% of the time.” It treats the gap below 100% as an error budget the team can spend on releases and changes.
Before choosing a number of nines, ask what an hour of downtime costs, and at what time of day. A courier’s tracking page down at 3 a.m. on a Sunday hurts less than one down at 10 a.m. on the Monday before Christmas. SAFe warns about both directions: specify too much and the solution can become too costly to build, specify too little and it may not be fit for use.
Where do non-functional requirements go in an agile team?
User stories describe features, so non-functional requirements can fall between them. SAFe describes them as qualities “typically revisited as part of the definition of done”. In practice each line goes in one of three places.
- The definition of done, when it applies to every story. “Text meets WCAG 2.2 AA contrast” is checked on every screen, so it belongs on the list every story must pass.
- A story’s acceptance criteria, when it applies to one feature. “95% of lookups under one second” belongs to the lookup story.
- Its own backlog item, when meeting it takes work no feature story covers, such as the restore rehearsal behind the recovery line.
How each kind of quality is then tested (load, security, usability and the rest) is covered in our guide to what software testing is.
A checklist for finding them
Most missing non-functional requirements are questions nobody asked. Before a build is priced, put these to the people who will own and use the software:
- Load. How many people use it at the busiest hour of the busiest day, and how fast is that number growing?
- Speed. Which screens or actions do people wait on, and on what devices and connections?
- Availability. When must it be up, and what does an hour down cost at the worst time?
- Recovery. If the server failed now, how long could the business wait, and how much recent data could it afford to lose?
- Data. What personal or sensitive data does it hold, which laws apply, and where may it be stored?
- Access. Who signs in, how strongly must each role prove who they are, and what must be logged?
- Accessibility. Will anyone use it with a screen reader, keyboard only or magnification? (Assume yes.)
- Devices. Which browsers, phone models and operating system versions must it support, and for how long?
- Change. Who will change it after launch, and which parts are most likely to change?
- Constraints. Which systems, hosting, deadlines and budget limits are already fixed?
An answer of “we don’t know” is still worth writing down as an open question. It is far cheaper to settle before design than after launch.
Why they matter when a build is quoted
Lines like the ones above are what let a price be fixed. “Fast” and “secure” can be read many ways, so two companies quoting them are quoting different software. A line with a target and conditions means the same thing to every reader.
At Devrisen, Scope week is free scoping before an MVP build: working sessions that turn your idea, or a draft you already have, into a written spec and a fixed price for building exactly that. Bring whatever list you have, even if half of it is still questions. Read how Scope week fits into an MVP build, or send us what you have. We reply within one business day.
The full service behind this post: MVP Development Services for Startups.
Ready to scope your project?
Send us two sentences about what you need. We reply within one business day with the next step and any questions we need answered first.