Game Dev Cheat Sheet

Audio Volume Calculator

Convert between linear volume, decibels, and perceived loudness. Preview the curves and grab engine-ready code.

Game audio volume is confusing because there are three different scales: linear (0 to 1), decibels (logarithmic), and perceived loudness (how loud it actually sounds to the player). A linear value of 0.5 is not half as loud. This calculator converts between all three scales and shows you the curves so you can set volume levels that feel right.

Volume Converter

0.5000
-6.0 dB
0.7071

Volume Curves

LinearDecibel (normalised)Perceived loudness

Common Volume Presets

Code Output

audioSource.volume = 0.5000f; // Linear
// Or using AudioMixer (dB):
audioMixer.SetFloat("MasterVolume", -6.0f);

Reference Table

dBLinearPerceivedDescription
01.0001.000Maximum
-30.7080.841Barely noticeable reduction
-60.5010.708Noticeable reduction
-100.3160.562Half as loud (perceived)
-200.1000.316Quiet
-400.0100.100Very quiet
-600.0010.032Nearly silent
-800.00010.010Silence threshold