Interactive: UART Data Rate Calculator

Interactive: UART Data Rate Calculator

animation
sensors
protocols
Try Leave Baud Rate (bps) at 115200, Data bits at 8, Parity at None and Stop bits at 1, then enable parity.
Observe The initial 8N1 frame has 10 bits, giving 11520 bytes/sec, 86.8 microseconds per byte and 80.0% efficiency.
Explain Data bits, Parity and Stop bits are added to one start bit; dividing Baud Rate (bps) by that frame length gives frames per second.

Technical boundaries. The throughput estimate assumes continuous frames without idle gaps or errors. Its bytes/sec and time-per-byte labels apply directly only to eight-data-bit frames; with seven or nine data bits the same calculation still counts frames, not payload bytes.

TipInteractive: UART Data Rate Calculator

Calculate the effective data throughput for a UART connection based on baud rate and frame configuration.

The displayed baud divided by frame bits is a frame rate, in frames per second. It is also bytes per second only when each frame carries eight data bits. With seven data bits, the payload rate is baud × 7 / frame_bits bits per second, or that result divided by eight for bytes per second; with nine data bits, use baud × 9 / frame_bits bits per second. These settings carry 7- or 9-bit payloads per frame, so a byte-rate label cannot represent them directly. The ATmega328/P USART frame format supports five through nine data bits.

Back to the chapter