The narrowest pulse in a serial burst is one bit, and one over its width is the baud rate. Here is how to read it, a trick that makes it easy, and how close is close enough.
Measure several narrow pulses: every pulse is a whole number of bits, and the shortest one is one bit.
The letter U is 0x55, binary 01010101: sent as 8N1, the line changes level at every bit.
Every pulse of a U is one bit, so +Width and -Width read the bit time, and a run of U's sent back to back is a square wave: Frequency reads half the baud rate (28.8 kHz means 57,600). Paste a line of U's into the terminal rather than holding the key, which leaves gaps.
| Baud rate | One bit | One 8N1 character (10 bits) | A run of U's |
|---|---|---|---|
| 1,200 | 833 µs | 8.33 ms | 600 Hz |
| 2,400 | 417 µs | 4.17 ms | 1.2 kHz |
| 4,800 | 208 µs | 2.08 ms | 2.4 kHz |
| 9,600 | 104 µs | 1.04 ms | 4.8 kHz |
| 19,200 | 52.1 µs | 521 µs | 9.6 kHz |
| 38,400 | 26.0 µs | 260 µs | 19.2 kHz |
| 57,600 | 17.4 µs | 174 µs | 28.8 kHz |
| 115,200 | 8.68 µs | 86.8 µs | 57.6 kHz |
| 230,400 | 4.34 µs | 43.4 µs | 115.2 kHz |
| 460,800 | 2.17 µs | 21.7 µs | 230.4 kHz |
| 921,600 | 1.09 µs | 10.9 µs | 460.8 kHz |
Real devices are rarely exactly on the rate: Digi's manual for its XBee S1 says its 115,200 setting runs at 111,111 baud, 3.5 % slow. A receiver reads the stop bit 9.5 bit times after the start edge, so it fails once the two clocks drift half a bit apart: 0.5 / 9.5 = 5.3 % at most. Keep the total under about 3 %. A measurement within 2 % of a standard rate is almost certainly that rate.
Many serial decoders can measure the rate themselves (often called Auto). Fitting one bit time across every edge on a capture gives the rate far more closely than one pulse measured by hand.
When to distrust it: with only a few characters on the capture, with too few samples a bit, and when the device changes rate partway, as some chips do after their boot messages. Check that the decoded text makes sense.
For a UART, yes: 57,600 baud is 57,600 bits a second. An 8N1 character carries 8 data bits in 10, so that moves at most 5,760 bytes a second.
Yes. Measure the narrowest pulse with the cursors or the width measurement and divide one by it.
The rate the ESP8266 prints its boot log at, before the program sets its own; that is why a terminal at 115,200 shows garbage at power-up. More on boot logs.