BER Calculator
What bit error ratio does a Q factor or an OSNR give? The calculator converts between Q, Q in dB and BER for a two-level signal, and gives the BER of coherent BPSK, QPSK, 16-QAM and 64-QAM at a given OSNR and symbol rate, with the OSNR each needs to reach the common FEC thresholds. Background: bit error rate, OSNR and forward error correction.
Two short experiments. Each one sets the inputs, says where to look, and asks for a prediction before it shows the result.
These checks run in your browser on every load. The Q-to-BER conversion, its inverse and the format BER curves are compared with closed-form values.
| Check | Expected | Computed | Tolerance |
|---|
The expected values follow BER = ½ erfc(Q/√2), the Gray-coded square-QAM expression and SNR = 2BrefOSNR/(pRs) from Essiambre et al. (2010). The tolerance is the largest difference from Expected that still passes, relative to Expected or to 1, whichever is larger.
A two-level signal with means and Gaussian noise , sampled at the best threshold, has
with Q in decibels written as . For coherent formats in white Gaussian noise the SNR per symbol follows from the OSNR measured in a reference bandwidth , with polarizations at symbol rate :
Gray-coded square -QAM then has, in the nearest-neighbor approximation that is exact for QPSK,
and BPSK has . The required OSNR is found by inverting the curve numerically. Two pre-FEC thresholds are shown: 2.4 × 10−4 for the RS(544,514) “KP4” code of IEEE 802.3, and 3.8 × 10−3 for the 7 % hard-decision codes of ITU-T G.975.1. The results are back-to-back limits for ideal transceivers: implementation penalties, laser phase noise, nonlinear interference and non-Gaussian noise all raise the OSNR a real link needs, typically by 1 to 3 dB at the transceiver alone.
Worked example
Q = 7, or 16.90 dB, gives . Closing the eye by 1 dB, to Q = 6.237, raises the BER about 170-fold to . A 100G DP-QPSK signal at 32 GBd reaches the 3.8 × 10−3 threshold at an OSNR of 12.61 dB in 12.5 GHz; DP-16QAM at the same symbol rate needs 19.27 dB.
Related: the OSNR calculator gives the OSNR after a chain of amplifiers, the how to measure OSNR article covers the measurement, and the QAM and eye diagram entries explain the formats and Q.
References: S. D. Personick, “Receiver design for digital fiber optic communication systems, I,” Bell System Technical Journal 52, 843–874 (1973). R.-J. Essiambre, G. Kramer, P. J. Winzer, G. J. Foschini and B. Goebel, “Capacity limits of optical fiber networks,” J. Lightwave Technol. 28, 662–701 (2010). J. G. Proakis and M. Salehi, Digital Communications, 5th ed., McGraw-Hill (2008), chapter 4. ITU-T G.975.1 (2004). IEEE 802.3-2022, clause 119.