MajwareMAJWARE
Instance

(0020,0013)

Instance Number

Keyword: InstanceNumber

A number that identifies this instance. Used to order images within a series.

Tag Attributes

Tag ID
(0020,0013)
Compact
00200013
Keyword
InstanceNumber
VR
IS — Integer String
VM
1
Required
Type 2 — required, may be empty
PS3.15
Not listed in PS3.15 Table E.1-1
Retired
No

Defined in

General Image ModuleSOP Common Module

What Instance Number contains

A number that identifies the image within its series, commonly used for ordering. It does not have to start at 1 or be continuous, and it says nothing reliable about spatial position.

Group 0020 holds the identifiers and numbers that tie instances into series and studies, and the geometry of the patient coordinate system.

Value format: IS (Integer String), VM 1

(0020,0013) InstanceNumber has Value Representation IS (Integer String) and Value Multiplicity 1, which means exactly one value.

IS — Integer String

A whole number written as text, from −2³¹ to 2³¹−1. Leading and trailing spaces are allowed.

Length
12 bytes maximum
Characters
The digits 0–9, + and -, and the space.

Example value

57

Format mistakes to avoid

  • A decimal point is not allowed, so 12.0 is not a valid Integer String.

Where InstanceNumber appears

Defined inTypeMeaning
General Image ModulePS3.3 C.7.6.12Required, but it may be empty (zero length) when the value is unknown.
SOP Common ModulePS3.3 C.12.13Optional.

A module lists the attributes an object must or may carry. Many IODs (CT Image, MR Image, Secondary Capture and others) include the same module, and an IOD-specific module can make an attribute stricter than the general one.

In a C-FIND query using the Study Root Query/Retrieve Information Model, it is a IMAGE-level key of type R: a Required Key: every Query/Retrieve SCP must support matching on it.

De-identification (PS3.15)

Instance Number is not listed in PS3.15 Table E.1-1, so the Basic Application Level Confidentiality Profile gives no specific action for it.

To see how de-identification changes your own files, try the free DICOM Anonymizer, which runs in the browser and uploads nothing.

In archives and migrations

Instance-level values travel with each object. A migration copies them unchanged; an object that arrives with a different value is a different object as far as viewers are concerned.

Common errors and how to fix them

Troubleshooting: If slices appear out of order, check whether the viewer sorts by Instance Number. For spatial order, sort by Image Position (Patient) (0020,0032) projected on the slice normal.

Check a file in seconds with the free DICOM Validator: it reads the header in your browser, lists the tags with their values, and flags missing or malformed key attributes.

Instance Number: frequently asked questions

What is DICOM tag (0020,0013) Instance Number?

A number that identifies this instance. Used to order images within a series.

What VR and VM does Instance Number (0020,0013) have?

(0020,0013) InstanceNumber has Value Representation IS (Integer String) and Value Multiplicity 1, which means exactly one value. A whole number written as text, from −2³¹ to 2³¹−1. Leading and trailing spaces are allowed. Maximum length: 12 bytes maximum.

Is Instance Number (0020,0013) required?

In the General Image Module (PS3.3 C.7.6.1) it is Type 2: required, but it may be empty (zero length) when the value is unknown. In the SOP Common Module (PS3.3 C.12.1) it is Type 3: optional.

Can you query a PACS by Instance Number?

In a C-FIND query using the Study Root Query/Retrieve Information Model, it is a IMAGE-level key of type R: a Required Key: every Query/Retrieve SCP must support matching on it.

How is Instance Number handled when de-identifying DICOM files?

Instance Number is not listed in PS3.15 Table E.1-1, so the Basic Application Level Confidentiality Profile gives no specific action for it.

How do I troubleshoot Instance Number (0020,0013)?

If slices appear out of order, check whether the viewer sorts by Instance Number. For spatial order, sort by Image Position (Patient) (0020,0032) projected on the slice normal.

Check InstanceNumber in your files

The free DICOM Validator lists every header tag and flags problems. Files stay in your browser.

Open DICOM Validator →

Remove patient data before sharing

The free DICOM Anonymizer applies a de-identification profile in your browser, with no upload.

Open DICOM Anonymizer →

Sources

Checked against the DICOM standard, release 2026d. Module Types, query keys and de-identification actions come from these tables: