Functional vs non-functional requirements, with examples

Business7 min readBy the UC Tech team
Functional vs non-functional requirements, with examples

Functional requirements describe what the software must do, such as "create an invoice" or "send an order confirmation". Non-functional requirements describe how well it must do it and under what conditions, such as how fast a page loads, how many people can use it at once, how secure the data is, and how often it may be unavailable.

Both belong in your software requirement specification. This guide gives clear definitions, a table of examples for a typical business app, and a simple method for writing non-functional requirements that can actually be tested.

Clear definitions

Functional requirements state a behaviour of the system: an input, a process and an output. They usually read as "the system shall let [user] do [action]" or as a user story: "As a sales manager, I want to approve discounts above 10% so that margins are protected." You test them by doing the action and checking the result.

Non-functional requirements, sometimes called quality attributes, state a property of the whole system or of a feature: how quickly it responds, how much load it handles, how it protects data, who can use it and on what devices. You test them by measuring.

A quick test: if you can describe it as a feature on a menu or button, it is functional. If it describes how every feature should behave, it is non-functional.

Examples for a business app

Here is how the two types look side by side for a typical order management and billing app. The numbers are illustrations of how to phrase a requirement, not recommended targets.

AreaFunctional requirementNon-functional requirement
OrdersA sales executive can create an order for an existing customer.Saving an order takes under 2 seconds for 95% of requests with 50 users working at once.
InvoicesThe system generates a GST invoice from a delivered order.Invoice PDFs are produced within 5 seconds and kept for the period your accountant advises.
LoginUsers log in with mobile number and one-time password.Accounts lock for 15 minutes after 5 failed attempts; all traffic uses HTTPS.
RolesManagers can see all orders; executives see only their own.Every change to prices or discounts is logged with user, time and old and new values.
ReportsManagers can export the monthly sales report to Excel.A 12-month report with up to 100,000 order lines exports within 30 seconds.
AvailabilityNone (availability is a quality, not a feature)Available 99.5% of each month, excluding announced maintenance on Sundays 11 pm to 1 am.
BackupsAn admin can restore a deleted customer record within 30 days.Database backed up daily; a restore is tested every quarter. See the 3-2-1 backup rule.
UsabilityField staff can log a visit with a photo.A new user completes a visit entry without help after a 10-minute demo; screens work on Android phones from the last four versions.

The main types of non-functional requirement

The ISO/IEC 25010 product quality model, explained on the ISO 25000 portal, groups software quality into nine characteristics. Several of them make a good checklist for any business app:

  • Performance efficiency: response times and throughput, resource use, and capacity limits.
  • Compatibility: working alongside other software and exchanging data with it, which covers integrations with accounting, payment or CRM systems.
  • Interaction capability: how easily users learn and operate the product, protection from user errors, and inclusivity for people of different backgrounds and abilities. Our guide to accessibility basics covers one part of this.
  • Reliability: running without faults, availability when needed, fault tolerance, and recovering data after a failure.
  • Security: confidentiality, integrity, non-repudiation, accountability (actions traced to a person), authenticity and resistance to attack.

The model also starts with functional suitability: whether the functions are complete, correct and appropriate. That is a reminder that the two kinds of requirement are linked. A correct feature that takes a minute to load still fails the user.

How to write measurable non-functional requirements

NASA's guide to writing good requirements lists words such as "user-friendly", "fast", "adequate", "flexible" and "robust" as unverifiable, and asks for performance values with clear limits such as "less than". Use this five-part pattern:

  1. What: the feature or the whole system. "Order search".
  2. Measure: the quantity you will check. "Response time".
  3. Target: a number with a limit. "Under 2 seconds".
  4. Conditions: load, data size, network, device. "With 50 concurrent users, 200,000 orders in the database, over 4G".
  5. How it is checked: the test or monitoring. "Measured by load test before go-live, at the 95th percentile".

Put together: "Order search returns results in under 2 seconds for 95% of requests, with 50 concurrent users and 200,000 orders, measured by a load test before go-live."

Base targets on real use. GOV.UK's service manual suggests estimating normal traffic, projecting growth, and listing likely spikes such as deadlines, holidays or campaigns. For an Indian business that might be month-end billing, festive season sales or a GST return date.
Five parts of a measurable non-functional requirement
  1. What: the feature or the whole systemFor example, order search.
  2. Measure: the quantity you will checkFor example, response time.
  3. Target: a number with a limitFor example, under 2 seconds.
  4. Conditions: load, data size, network, deviceFor example, 50 concurrent users and 200,000 orders, over 4G.
  5. How it is checked: the test or monitoringFor example, a load test before go-live, at the 95th percentile.

Common mistakes

  • Leaving non-functional requirements out. If nobody writes down the expected number of users or the data volume, the team will guess, and the guess may be far too low.
  • Copying targets without thinking. 99.99% availability sounds good, but higher targets generally cost more to build, run and support, and an internal tool used in office hours may not need it. GOV.UK advises finding out through user research whether people actually use a service outside office hours.
  • Hiding downtime. Agree how planned maintenance is counted. GOV.UK warns against hiding uptime problems behind repeated maintenance windows.
  • Mixing the two types in one sentence. "Users can search orders quickly" is a feature and a vague quality in one line. Split it into a functional requirement and a measurable non-functional one.
  • No test plan. Every non-functional requirement needs a way to check it, such as a load test, a security review, a restore test or a usability session. Our guide to software testing types explains the options.

Where non-functional requirements matter most

Give them extra attention when your app:

  • handles payments or personal data, where security and audit logs matter, and data protection law may apply (see our DPDP Act checklist; this is not legal advice);
  • has traffic peaks, such as sales events or month-end billing;
  • is used in the field on low-end phones or weak networks;
  • connects to other systems, where a slow or failed integration can stop work.

Agree these requirements before the quote, because they shape the architecture, hosting and testing effort, and so the cost. If you want help writing requirements for a web application or mobile app, talk to us.

Frequently asked questions

Is security a functional or non-functional requirement?

Both, in parts. A login screen or role-based access is functional, because users do something with it. How strong the protection must be, such as account lockout rules, encryption and audit logging, is non-functional.

Are non-functional requirements less important?

No. A system that has every feature but is slow, insecure or often down will not be used. They are simply easier to forget, because nobody asks for them as a feature.

How many non-functional requirements does a small app need?

There is no fixed number. Cover at least performance, capacity, availability, security, backup and recovery, supported devices and accessibility, each with a measurable target.

What is ISO/IEC 25010?

An international quality model for software products. It groups quality into characteristics such as performance efficiency, compatibility, interaction capability, reliability and security, and is a useful checklist when writing non-functional requirements.

Sources

Want this built for your business?

UC Tech builds software, apps, websites and WhatsApp automation.

Start a project