Timetable for the line

Fiber latency calculator

How long does light take to ride a fiber run from the machine room to the desk? Type the length of your fiber and the group index from your cable's datasheet. The result is an estimate of the time the light itself spends in the glass.

Your line

The length of fiber the light travels, including slack and patch cords, not the straight-line distance. Accepted: 0.1 m to 20,000 km.

Datasheets list it per wavelength, often as "effective group index of refraction". Take the value for the wavelength your extender's optics run at from the cable datasheet. Accepted: 1 to 3. The example on this site uses 1.468.

Hz

Compares the delay with one refresh interval (1 ÷ rate). Accepted: 1 to 1,000 Hz.

Timetable · estimate

Enter a fiber length and the group index from your cable's datasheet, or fill the example values.

The formula

t = L × ng ÷ c, in seconds (one-way delay)
L = fiber length in metres; c = 299,792,458 m/s
vg = c ÷ ng (speed of light in the fiber)
delay per kilometre = 1,000 m × ng ÷ c
round trip = 2 × t
refresh interval T = 1 ÷ f, with f in Hz
share of one refresh interval (%) = 100 × t ÷ T

L is the fiber length in metres and ng is the group index of the fiber at the wavelength in use. At a group index of 1.468 this works out to about 4.9 µs for every kilometre. The round trip, 2 × t, assumes the same optical path length and the same group index in both directions. The comparison uses one refresh interval at the rate you enter; if a frame stays on screen across several refreshes, it lasts longer than that.

What the estimate assumes

  • It counts only the time light spends travelling through the fiber.
  • It leaves out the extender's own processing time, such as video encoding, buffering and USB handling. Some manufacturers state that figure separately; this page does not supply it.
  • It also leaves out delay inside the computer, the display and any USB device.
  • L is the fiber's own length, including slack loops and patch cords, not the distance between the rooms.
  • The group index is the figure you type in. Datasheets list it per wavelength, so use the value for the wavelength your extender's optics run at. 1.468 is an example value, not a figure for any particular cable.
  • Accepted limits: length 0.1 m to 20,000 km, group index 1 to 3, optional refresh rate 1 to 1,000 Hz. These are the calculator's limits, not statements about any fiber or display.
  • Delays are rounded to four significant figures; refresh intervals to the nearest microsecond.

Where the constant comes from

The speed of light in a vacuum is exactly 299,792,458 metres per second, because the metre is defined from it. See SI base unit: metre (m) (Bureau International des Poids et Mesures) and CODATA Value: speed of light in vacuum (NIST).

Read the fiber KVM guides for the rest of the line: optics, USB and video limits.