Media APIs

An API to Measure Loudness, from Standards to Streaming


Use the Analyze API to measure loudness and add a validation feature to your applications for testing if media is within range of a broadcasting recommendation or streaming platform.

For content creators, loudness is an important consideration. Streaming services and broadcasters will enforce broadcasting recommendations and standards to insure a uniform experience for listeners. If you are creating an application or media workflow for content creators, measuring and reporting on loudness is an important feature.

What is Loudness Anyway?

Loudness is the subjective perception of the level of sound. The loudness level should be kept consistent for the best listener experience. The reliable control of audio loudness has long been an issue for content creators, producers, and broadcasters.

The fundamental problem comes down to a standardized method of measuring loudness of an audio program. There have historically been some objective measures, but beginning in the early 2000s the International Telecommunication Union (ITU) started work to develop a loudness metric for use in broadcasting. The published recommendation ITU-R BS.1770 “Algorithms to measure audio programme loudness and true-peak level” describes a measurement algorithm that has become the “standard” for loudness of media in broadcast and online streaming services.

If you want to learn a bit more about how this measurement works you can check out the spec or take a look at our Measuring Loudness Guide.


The result of a loudness measurement is a single loudness value in the units of LKFS, loudness K-weighted full-scale. It should be noted, that the unit of LKFS is equivalent to a decibel scale, such that a 1 dB increase will cause the loudness reading to increase by 1 LKFS. This is often referred to as a 1 LU increase in loudness. The EBU uses LUFS as an equivalent to LKFS, but they are identical measures.

This value is reported from the Media Analyze API, so if you follow the Quick Start Tutorial you can get a response on your own media that looks like this:

    audio: {
      loudness: {
        measured: -20.45,
        range: 4.49,
        gating_mode: 'speech',
        sample_peak: -7.87,
        true_peak: -7.86

This measured a loudness of -20.45 LKFS (or LUFS). For an explanation of the other data returned you can learn more in the Analyzing Loudness Guide.

Loudness Ranges

For content creators, the target loudness may be a personal preference or it may be enforced by a media distribution platform. Generally, it is a good idea to measure loudness to avoid any issues later. We’ve heard horror stories of platforms that squash submitted media and creating clipping or other issues during ingest.

There are some broadcasting recommendations such as ATSC A/85 or EBU R.128. You can learn more about these standards in our
Recommendations and Standards Guide. If you are targeting one of these standards you must be in the range (-22, -26) for ATSC and (-22.5, -23.5) for EBU.

Streaming Platforms

You can find a table listing supported profiles including the target loudness ranges for many popular streaming services including Amazon, Apple, Facebook, Pandora, Spotify, SoundCloud, Vimeo, and Youtube.

Using the Media Analyze API you can check to see if your music or podcast conforms to the standards of a chosen distribution platform.

Here’s an example using cURL:

curl -X POST 
  --header "x-api-key: $DOLBYIO_API_KEY" 
  --data '{
  "input": "dlb://in/example.mp3",
  "loudness": {
    "profile": "service_spotify"


Loudness is a key feature in audio production workflows. The Media Analyze API can be used to measure and validate loudness level. You can use the Media Enhance API if you want to adjust loudness to be within a particular range.

To add this feature to your media pipeline tools, plugins, or web applications you can find some helpful code samples in our GitHub repository.

Jayson DeLancey

Developer Relations

Jayson DeLancey leads the Developer Relations team for With 20+ years of software development experience, he is inspired by the blend of creativity and technology he sees from our customers. He devotes himself to improving the everyday developer experiences so that developers can focus their attention on the fun parts of writing code.

Get Started

Drive real-time interactions and engagement with sub-second latency

We are more than just a streaming solutions provider; we are a technology partner helping you build a streaming ecosystem that meets your goals. Get started for free and as you grow, we offer aggressive volume discounts protecting your margins.

Developer Resources

Explore learning paths and helpful resources as you begin development with

Copy link
Powered by Social Snap