Lora Calculator






LoRa Calculator – Free Airtime & Link Budget Analysis Tool


LoRa Calculator

Analyze Time-on-Air, Link Budget, and Packet Duration for IoT Projects



Higher SF means longer range but more airtime.




Payload must be 1-255 bytes.



Total Time on Air
0.00 ms
Receiver Sensitivity
-137.0 dBm

Max Link Budget
153.0 dB

Bit Rate
293 bps

Formula: ToA = Tpreamble + Tpayload. Calculation includes Low Data Rate Optimization where required.

Airtime Comparison by Spreading Factor

Visualization of how SF selection exponentially impacts transmission time.


Theoretical Data Rates for Current Bandwidth (125kHz)
SF Symbols Duration (ms) Max Payload (Bytes) Typical SNR Limit (dB)

What is a lora calculator?

A lora calculator is a specialized technical tool used by engineers, IoT developers, and network architects to predict the physical layer performance of LoRa (Long Range) wireless communication. Unlike standard Wi-Fi or Bluetooth, LoRa relies on Chirp Spread Spectrum (CSS) modulation, which involves complex relationships between bandwidth, spreading factor, and coding rate. By using a lora calculator, professionals can determine the exact duration a radio packet will occupy the airwaves, known as Time-on-Air (ToA).

Anyone designing a LoRaWAN network should use a lora calculator to stay compliant with regional radio regulations. For instance, in the ETSI (Europe) region, many frequency bands are limited to a 1% duty cycle. This means a device cannot transmit for more than 36 seconds per hour. Without a reliable lora calculator, it is nearly impossible to accurately estimate battery life or network capacity. A common misconception is that increasing the Spreading Factor (SF) only improves range; however, as the lora calculator demonstrates, it also exponentially increases airtime and power consumption.

lora calculator Formula and Mathematical Explanation

The mathematics behind a lora calculator involve several layers of calculation. The core objective is to find the total packet duration ($T_{packet}$), which is the sum of the preamble duration and the payload duration.

The symbol duration $T_s$ is calculated as:

$T_s = \frac{2^{SF}}{BW}$

The lora calculator then determines the number of symbols in the payload using this formula:

$n_{payload} = 8 + \max\left(\lceil \frac{8PL – 4SF + 28 + 16CRC – 20H}{4(SF – 2DE)} \rceil (CR + 4), 0\right)$

Variable Meaning Unit Typical Range
SF Spreading Factor Integer 7 – 12
BW Bandwidth kHz 125, 250, 500
PL Payload Length Bytes 1 – 255
CR Coding Rate Ratio 1 (4/5) to 4 (4/8)
DE Low Data Rate Opt. Binary 0 or 1

Practical Examples (Real-World Use Cases)

Example 1: Smart Agriculture Sensor

A soil moisture sensor sends 10 bytes of data every hour using SF12 and 125kHz bandwidth. Using our lora calculator, we find the Time-on-Air is approximately 1,318 ms. At a 1% duty cycle, this device is well within limits. However, the high airtime means the radio is active for a long period, significantly draining the battery over several years. By adjusting the lora calculator to SF7, the airtime drops to just 41 ms, extending battery life tenfold if the signal strength allows.

Example 2: Industrial Vibration Monitoring

An industrial gateway needs to handle 500 sensors. If each sensor sends a 50-byte packet at SF10, the lora calculator shows a ToA of about 616 ms. The network architect uses these results to calculate “Packet Collision Probability.” If the lora calculator results are too high, the architect may choose to increase the bandwidth to 250kHz to reduce the “time on the air,” effectively doubling the network capacity.

How to Use This lora calculator

Follow these steps to get the most accurate results from the lora calculator:

  1. Select Spreading Factor: Choose between SF7 (shortest range, fastest) and SF12 (longest range, slowest).
  2. Define Bandwidth: Most LoRaWAN networks use 125kHz. Higher bandwidths increase data rate but decrease sensitivity.
  3. Input Payload: Enter the number of bytes your sensor transmits (e.g., temperature and humidity usually take 4-8 bytes).
  4. Adjust Transmit Power: Standard devices use 14 dBm. High-power modules might go up to 20 dBm.
  5. Review the Chart: Look at the airtime comparison to see if a small reduction in SF could drastically improve your duty cycle margin.
  6. Copy Results: Use the copy button to save the specs for your technical documentation or firmware configuration.

Key Factors That Affect lora calculator Results

1. Spreading Factor (SF): This is the most critical variable in the lora calculator. Each increase in SF doubles the duration of the symbol, effectively doubling the airtime.

2. Bandwidth (BW): Doubling the bandwidth halves the airtime. However, it also increases the noise floor by 3dB, reducing the maximum range predicted by the lora calculator.

3. Coding Rate (CR): This adds redundancy to the packet to help with interference. While higher CR (like 4/8) makes the link more robust, it increases the payload symbols calculated by the lora calculator by up to 25%.

4. Low Data Rate Optimization (LDRO): When symbol duration exceeds 16ms (common at SF11/SF12 with 125kHz), LDRO must be enabled. The lora calculator automatically accounts for this bit-shifting logic.

5. Link Budget and Sensitivity: Sensitivity determines the weakest signal a radio can hear. The lora calculator uses the thermal noise floor (-174 dBm/Hz) plus the noise figure to show how much “path loss” your system can handle.

6. Environmental Interference: While the lora calculator provides theoretical maximums, real-world obstacles like buildings or trees introduce “fading,” which requires a safety margin in your link budget.

Frequently Asked Questions (FAQ)

Does the lora calculator include the LoRaWAN header?

Our lora calculator calculates the physical layer. For LoRaWAN, you should add 13 bytes to your application payload (MHDR, FHDR, Port, and MIC) to get the total bytes for the lora calculator input.

Why is SF12 so much slower than SF7?

SF12 uses 4096 chirps per symbol, while SF7 uses only 128. This makes SF12 much easier for the gateway to “hear” in the noise, but the lora calculator shows it takes about 32 times longer to send the same data.

What is a good link budget?

For reliable outdoor coverage, a link budget of 140dB to 150dB is standard. The lora calculator helps you see if your TX power and SF choice meet this threshold.

How does bandwidth affect range in the lora calculator?

Narrower bandwidth (e.g., 125kHz) allows for better sensitivity, which increases range. Wider bandwidth (500kHz) is used for high-speed downloads but requires a stronger signal.

Is the 1% duty cycle mandatory?

In Europe (EU868), yes. In the US (US915), there is no duty cycle limit, but there are “dwell time” limits. The lora calculator is vital in both regions to ensure legal operation.

Can I send 255 bytes at SF12?

Technically yes, but the lora calculator will show the airtime exceeds 2 seconds, which may be prohibited by local regulations or network server timeouts.

What is Coding Rate 4/5?

It is the overhead added for error correction. 4/5 means for every 4 bits of data, 1 parity bit is added. The lora calculator adjusts the symbol count accordingly.

Does temperature affect the lora calculator results?

Temperature affects crystal stability and noise figure, but the mathematical “Time on Air” calculated by the lora calculator remains constant based on the radio settings.


Leave a Reply

Your email address will not be published. Required fields are marked *