Tools / UART Frame Timing

How to work out UART frame time and data rate

Each UART character carries a start bit, the data, an optional parity bit and stop bits. The extra bits cost time.

Tframe = (1 + data + parity + stop bits) / baud

Inputs

bit/s
bits
bits
bits

Results update as you type. Prefixes work: 4.7k, 100u, 10n.

Result
Bits per frame
10
Frame time
86.81 µs
Ideal frames per second
11,520
What this leaves out
  • Excludes line idle, protocol overhead, framing errors and physical-layer considerations.
Step by step

The working with your numbers

  1. Bits per character1 start + 8 data + 0 parity + 1 stop = 10 bits
  2. Time for one bit1 ÷ 115,200 = 8.68 µs
  3. Time for one character10 × 8.68 µs = 86.8 µs
  4. Characters per second1 ÷ 86.8 µs = 11,520 bytes/sOnly 80 % of the bits are data.

Does the answer make sense?

  • OK: Sending 100 characters takes at least 8.68 ms.
  • OK: Both ends must use the same baud, data bits, parity and stop bits (8N1 is the usual setting), or you get garbage.

Common mistakes

  • Dividing baud by 8 for bytes per second. With 8N1 each byte is 10 bits, so divide by 10.
  • Mismatched baud rates: the Serial Monitor must match Serial.begin().
  • Connecting TX to TX. TX of one side goes to RX of the other.

Learn it, try it, build it

Calculated, not measured. Check the exact part datasheet and your real circuit before powering anything.

Just need the number? Use the UART frame timing calculator on Geekobot.

Common questions

How many bytes per second is 115200 baud?

With 8N1 (1 start, 8 data, 1 stop) each byte is 10 bits, so 115200 ÷ 10 = 11,520 bytes per second.

What does 8N1 mean?

8 data bits, no parity, 1 stop bit. Each character is sent as 10 bits including the start bit.