Documentation sections
BER Calculator — Bit Error Rate from SNR
POSThttps://rftools.io/ api/ py/ v1/ calculate
Slug ber-snr. Free BER calculator for BPSK, QPSK, 8PSK, 16-QAM. Enter Eb/N0 to instantly compute bit error rate. Compare modulation schemes and optimize link performance.
Inputs
Send every one of these in inputs, in the units shown. Most are required: a call without one is refused (400) and costs nothing; one the calculator can do without takes the default shown. An input outside its range is still computed and flagged in the provenance.
| Name | Unit | Range | Default | Description |
|---|---|---|---|---|
| ebN0dBnumber | dB | −5 … 30 | 10 | Energy per bit to noise density ratio. The fundamental SNR metric for digital communications. |
| modulationnumber | none | 1 … 4 | 1 | Modulation |
| targetBernumber | none | 1e-12 … 0.5 | 0.000001 | The bit error rate the link must reach at or below. The status fails above 0.001. |
Outputs
Returned in values, by key. A value that is unbounded or undefined is null.
| Field | Unit | Description |
|---|---|---|
| berheadline | none | Bit error rate (probability of bit error) |
| berLog10 | none | Log base-10 of BER. e.g. −6 means BER = 10⁻⁶ |
| bitsPerSymbol | bits/symbol | Number of bits per modulation symbol |
Calling it
- Calculate: one call, the request and response in full, and its errors.
- Batch: this calculator with others, or a sweep, in one request.
- Solve for a target: the value of one input that brings an output to a target.