SX1276 SF12 125 kHz Airtime for 20 Bytes

Calculate SF12 SX1276 airtime for a 20-byte explicit CRC frame at 125 kHz, with low data rate optimization and packet timing.

Jump to results ↓

Inputs

Packet & modem
Count all bytes handed to the radio, including mesh or application overhead.
Region & traffic
Include local retransmissions, relays, beacons and acknowledgments.
Link budget
LiFePO₄ & solar power

Results

Preset estimate
Packet time on air 1,318.912ms

Hourly traffic estimate

Hourly TX duty
0.4396 %
Usable battery
13.824 Wh
No-sun runtime
10.94 days
LoRa packet time and daily power budgetPACKET TIMING1,318.912 msPreamble 401.408 msPayload 917.504 msDAILY ENERGYWh / dayLoad1.264 WhSolar harvest2.6 WhTXRXIdle
Packet duration by segment and battery-side energy use versus solar harvest.

US915 rules depend on the authorized radio mode. Select the FHSS option for the 902–928 MHz hopping occupancy screen.

Modem timing

Symbol duration
32.768 ms
Preamble time
401.408 ms
Payload time
917.504 ms
Payload symbols
28
Low data rate optimization
On

Regional airtime screen

Local TX time
15.827 s / h
Hourly TX duty
0.4396 %
Nominal occupied channel
Inside selected band

Path & sensitivity

Receiver sensitivity
-137.03 dBm
Friis path loss
105.58 dB
Friis received level
-83.28 dBm
Friis available margin
53.75 dB
Friis margin after target
38.75 dB
Friis range at target margin
433.12 km

Battery & solar

Daily consumption
1.264 Wh
Daily solar harvest
2.6 Wh
Daily net energy
1.336 Wh
Usable stored energy
13.824 Wh
No-sun days
10.94 days
Solar-assisted runtime
Energy balanced
Break-even panel rating
0.97 W
Driver-neutral C and Python settings

C99

/* Semtech SX1276 PHY values. Map them to your radio driver and match the peer. */
#include <stdbool.h>
#include <stdint.h>

static const struct {
    uint32_t frequency_hz, bandwidth_hz;
    uint16_t preamble_symbols;
    uint8_t spreading_factor, coding_rate_denominator, payload_bytes;
    bool implicit_header, crc_enabled, low_data_rate_optimize;
} lora_config = {
    .frequency_hz = 906875000,
    .bandwidth_hz = 125000,
    .preamble_symbols = 8,
    .spreading_factor = 12,
    .coding_rate_denominator = 5,
    .payload_bytes = 20,
    .implicit_header = false,
    .crc_enabled = true,
    .low_data_rate_optimize = true,
};

Python

# Semtech SX1276 PHY values. Map them to your radio driver and match the peer.
lora_config = {
    "frequency_hz": 906875000,
    "bandwidth_hz": 125000,
    "preamble_symbols": 8,
    "spreading_factor": 12,
    "coding_rate_denominator": 5,
    "payload_bytes": 20,
    "implicit_header": False,
    "crc_enabled": True,
    "low_data_rate_optimize": True,
}

Worked example

At SF12 and 125 kHz, one symbol lasts 32.768 ms. Auto LDRO reduces the payload block denominator to 40 bits. An 8-symbol preamble setting, 20-byte radio payload and CR 4/5 give 1,318.912 ms on air.

For a bench comparison, trigger a scope or SDR on the RF envelope. The software time from send call to completion may include bus setup, the radio’s ramp and scheduling delay, so mark the actual start and end of the transmitted frame.

Packet time on air
1,318.912 ms
Hourly TX duty
0.4396 %
Usable battery
13.824 Wh
No-sun runtime
10.94 days

Formulas & assumptions

  • Tsymbol = 2^SF / BW. BW is in Hz for seconds per symbol.
  • Npayload = 8 + CRden × max(ceil((8PL − 4SF + 28 + 16CRC − 20IH) / (4(SF − 2DE))), 0). PL is the radio payload bytes, CRC is 1 when enabled, IH is 1 for implicit header and DE is 1 for LDRO.
  • Tpacket = (Npreamble + 4.25 + Npayload) × Tsymbol. SX1262 and SX1276 use the same symbol count for SF7–SF12 with identical settings.
  • Duty = local transmissions per hour × Tpacket / 3,600. In the US FHSS screen, occupancy is Tpacket times the busiest-channel packet count in the listed window.
  • Load (Wh/day) = V × Σ(state current in A × state hours). Harvest = panel W × peak sun hours × yield. No-sun runtime = usable Wh / daily load.
  • Friis loss = 20 log₁₀(4πd/λ). Hata uses an environment-specific intercept plus (44.9 − 6.55 log₁₀(hbase)) log₁₀(dkm).

Use the actual radio payload, header and CRC setting. Confirm the radio’s LDRO register when matching captures. Host-to-radio delay and channel access time are outside time on air.

EU profiles screen nominal occupied band edges and the chosen duty budget. The US FHSS option checks the selected dwell and channel-count criteria only. Equipment approval, actual spectral occupancy, power and local rules need their own checks.

Hata is available for 150–1,500 MHz, a 30–200 m base, a 1–10 m mobile and 1–20 km. Friis range is an unobstructed algebraic estimate. Receiver sensitivity depends on the hardware and packet error criterion.

Enter currents measured at the same battery-side voltage, including MCU and regulator load. Use winter peak sun hours and check the pack’s permitted charging temperature.

References

Questions & answers

Which LDRO setting matches the standard SX1276 SF12 125 kHz case?

Auto turns it on for the 32.768 ms symbol. Use the explicit toggle to reproduce a nonstandard register configuration.

Can a 20-byte raw SF12 frame occupy more than a second?

Yes. This frame lasts about 1.319 s because its symbols are long and it includes preamble, header, coding and CRC overhead.