LoRaWAN Payload Calculator
Calculate the maximum payload size for LoRaWAN messages based on regional parameters and data rate.
EU868 Data Rates
| DR | SF | BW (kHz) | Bitrate (bps) | Max Payload (B) |
|---|---|---|---|---|
| DR0 | SF12 | 125 | 250 | 51 |
| DR1 | SF11 | 125 | 440 | 51 |
| DR2 | SF10 | 125 | 980 | 51 |
| DR3 | SF9 | 125 | 1,760 | 115 |
| DR4 | SF8 | 125 | 3,125 | 222 |
| DR5 | SF7 | 125 | 5,470 | 222 |
| DR6 | SF7 | 250 | 10,940 | 222 |
| DR7 | SF5 | 125 | 50 | 0 |
Formula Explanation
The maximum payload size in LoRaWAN is determined by the regional parameters and the data rate (spreading factor and bandwidth). Each region defines the maximum MAC payload for each data rate.
The application payload is the MAC payload minus the FPort byte when present:
ApplicationPayload = MaxMACPayload - (FPort ? 1 : 0)
Where:
- MaxMACPayload — Defined per region and data rate (bytes)
- FPort — 1 byte when present (values 1–223)
Example: EU868, DR5 (SF7/125kHz) → Max payload = 222 bytes. With FPort = 1 → Application payload = 221 bytes.