You are offline. The tools work from the copy saved in this browser; pages you have not opened yet need a connection.
Modbus RTU Timing Calculator
Enter the baud rate, data format and what you read. You get the silent intervals that separate RTU frames, how long one request and its answer take on the wire and how many devices you can poll per second.
Serial line and request
ExampleDevice delay: how long the device takes before it starts answering. Take it from the manual (for example 500 ms on some energy meters); 0 shows only the time on the wire.
Timing
requestsilence t3.5device delayresponse
| Character time | |
|---|---|
| t1.5 (max gap inside a frame) | |
| t3.5 (silence between frames) | |
| Request | |
| Response | |
| One transaction | |
| Shortest timeout | |
| All devices once | |
| Throughput |
Times assume the master and the devices send without pauses. USB-RS485 adapters and operating systems add their own delay of a few milliseconds per transaction, so real polling is slower.
Runs entirely in your browser. Nothing you enter is sent to a server.
Modbus RTU timing table
Times in ms. 10 bits = 8N1, 11 bits = 8E1, 8O1 or 8N2. Above 19200 baud the specification uses fixed t1.5 = 0.750 ms and t3.5 = 1.750 ms. Last column: reads of 10 holding registers per second at 11 bits, wire time only.
| Baud | Char, 10 bits | Char, 11 bits | t1.5 (11) | t3.5 (11) | t3.5 (10) | Reads/s |
|---|---|---|---|---|---|---|
| 1200 | 8.333 | 9.167 | 13.750 | 32.083 | 29.167 | 2 |
| 2400 | 4.167 | 4.583 | 6.875 | 16.042 | 14.583 | 5 |
| 4800 | 2.083 | 2.292 | 3.438 | 8.021 | 7.292 | 10 |
| 9600 | 1.042 | 1.146 | 1.719 | 4.010 | 3.646 | 21 |
| 19200 | 0.521 | 0.573 | 0.859 | 2.005 | 1.823 | 43 |
| 38400 | 0.260 | 0.286 | 0.750 | 1.750 | 1.750 | 77 |
| 57600 | 0.174 | 0.191 | 0.750 | 1.750 | 1.750 | 102 |
| 115200 | 0.087 | 0.095 | 0.750 | 1.750 | 1.750 | 150 |
Why RTU needs silent intervals
A Modbus RTU frame has no start or end character. The devices on the line recognise the end of a frame by silence: when nothing arrives for 3.5 character times (t3.5), the frame is complete and the receiver checks its CRC. Inside a frame the bytes must follow each other closely; a gap longer than 1.5 character times (t1.5) means the frame is broken. One character is a start bit, 8 data bits, an optional parity bit and the stop bits, so at 9600 baud and 11 bits it lasts 1.146 ms and t3.5 is about 4 ms. Above 19200 baud the specification recommends fixed values, 0.75 ms and 1.75 ms, so fast lines do not need a very precise timer.
The calculator adds up one complete transaction: the request, t3.5, the time the device needs before it answers, the response and t3.5 again before the next request. From that you get how many requests per second the line can carry and how long a full round over all devices takes. Byte counts come from the frame layout of each function, including address and CRC; you can check them in the request generator.
Common mistakes
- Timeout shorter than the device needs. The shortest timeout shown here is only the wire time. Many meters and inverters take tens to hundreds of milliseconds to answer, so add the time from the manual and a margin.
- Many small reads instead of one large one. Every request costs the request bytes, CRC and two silent intervals. Reading 50 registers at once is much faster than 10 reads of 5 registers, as long as the device allows it.
- Frames that get split or merged. A USB-RS485 adapter or a PC program that sends byte by byte can leave gaps longer than t1.5, and the device throws the frame away. Polling with no pause between requests can do the opposite. Look at the raw bytes in the frame decoder.
- Different data format on one bus. All devices must use the same baud rate, parity and stop bits. One device with a different setting can disturb the whole line.
Questions from practice
What is t3.5 at 9600 baud?
With 11 bits per byte (8E1, 8O1 or 8N2) one character takes 1.146 ms, so t3.5 is 4.01 ms and t1.5 is 1.72 ms. With 8N1 (10 bits) it is 3.65 ms and 1.56 ms. The table below the calculator lists the values for all common baud rates.
What timeout should I set in my Modbus master?
At least the shortest timeout shown by the calculator plus the reply time from the device manual, with a generous margin. If the timeout is too short the master gives up while the answer is still on its way and reports a timeout, even though the device works. If it is too long, one dead device slows down the whole polling cycle.
How many devices can I poll per second on RS485?
It depends on the baud rate, how many registers you read and how fast each device answers. At 9600 baud a read of 10 registers takes about 42 ms on the wire, so about 24 reads per second fit on the line; with a device delay of 50 ms it drops to about 11. Enter your values to see the exact figure.
Does 8N1 work even though the specification asks for 11 bits?
Usually yes. The specification wants 11 bits per byte, so without parity it asks for 2 stop bits, but many meters and inverters are set to 8N1 from the factory and work with it. What matters is that the master and every device on the bus use the same format.
Why are the times fixed above 19200 baud?
At high speed one character lasts only a few tens of microseconds, and measuring 1.5 or 3.5 of them precisely is a burden for simple devices. The specification therefore recommends fixed values of 750 µs for t1.5 and 1.75 ms for t3.5 above 19200 baud.
Related tools
- Register DecoderFloat32, Int32, UInt16 and bits in every byte order, plus Find my value.
- Address Converter40001 ↔ offset 0, 4x/3x/0x/1x notation, 5- and 6-digit addresses.
- Value EncoderTurn a value like 230.5 into registers for every byte order.
- CRC-16 CalculatorModbus RTU checksum in wire order, plus a full frame check.
- Frame DecoderRead RTU and TCP frames from Wireshark or a serial log.
- Request GeneratorRead and write requests in RTU, TCP and ASCII, plus a check of the reply.
- Frame ConverterThe same Modbus frame as RTU, TCP and ASCII, with CRC, header and LRC recalculated.
- Function & Exception CodesWhat each code means and the usual cause in practice.
- Status Word DecoderName each bit of a 16- or 32-bit status register.
- 4–20 mA ScalingRaw values to engineering units, 0–10 V and 4–20 mA with fault detection.
- IEEE 754 ConverterFloat32 and Float64 to hex and back, bit by bit, with registers for every byte order.
- CRC-8 / CRC-16 / CRC-32 CalculatorAny CRC from 3 to 82 bits: 113 named algorithms, your own parameters, and finding which CRC a device uses.
- S5TIME / DT / DTL ConverterSiemens S7 time formats: S5TIME, TIME, DATE, TOD, DATE_AND_TIME and DTL to raw hex and Modbus registers and back.
- P1 Telegram Decoder (DSMR)Decode a smart meter P1 telegram (DSMR, Belgian e-MUCS): OBIS codes, CRC check, power per phase, gas and water.
- Pt100 / Pt1000 CalculatorResistance to temperature and back per IEC 60751, with 2-wire lead error and tolerance classes.
- Thermocouple CalculatormV to °C and back for types K, J, T, E, N, R, S and B, with cold junction compensation.
- Register mapsReady-made register maps for meters, inverters and batteries.