Serial Cable Length and Signal Integrity Calculator

The longest cable a serial link can use at its data rate, and the limit that sets it.

Free ● Live 3 standards

Free to use. Sign up free to save, download and print.

Worked example: RS-485 at 115.2 kbps

Maximum cable length: 868 m

Loading the Serial Cable Length and Signal Integrity Calculator…

How it works

RS-485 and RS-232 cable length versus data rate

On RS-422 and RS-485 the longest cable falls as the data rate rises. TI's application report SLLA070D says the data rate in bits per second times the length in metres should not exceed 10⁸, and gives 1200 m as the longest run at any rate, so the 1200 m limit applies up to 83.3 kbps and the rate sets the length above it. TI's RS-485 design guide, SLLA272D, gives a more conservative rule of thumb of 10⁷.

RS-232 is limited by capacitance. TI's SLLA037A, written for TIA/EIA-232-F, allows the driver 2500 pF of load including 20 pF at the receiver input, so the length is what is left divided by the line capacitance per metre: the capacitance between conductors plus the stray capacitance to the shield. At higher rates its second limit binds first, a transition of about 300 Ω times the load capacitance that may take no more than 4 % of a bit. I²C is limited to 400 pF of bus capacitance (NXP UM10204), and no standard sets a CAN bus length, so CAN is checked only against limits you enter.

L = min(10⁸ / R, 1200), for RS-422 and RS-485

L = min(2480, Cₜ − 20) / (Cₘ + Cₛ), for RS-232

Cₜ = 0.04 / (300 R) × 10¹²

L = 400 / C, for I²C

L
maximum cable length, in metres
R
data rate, in bits per second
10⁸, 1200
rate times length, in bit/s × m, and the longest run, in metres, for RS-422 and RS-485 (TI SLLA070D)
Cₘ, Cₛ
capacitance per metre between conductors, and stray capacitance per metre to the shield, which TI puts at typically double the first on shielded cable, in pF/m
2480, 20
the 2500 pF RS-232 load less the 20 pF receiver input, in pF (TI SLLA037A)
Cₜ
largest load whose transition, about 300 Ω times the load, takes no more than 4 % of a bit, in pF
C
I²C bus line capacitance per metre, in pF/m, against the 400 pF limit of NXP UM10204

Standards

  • TIA/EIA-232-F (RS-232): the 2500 pF load, less 20 pF at the receiver input, and a transition of about 300 Ω times the load within 4 % of a bit (TI SLLA037A)
  • ISO 11898-2: CAN bus line of 120 Ω and 5 ns/m; bus length against your own limits
  • I²C bus 400 pF capacitance limit (NXP UM10204 Table 10)

Worked example

Worked example: RS-485 at 115.2 kbps

An RS-485 bus between a controller and its field devices, running at 115 200 bps.

StepWorkingResult
Rate times length limit10⁸ / 115 200868 m
Longest run at any rateTI SLLA070D Table 41200 m
Maximum cable lengththe smaller of 868 and 1200868 m

TI's more conservative rule of thumb, 10⁷, gives 87 m at the same rate. At 9600 bps the product allows 10 417 m, so the 1200 m limit sets the length instead. The cable's own figures do not change this length; they feed the rise time, reflection, timing and noise checks.

FAQ

Frequently asked questions

Not here? Ask us

Calculations run in your browser and nothing you enter is sent to a server.

How is the maximum cable length worked out?

The calculator works out the length allowed by each limit that applies to the chosen standard and reports the shortest. For RS-232 these are the 2500 pF load and the 4 % transition time from TI's SLLA037A. For RS-422 and RS-485 they are the rate times length product of 10⁸ and the 1200 m maximum from TI's SLLA070D, and for CAN they are the delay fraction, rate and length product or maximum you enter, since no standard sets one. For I²C the limit is the 400 pF bus capacitance, with any practical maximum you enter.

What is the maximum RS-485 cable length?

About 1200 m, the longest run TI's SLLA070D gives for RS-422 and RS-485, and it holds up to 83.3 kbps. Above that the rate times length limit of 10⁸ sets the length: 868 m at 115.2 kbps, 100 m at 1 Mbps and 10 m at 10 Mbps. TI's RS-485 design guide, SLLA272D, gives a more conservative rule of thumb of 10⁷, which allows a tenth of those three lengths, and the calculator shows it beside the result.

How long can an RS-232 cable be?

As long as its capacitance allows. TI's SLLA037A, written for TIA/EIA-232-F, limits the load on a driver to 2500 pF including 20 pF at the receiver input, so the length is 2480 pF divided by the line capacitance per metre, the capacitance between conductors plus the stray capacitance to the shield. With 50 pF/m between conductors and 100 pF/m to the shield that is 16.5 m. At higher rates the 4 % transition limit binds first, and at 115 200 bps the same cable reaches 7.6 m.

How is the rise time calculated?

The cable contribution is estimated as 2.2 times the driving resistance times the total cable capacitance, using half the cable impedance for differential links. It is combined with the driver's own rise time as a root sum square. The cable bandwidth is then 0.35 divided by the cable rise time.

Does the propagation delay have to be under a tenth of the bit time?

Not by any standard. Keeping the one way delay small against the bit time lets reflections settle before the receiver samples, and a tenth of the bit time is a common rule of thumb for a lightly terminated line, so the calculator checks the delay only against the fraction you enter, as it does the rise time, eye and timing. The one sourced delay limit is for RS-485 stubs: TI's SLLA272D keeps a stub's delay under a tenth of the driver rise time, so a driver with 100 ns edges on cable with a velocity factor of 0.66 allows stubs of up to 1.98 m.

How does the noise budget work?

Induced noise is reduced by the shield attenuation, and the ground potential difference between the two ends is reduced by the receiver's common mode rejection. The two are combined as a root sum square. The signal at the receiver, after the resistive drop along the cable, is compared with this noise and the receiver sensitivity to give the noise margin and the signal to noise ratio.

Sign up free to keep your work.

Free to use. Saving, downloading and printing need a free account.