In telecommunication and information theory, the code rate (or information rate) of a forward error correction code is the proportion of the data-stream that is useful (non-redundant). That is, if the code rate is k/n, for every k bits of useful information, the coder generates totally n bits of data, of which n-k are redundant.
If R is the gross bitrate or data signalling rate (inclusive of redundant error coding), the net bitrate (the useful bit rate exclusive of error-correction codes) is ≤ R•k/n.
For example: The code rate of a convolutional code may typically be 1/2, 2/3, 3/4, 5/6, 7/8, etc, corresponding to that one redundant bit is inserted after every single, second, third, etc, bit. The code rate of the Reed Solomon block code denoted RS(204,188) is 188/204, corresponding to that 204 - 188 = 16 redundant bytes are added to each block of 188 byte of useful information.
A few error correction codes do not have a fixed code rate -- rateless erasure codes.
Note that bit/s is a more widespread unit of measurement for the information rate, implying that it is synonymous to net bit rate or useful bit rate exclusive of error-correction codes.
Famous quotes containing the words code and/or rate:
“Many people will say to working mothers, in effect, I dont think you can have it all. The phrase for have it all is code for have your cake and eat it too. What these people really mean is that achievement in the workplace has always come at a priceusually a significant personal price; conversely, women who stayed home with their children were seen as having sacrificed a great deal of their own ambition for their families.”
—Anne C. Weisberg (20th century)
“I dont know but a book in a mans brain is better off than a book bound in calfat any rate it is safer from criticism. And taking a book off the brain, is akin to the ticklish & dangerous business of taking an old painting off a panelyou have to scrape off the whole brain in order to get at it with due safety& even then, the painting may not be worth the trouble.”
—Herman Melville (18191891)