A sample is a digital snapshot of an analog signal at a given point in time. All digital audio files, and some digital video files, consist of sampled analog signals. When all a signal's samples are combined, they can recreate a close approximation of the original signal.

Computers use a component called an analog-to-digital converter (ADC) to analyze analog signals and convert them into digital signals that can be stored and edited on a computer. An ADC captures samples at a sample rate appropriate for the type of signal — several times a second for video (depending on the video's frame rate) to thousands of times per second for audio signals. It quantizes each sample to convert the analog value to a close digital approximation.

A sample represents the value of a signal at a single moment
A sample represents the value of a signal at a single moment

A sample's bit rate determines how accurately it represents the original signal. A higher bit rate permits a larger range of possible values for each sample and allows subtler changes between them. For example, an audio signal sampled at 16 bits per sample allows each sample to cover 65,536 possible amplitude values; a signal sampled at 24 bits per sample could instead represent 16,777,216 possible values.

NOTE: The word "sample" may also refer to a short audio clip that software or hardware can play when triggered. For example, a synthesizer keyboard may include a sample of a bird chirp sound that plays when you press a specific key.

Updated March 23, 2023 by Brian P.

quizTest Your Knowledge

Which of the following is a case-insensitive match?

"Example 1" == "Example 2"
"ExAmPle" == "example"
"Example" == "Examples"
Correct! Incorrect!     View the Case-Insensitive definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Sample on this page is an original definition written by the team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.