Specification (technical standard)
A specification, often shortened to spec, is a list of written requirements that a material, design, product, or service must meet. It is often a type of technical standard.
There are different kinds of technical or engineering specifications. The word is used in different ways in different technical areas. Specifications often refer to particular documents, or to particular information inside them. In everyday language, the word specification means to state something clearly or in detail.
A requirement specification is a written requirement, or a group of written requirements, that a material, design, product, or service must meet. It is often one of the first steps in engineering design and product development. A functional specification is a kind of requirement specification. It may include diagrams that show how the parts work together.
A design or product specification describes the features of a solution that is meant to meet a requirement specification. The solution can be a design or a finished product. It is often used to guide how things are made. People sometimes use the word specification when they mean a data sheet (or spec sheet), which can be confusing. A data sheet lists the technical features of a product. Makers often publish them to help people choose or use the product. It does not explain how to make the item.
Specifications are a type of technical standard. Many kinds of groups can create them, in both the public and private sectors. These include companies, small groups of companies, industry-wide groups of companies, national governments and their agencies, professional groups, and standards organizations such as ISO. Standards that are optional can become required when a government or business contract adopts them.
Use
In engineering, manufacturing, and business, it is very important for suppliers, purchasers, and users to understand and agree on all requirements for materials, products, and services. A specification often refers to a standard that a contract or buying document points to. It can also be a set of requirements that everyone has agreed on. It gives the details of those requirements. Standards may come from government agencies, standards groups like SAE, AWS, NIST, ASTM, ISO / IEC, CEN / CENELEC, and DoD. They may also come from trade associations, corporations, and others. In 1994, William J. Perry, the U.S. Defense Secretary, announced that there would be a move toward "greater use of performance and commercial specifications and standards." Perry said this was "one of the most important actions that [the Department of Defense] should take" at that time. British standards also apply to specifications.
A design or product specification does not always prove that a product is correct or useful in every situation. An item might be verified to meet a specification, or it might have a specification number on it. However, this alone does not show that the item is right for other uses. People who use the item, such as engineers and trade unions, and people who choose it, such as building codes makers, governments, and industries, must think carefully. They need to know which specifications exist, pick the right one, make sure it is followed, and use the item properly. Validation of suitability is necessary. In the European Union and the United Kingdom, rules for public sector buying require non-discriminatory technical specifications. These specifications must describe what the buying organisation needs.
Guidance and content
A standard operating procedure can help people write and format a good specification. A specification may include a clear title and number, an identifier, and the date of its last revision. It may have a logo or trademark that shows the document's copyright, ownership, and origin. If the document is long, it may also have a Table of Contents. Other useful parts include the philosophical meaning of the specification, its terminology, definitions, and abbreviations. It may also describe test methods, and the targets and tolerances for materials. It may cover acceptance testing, performance testing, drawings, photographs, technical illustrations, and certifications.
Specifications can also explain safety, security, and environmental requirements. They may include quality control, acceptance sampling, and quality assurance rules. They may describe how products are delivered, often using standard INCOTERMS. They may also explain when products can be rejected, or how to take corrective measures. To keep the document clear and easy to follow, they can list references and citations, traceability details, signatures of approval, a change record, and annexes and appendices with extra details.
Construction
In construction, a specification is a written set of rules. It describes the quality and performance of building materials. Drawings or a building information model show how much material is needed and where it goes. In North America, the main guide for names and numbers is MasterFormat. It is sponsored by the Construction Specifications Institute and Construction Specifications Canada, and it is updated every two years. Specifications are grouped into 50 Divisions of work. North American specifications are usually broad descriptions. European and civil projects may list exact amounts, such as the area of drywall in square meters. This kind of list is called a bill of materials and is prepared with a quantity surveyor. Specification writers may be sub-contractors or employees of architects, engineers, or construction management companies. In the United States, the Federal Acquisition Regulation for procurement by the federal government requires a copy of the drawings and specifications to be kept on the construction site.
In Egypt, the Housing and Building National Research Center (HBRC) develops construction specifications and codes. It has published more than 15 books on building work, such as earthworks and plastering. In the UK, specifications are prepared by professionals such as architectural technologists, structural engineers, landscape architects and building services engineers. They are often based on the National Building Specification, which is owned by the Royal Institute of British Architects. UK specifications are either prescriptive, which means they describe exactly what is required, or performance-based, which means they focus on the results. Specifications are also part of Building Information Modeling. They cover the requirements that are not about shape or size.
Food and drug
Medicines can usually be tested and approved using pharmacopoeias. These are official books of standards. Examples include the British Pharmacopoeia, the European Pharmacopoeia, the Japanese Pharmacopoeia, The International Pharmacopoeia, and the United States Pharmacopeia. If a medicine is not covered by these standards, it can be checked using other countries' pharmacopoeias, industry specifications, or a formulary. Examples of formularies include the British National Formulary for Children, the British National Formulary, and the National Formulary. Food works in a similar way. Codex Alimentarius sets the highest standards, followed by regional and national ones. ISO has made less progress on food and drug standards because regional and national rules are very strict.
Companies also set their own internal specifications for food or pharmaceutical products, machinery, quality processes, packaging, and logistics, such as the cold chain. ISO 14134 and ISO 15609 are examples. Much food and drug information is still hard for computers to process, store, and share, so clear data specifications are needed. Some agencies have started to create them. The United States Food and Drug Administration requires drug makers to use a "Structured Product Label" to send label information electronically. ISO has also published ISO 11238 for data about regulated substances.
Information technology
Specifications help programs work together without errors. When two applications share Unicode data but use it in different or incompatible ways, errors and data loss can happen. On Mac OS X, the way some parts handle characters, together with the samba file and printer sharing software, has caused confusing problems that can destroy data. Applications can avoid such errors by keeping the characters they receive and only using their preferred form inside the program. Errors in file names have also always existed, because programs meant to work together often do not share a common set of rules.
Main article: Formal specification
A formal specification is a mathematical description of software or hardware that may be used to build an implementation. It describes what a system should do, not necessarily how it does it. Using formal verification, engineers can check that a design matches the specification before building it. Refinement steps can turn a specification into a correct design. An architectural specification is the documentation that describes the structure, behavior, and views of a system. A program specification says what a computer program should do. It can be informal or formal. Safety-critical software systems are often carefully specified before they are built.
Main article: Functional specification
In software development, a functional specification is the documentation that describes how a program or software system behaves. It explains the inputs it can receive and how it responds to them. Further information: List of Web service specifications
Web service specifications are often part of a quality management system. Document specifications define how a particular document should be written. They cover things like its layout, naming, version, and format. They are often supported by a template.

Quiz time!
4 questions about Specification (technical standard)
What is a specification, or spec?
Keep exploring
This article is a child-friendly adaptation of the Wikipedia article on Specification (technical standard), available under CC BY-SA 4.0.