Fundamentals

What Is a DICOM File?

A DICOM (.dcm) file is the universal format for medical images — a single file that bundles the image pixels with patient identity, study context, and imaging parameters. Every hospital, imaging clinic, PACS, and cloud imaging platform speaks DICOM.

Definition

DICOM stands for Digital Imaging and Communications in Medicine. It's published by NEMA as the DICOM PS3 standard (16 parts). A DICOM file — typically with the .dcm extension — is a single file that contains the imaging data (pixel, waveform, structured report, or encapsulated PDF/video) plus a structured metadata payload describing the patient, study, series, and acquisition parameters.

Why DICOM instead of JPEG?

A medical image is more than an array of pixels. You need to know:

  • Who — patient identity, demographics, medical record number.
  • When — study date, acquisition time, referring physician.
  • What — modality (CT, MR, X-ray), body part, contrast media.
  • How — slice thickness, kVp, pixel spacing, window/level presets.
  • Where — study UID, series UID, instance UID (so every PACS agrees on identity).

A plain JPEG or PNG strips all of that. DICOM keeps the image and metadata together as a single unit that flows through PACS, VNAs, worklists, viewers, and cloud pipelines without losing context.

What's inside a DICOM file

Every .dcm file has three logical sections:

  1. Preamble + magic bytes: 128 zero bytes followed by the ASCII string DICM. Any parser checks these to confirm the file is DICOM.
  2. File meta-information header: 7 required tags declaring the transfer syntax (how pixel data is encoded — raw, JPEG, JPEG 2000, HEVC, etc.) and the SOP class + instance UIDs identifying what this file represents.
  3. Data set: an ordered sequence of DICOM attributes (tags). Each tag has a group-element pair like (0010,0010) for Patient Name, a value representation (VR) like PN for Person Name, and the value itself. The pixel data lives in tag (7FE0,0010) PixelData.

How do .dcm files differ from JPEG?

Feature DICOM (.dcm) JPEG/PNG
Patient metadataYes (tagged, searchable)None
Bit depthUp to 32-bit (medical grayscale is usually 12–16-bit)8-bit
Multi-frameYes (CT/MR volumes, cine loops)No (static)
Structured dataYes (reports, measurements, segmentations)No
CompressionRaw, JPEG lossless/lossy, JPEG 2000, HEVC, RLELossy only
PACS-compatibleYes (native)No

How do you open one?

The fastest path is the browser viewer — open saga-it.com/dicom/viewer and drop the file in. The file is parsed locally in your browser; nothing uploads. If you'd rather install something, free desktop viewers include MicroDicom (Windows), Horos (Mac), and Weasis (cross-platform). Walkthrough: How to view .dcm files.

Frequently asked questions

What does DICOM stand for?

Digital Imaging and Communications in Medicine. It's both a file format (.dcm) and a network protocol (DIMSE + DICOMweb). The standard is maintained by NEMA — the National Electrical Manufacturers Association — and published as DICOM PS3 (multiple parts).

Why not just use JPEG or PNG?

A medical image needs metadata that JPEG/PNG can't carry: patient identity, study UIDs, imaging parameters, modality calibration, series structure, and more. DICOM bundles pixel data and metadata in one file so the image stays correctly attributed through every PACS, archive, and workflow step.

What's inside a DICOM file?

Three logical parts: (1) a 128-byte preamble + "DICM" magic bytes, (2) a file meta-information header with transfer syntax and SOP class/instance UIDs, (3) a data set of DICOM attributes (tags) including the pixel data. Tags are identified by group-element pairs like (0010,0010) PatientName.

How big are DICOM files?

Anywhere from a few KB (simple reports, structured data) to hundreds of MB (CT/MR volumes, whole-slide microscopy). A typical CT study is ~100 MB for 300 slices. DICOM supports JPEG, JPEG 2000, HEVC, and other compression transfer syntaxes to keep sizes manageable.

What is a SOP Class?

A Service-Object Pair (SOP) Class identifies the TYPE of DICOM content in the file — CT Image, MR Image, Structured Report, RT Plan, PDF, etc. Each SOP class defines which attributes are required (Type 1), conditional (Type 1C/2C), and optional (Type 3). Browse the full list in the SOP Classes section of the spec browser.

How do I open a .dcm file?

Use a DICOM viewer. The fastest option is the Saga browser-based viewer — drag and drop, no install. Desktop alternatives include MicroDicom (Windows), Horos (Mac), and Weasis (cross-platform). See the how-to guide for step-by-step.

Ready to dive deeper?

The DICOM Standard Browser covers all attributes, CIODs, modules, SOP classes, VRs, and transfer syntaxes. For hands-on inspection, open a file in the browser viewer.