Digital Forensic Tools

Slack space and unallocated space

Short answer

Slack space is the unused part of the last cluster a file occupies. Unallocated space is space the file system sees as free. Both can still hold old data.

File slack

Files are stored in whole clusters. If a file does not fill its last cluster, the rest is slack. For example, a 7 KB file in a 32 KB cluster leaves 25 KB of slack. That space may hold leftovers of an older file.

Slack is often split into two parts. RAM slack is the rest of the last sector after the file ends. Drive slack is the sectors after that to the end of the cluster. Modern systems often fill the first part with zeros.

Unallocated space

Unallocated space is the area not assigned to any file now. It includes the clusters of deleted files. It can hold whole files, parts of files or text fragments, and it is a main source for carving and keyword search.

This space is not visible in a normal file listing. A logical copy does not include it. A full bit-for-bit image does, so use that when this data may matter.

Why it matters

Old data in slack or unallocated space can show that a file existed, even if the file itself is gone. Results need care. Fragments may be partial and hard to link to one user or time.

Tools search it by keyword or carve it. Procedures differ by lab, so follow your lab's own procedure for reporting such findings.

Slack and unallocated space

File slackUnallocated space
WhereEnd of the last cluster of a fileClusters not assigned to any file
SizeSmall, per fileCan be very large
Typical contentPieces of earlier dataDeleted files and fragments
Seen in normal listingNoNo

Example

A short text file sits in a large cluster. After the file ends, the examiner sees readable words from an older email in the rest of the cluster. This is slack. The same words may also appear in unallocated space, where the old file was stored.

Common mistakes

  • Using a logical copy that leaves out slack and unallocated space.
  • Treating a text fragment as a complete document.
  • Assuming slack always contains data.
  • Not noting which cluster the fragment came from.

Key terms

Cluster
A group of sectors allocated as one unit.
Slack space
Unused space at the end of the last cluster of a file.
Unallocated space
Space that the file system marks as free.
Bit-for-bit image
A full copy of every sector, including free and slack space.

Questions you may be asked

What is the difference between slack and unallocated space?

Slack is leftover space inside an allocated cluster at the end of a file. Unallocated space is whole clusters that no file uses now.

Why use a full image instead of a logical copy?

A logical copy only has the files. A full image also keeps slack and unallocated space, where old data may sit.

Free tools to practise with

Learn more

Written in our own words from public forensic training material and standards. Last reviewed 24 Nov 2026. Procedures and laws differ by country and agency. Follow your own lab's procedure.