Wireless Protocols

CR 4/8

/koh-ding rayt foor by ayt/
The strongest of the four selectable LoRa coding rates, written 4/8, in which the Hamming forward error correction encoder maps every 4 payload data bits onto 8 transmitted bits. The 4 added parity bits give an effective code rate of 1/2, the lowest LoRa offers, and let the receiver correct a single bit error per block while detecting double errors. This buys roughly 1 to 2 dB of extra link margin over the default 4/5 setting at the price of 1.6× longer coded payloads and correspondingly more on-air time. Because LoRa already derives most of its sensitivity from chirp spread-spectrum processing gain set by the spreading factor, CR 4/8 is reserved for interference-limited or high-reliability links where duty cycle is not the binding constraint.
Category: Wireless Protocols
Effective code rate: 1/2 (0.5)
FEC block: Hamming(8,4)

How LoRa Coding Rate 4/8 Trades Airtime for Robustness

LoRa modulation lets the system designer pick one of four forward-error-correction coding rates, expressed as 4/5, 4/6, 4/7, and 4/8. The numerator is always 4, representing the 4 information bits per coding nibble, and the denominator is the total number of bits actually transmitted after parity is added. CR 4/8 therefore sends 8 bits for every 4 bits of real payload data, the maximum redundancy LoRa supports. The encoding is built on an interleaved extended Hamming structure: the 4 parity bits per block implement a Hamming(8,4) code with an added overall parity bit, which corrects any single bit flip within the block and flags blocks corrupted by two errors.

The benefit of this redundancy is additional decoder resilience when the channel is dominated by short-burst interference or fading rather than by a steady noise floor. In a noise-limited link, LoRa sensitivity is set overwhelmingly by the spreading-factor processing gain and bandwidth, so the demodulator either resolves the chirp or it does not, and the coding rate adds only a small increment. In an interference-limited link, where collisions and impulsive noise corrupt scattered bits, the stronger Hamming code at 4/8 recovers packets that a 4/5 link would drop. Field measurements typically place the coding gain of 4/8 over 4/5 at 1 to 2 dB of effective link margin.

The cost is on-air time. The coding rate scales only the payload portion of the frame, not the fixed preamble and synchronization, so a longer payload pays a larger penalty. At a high spreading factor such as SF12, where each symbol already lasts tens of milliseconds, moving from 4/5 to 4/8 can extend a multi-second transmission by hundreds of milliseconds. That extra airtime consumes the regulatory duty-cycle budget in bands like EU868 and raises the collision probability in dense LoRaWAN networks, which is why 4/5 remains the protocol default.

Coding Rate and Effective Bit Rate

Effective code rate:
Rc = 4 / (4 + n) = 4 / 8 = 0.5  (n = 4 parity bits)

LoRa symbol rate and chip rate:
Rs = BW / 2SF   Rchip = BW

Effective payload bit rate:
Rb = SF × (BW / 2SF) × Rc

Airtime scaling vs. CR 4/5:
payload4/8 / payload4/5 = (4+4) / (4+1) = 8/5 = 1.6×

Example: SF7, BW = 125 kHz, CR 4/8 → Rb ≈ 7 × (125000 / 128) × 0.5 ≈ 3.42 kbps, versus ≈ 5.47 kbps at CR 4/5.

LoRa Coding Rate Comparison

Coding RateParity bits (n)Coded bits / 4 dataEffective RcPayload airtime (rel. 4/5)Typical use
CR 4/5150.801.00× (baseline)Default; dense LoRaWAN
CR 4/6260.671.20×Mild interference margin
CR 4/7370.571.40×Moderate burst noise
CR 4/8480.501.60×Max robustness, fixed links
Common Questions

Frequently Asked Questions

How much extra airtime does CR 4/8 add compared to CR 4/5?

The coding rate scales only the coded payload, by the ratio of denominators: 8/5 = 1.6× longer payload at 4/8 versus 4/5. Because the preamble and header carry fixed overhead, the total time-on-air rise is usually 20 to 40 percent. At SF12 with a 51-byte payload, that is roughly 2.8 s climbing to about 3.6 s, which directly eats into the EU868 duty-cycle budget.

What is the effective code rate and coding gain of CR 4/8?

The 4/n notation means 4 data bits map to n total bits, so 4/8 gives an effective code rate of 0.5, the lowest LoRa option. The 4 parity bits per nibble form an extended Hamming(8,4) code that corrects one bit error and detects two per block. Practical coding gain over 4/5 is about 1 to 2 dB, modest because chirp spread-spectrum processing gain already dominates LoRa sensitivity.

When should I choose CR 4/8 instead of leaving the default 4/5?

Pick 4/8 on interference-limited links, such as dense urban deployments with co-channel collisions, or controlled point-to-point backhaul where the extra 1 to 2 dB buys reliability and duty cycle is not binding. Avoid it in high-density LoRaWAN, where the longer airtime raises collision probability. The explicit header signals the coding rate, so a gateway decodes any node's selection correctly.

LPWAN & IoT Front Ends

Build a Tougher LoRa Link

From low-noise receive chains to antenna systems that maximize LoRa link budget, RF Essentials supplies the front-end hardware that lets robust coding rates like 4/8 reach their full range. Talk to our engineers about your IoT deployment.

Get in Touch