# Quantity-distance (Q-D): Building Code Definition

> How the IFC 2009 define quantity-distance (q-d), where the wording differs, and which chapters depend on the term.

- Canonical: https://harth.build/resources/glossary/quantity-distance-q-d/
- Last updated: 2026-09-07
- Data source: Definitions quoted from the 2009 International Codes as transcribed in this site's building-codes collection, with the source chapter linked for each quotation. Usage counts are computed over the chapters hosted here, one copy per code. The [ICC code library](https://codes.iccsafe.org/codes) publishes the current model text and the [ICC adoption maps](https://www.iccsafe.org/advocacy/code-adoption-maps/) show which edition a jurisdiction has adopted; those sources control.

## Key facts

| Fact | Value |
| --- | --- |
| Defined in | IFC 2009 (2009 editions transcribed in this corpus) |
| Primary source | IFC 2009 Explosives and Fireworks (model text, not a jurisdiction's adopted text) |
| Chapters using the term | 2 (counted across the codes hosted here) |
| Wording identical across codes | Single code (compare before citing one code's wording under another) |

## Direct answer

Quantity-distance (q-d) is a defined term in the International Fire Code (IFC) 2009, in Explosives and Fireworks. The code's own words are: “The quantity of explosive material and separation distance relationships providing protection. These relationships are based on levels of risk considered acceptable for the stipulated exposures and are tabulated in the appropriate Q-D tables. The separation distances specified afford less than absolute safety:” No other I-Code in this corpus defines it, so the IFC 2009 definition is the one to work from. The term is used in 2 chapters of this corpus, most often in Explosives and Fireworks (IFC 2009), Definitions (IFC 2009). These pages transcribe the 2009 model text; verify the definition against the edition and amendments your authority having jurisdiction has adopted.

*Content and cited inputs reviewed by [Scott Barrington](https://nz.linkedin.com/in/barrington), Harth founder and architectural technology specialist · Published 2026-09-07 · Updated 2026-09-07.*

## What does this term mean?

**Quantity-distance (Q-D)** — IFC 2009, Explosives and Fireworks:

> The quantity of explosive material and separation distance relationships providing protection. These relationships are based on levels of risk considered acceptable for the stipulated exposures and are tabulated in the appropriate Q-D tables. The separation distances specified afford less than absolute safety:

![Labeled code-term definition diagram: Quantity-distance (Q-D): Building Code Definition](https://efwwel0vyt9vy5so.public.blob.vercel-storage.com/images/glossary/quantity-distance-q-d/diagram-1344.webp)

*How the IFC 2009 define quantity-distance (q-d), where the wording differs, and which chapters depend on the term.*

## What must be verified before using this guidance?

**Quantity-distance (Q-D)** is defined once in this corpus, in the [Explosives and Fireworks](https://harth.build/resources/building-codes/us-states/rhode-island/ifc-2009/explosives-and-fireworks.md) chapter of the International Fire Code (IFC) 2009:

> The quantity of explosive material and separation distance relationships providing protection. These relationships are based on levels of risk considered acceptable for the stipulated exposures and are tabulated in the appropriate Q-D tables. The separation distances specified afford less than absolute safety:

## Where quantity-distance (q-d) is used in the code

The term appears in 2 chapters of the 2009 I-Codes hosted here. The chapters that lean on it hardest are the ones to read next.

| Chapter | Code | Mentions |
| --- | --- | --- |
| [Explosives and Fireworks](https://harth.build/resources/building-codes/us-states/rhode-island/ifc-2009/explosives-and-fireworks.md) | IFC 2009 | 3 |
| [Definitions](https://harth.build/resources/building-codes/us-states/rhode-island/ifc-2009/definitions.md) | IFC 2009 | 1 |

## The terms quantity-distance (q-d) is built out of

The definition above leans on 2 other defined terms. Each carries its own code definition, and a local amendment to any of them changes what quantity-distance (q-d) covers:

- **[Explosive Material](https://harth.build/resources/glossary/explosive-material.md)** — IFC 2009: The term "explosive" material means explosives, blasting agents and detonators.
- **[Explosive](https://harth.build/resources/glossary/explosive.md)** — IBC 2009: A chemical compound, mixture or device, the primary or common purpose of which is to function by explosion.

## Quantity-distance (Q-D): what to open, and in what order

Every row is a document this term depends on. The [ICC code library](https://codes.iccsafe.org/codes) and the [ICC adoption maps](https://www.iccsafe.org/advocacy/code-adoption-maps/) cover the middle rows.

| Check | Where | Confirmed |
| --- | --- | --- |
| Read the definition in the adopted IFC | Explosives and Fireworks | |
| Re-check the requirement that uses it | Explosives and Fireworks (IFC 2009) | |
| Re-check the requirement that uses it | Definitions (IFC 2009) | |
| Confirm the dependent definition | Explosive Material | |
| Confirm the dependent definition | Explosive | |
| Local amendment to any of the above | Jurisdiction's amendment list | |

**A research aid, not a code determination.** The authority having jurisdiction decides which edition and which amendments apply.

## Where can you explore related guidance?

- [Explore all glossary guidance](https://harth.build/resources/glossary.md)
- [Explosive Material: Building Code Definition](https://harth.build/resources/glossary/explosive-material.md)
- [Explosive: Building Code Definition](https://harth.build/resources/glossary/explosive.md)

## Sources and method

Definitions quoted from the 2009 International Codes as transcribed in this site's building-codes collection, with the source chapter linked for each quotation. Usage counts are computed over the chapters hosted here, one copy per code. The [ICC code library](https://codes.iccsafe.org/codes) publishes the current model text and the [ICC adoption maps](https://www.iccsafe.org/advocacy/code-adoption-maps/) show which edition a jurisdiction has adopted; those sources control.

### Source links

- [codes.iccsafe.org](https://codes.iccsafe.org/codes)

- [iccsafe.org](https://www.iccsafe.org/advocacy/code-adoption-maps/)

## Frequently asked questions

### What is the code definition of quantity-distance (q-d)?

The International Fire Code (IFC) 2009 defines it in Explosives and Fireworks as: “The quantity of explosive material and separation distance relationships providing protection. These relationships are based on levels of risk considered acceptable for the stipulated exposures and are tabulated in the appropriate Q-D tables. The separation distances specified afford less than absolute safety:” The 2009 model text is reproduced here; the definition that binds your project is the one in the edition your jurisdiction has adopted, as amended locally.

### Which parts of the code depend on quantity-distance (q-d)?

In this corpus the term is used across 2 chapters, led by Explosives and Fireworks in the IFC 2009. Those are the sections whose scope moves if the definition is amended locally, so read them together with Chapter 2 rather than on their own.

### What is the abbreviation for a building?

Building is a separate defined term. The IBC 2009 defines it as: “Any structure used or intended for supporting or sheltering any use or occupancy.” That is not the same as quantity-distance (q-d), which the IFC 2009 defines as “The quantity of explosive material and separation distance relationships providing protection. These relationships are based on levels of risk considered acceptable for the stipulated exposures and are tabulated in the appropriate Q-D tables. The separation distances specified afford less than …” — read both before applying either, and confirm the wording in the edition your jurisdiction has adopted.

---

- Continue in Harth (open this topic in the Harth agent): https://app.harth.build/agent?context=%2Fresources%2Fglossary%2Fquantity-distance-q-d%2F
- View this page in a browser: https://harth.build/resources/glossary/quantity-distance-q-d/
- All resources for agents: https://harth.build/llms.txt
