The DAC’s output voltage or current follows the formula shown here, depending on whether the DAC is of the current or voltage output variety. The output voltage or current changes in proportion to x, which is the input code to the DAC. The proportionality term is x over the quantity 2 to the D minus 1.