I want to create a bitrate calc for my programmable calculator but I need the formula that is the basis for all the calculators on the net.

Anyone here have it?