RS-485 Biasing & Termination Calculator
Size RS-485 failsafe bias resistors around the bus termination and unit loads, with the idle voltage and margin over 200 mV.
Free to use. Sign up free to save, download and print.
Worked example: 5 V bus, 32 nodes at ¼ unit load
Bias resistors, E24: 510 Ω each
Loading the RS-485 Biasing & Termination Calculator…
How it works
RS-485 bias resistor formula
When no driver is enabled, the A and B lines of an RS-485 bus float, and a receiver only has a defined output once the two differ by at least 200 mV. Failsafe biasing fits a pull-up resistor from the supply to A and a pull-down from B to ground. With the terminations and the receivers across the pair, they form a voltage divider that holds the idle bus at a target of 200 mV plus a noise margin; TI's design guide (SLLA272D §7) adds 50 mV, for 250 mV.
The load across the pair is the terminations in parallel with the receivers, each unit load taken as 12 kΩ (SLLA272D §8). The divider is solved exactly for the largest bias resistor that still meets the target, which is then rounded down to an E24 value so the target is still met. The calculator assumes one bias network on the bus.
1 / R_load = n_T / R_T + N_UL / 12 kΩ
V_AB = V_BUS × R_load / (R_load + 2 R_B)
R_B ≤ (R_load / 2) × (V_BUS / V_AB − 1)
N_UL ≤ 32, or 32 − 20 = 12 with an external bias network
- V_BUS
- bias supply voltage, in volts; TI's guide uses its minimum
- R_B
- each bias resistor, the pull-up on A and the pull-down on B, in ohms
- R_T, n_T
- each termination resistor, equal to the cable impedance Z₀, in ohms, and how many are fitted: 2 for one at each end
- N_UL
- unit loads on the bus: the number of transceivers times each one's rating, such as 1, ½, ¼ or ⅛
- R_load
- the load across A and B, in ohms
- V_AB
- idle differential voltage, A minus B, in volts; the target is 200 mV plus a noise margin
Standards
- TIA-485 (RS-485): 200 mV receiver threshold, −7 V to +12 V common mode range and 32 unit load limit
- IEC 60063 E24 preferred number series for the standard resistor values
Worked example
Worked example: 5 V bus, 32 nodes at ¼ unit load
A 5 V bias supply, 120 Ω cable with a 120 Ω terminator at each end, 32 transceivers rated at ¼ unit load, and a 250 mV target: 200 mV plus TI's 50 mV noise margin.
| Step | Working | Result |
|---|---|---|
| Terminations | 120 ∥ 120 | 60 Ω |
| Receivers | 12 kΩ / (32 × ¼ UL) | 1500 Ω |
| Load across A and B | 60 ∥ 1500 | 57.69 Ω |
| Largest bias resistor | (57.69 / 2) × (5 / 0.25 − 1) | 548 Ω |
| Bias resistors, E24 | largest E24 value at or below 548 Ω | 510 Ω each |
With 510 Ω fitted the idle bus sits at 268 mV, 68 mV over the 200 mV threshold, and the network draws 23.2 mW from the supply. If the 5 V rail can fall to 4.75 V, the same resistors still give 254 mV. TI's own example (4.75 V, 120 Ω cable, 32 unit loads) gets 528 Ω from its Eq. 2, which leaves out the −1 and counts each unit load as 24 kΩ across the pair; solved exactly on that load the limit is 500 Ω.
FAQ
Frequently asked questions
Not here? Ask us
Calculations run in your browser and nothing you enter is sent to a server.
How are the bias resistors calculated?
The bias resistors form a voltage divider with the load seen across the bus, which is the termination in parallel with the input resistance of every node. The calculator solves for the resistor value that gives your target idle differential voltage, then picks the nearest E24 value at or below it so the target is still met. The next value up is shown as well.
What is RS-485 failsafe biasing, and do I need it?
Failsafe biasing holds an idle RS-485 bus in a known state. With no driver enabled the lines float, and a receiver only has a defined output when A and B differ by at least 200 mV, so it can read noise as data. A pull-up on A and a pull-down on B hold the idle bus above that threshold. Many modern transceivers have built-in failsafe for an open, shorted or idle bus, but TI's design guide (SLLA272D §7) gives their worst-case noise margin as only 10 mV and calls for external failsafe circuitry in noisy environments. If you rely on the built-in failsafe, the calculator leaves out the external network and its 20 unit loads; confirm the behaviour in the transceiver's datasheet.
What idle voltage should I aim for?
TIA-485 receivers must respond to a differential voltage of 200 mV, so the idle bus must sit above that. Aiming higher leaves margin for noise; TI's worked example adds 50 mV, for a 250 mV target. The calculator lets you choose the target and shows the margin achieved.
What value termination resistor does RS-485 need?
One resistor equal to the cable's characteristic impedance at each end of the trunk. TI's design guide (SLLA272D §6) notes that the RS-485 standard recommends 120 Ω cable, so the usual choice is a 120 Ω resistor at each end; the two in parallel put 60 Ω across A and B. That 60 Ω is most of the load the bias network drives, which is why the bias resistors are sized with the terminations in place. For other cable, take the impedance from its datasheet.
When does an RS-485 bus need termination?
Always. TI's RS-485 design guide (SLLA272D §6) says data transmission lines should always be terminated, with one resistor matching the cable impedance at each cable end, whatever the length or rate. A link with one driver at one end, such as DMX512, is terminated at the far end only (ANSI E1.11 §4.9). The calculator flags any other bus terminated at one end, and any bus not terminated.
What is the 32 unit load limit?
TIA-485 allows a driver to carry up to 32 unit loads, where one unit load is a receiver input resistance of about 12 kΩ. Transceivers rated at a fraction of a unit load let more nodes share a segment. The calculator totals the load for your node count and shows the headroom left. With an external bias network it follows TI's design guide (SLLA272D Eq. 3), which counts the network as up to 20 unit loads and leaves 12 for the transceivers: 12 nodes at 1 unit load, or 48 at ¼.
Sign up free to keep your work.
Free to use. Saving, downloading and printing need a free account.