def get_bit_percentage(bits, total_bits):
    """
    Return a formatted percentage of bits out of the total_bits.
    """
    percentage = bits / total_bits * 100.0
    return '{0:.1f}'.format(percentage) + "%"