Fiber Optic & Network Latency Calculator: RTT, Speed of Light in Glass (c/n), Serialization & BDP Throughput
Calculate true physical propagation delay in silica fiber (v ≈ 204,000 km/s), RTT with cable sinuosity, and routing hops. Model the Bandwidth-Delay Product (BDP) and single-stream TCP throughput throttling under unscaled socket buffers.
⚙️ Advanced Optical Physics & Packet Parameters
| Latency Component | Physical Parameter | Delay (ms) | % of Latency | Architectural Impact |
|---|
The Physics of Glass: Why Network Latency Cannot Defeat the Speed of Light
In distributed systems and cloud engineering, latency is frequently treated as an arbitrary configuration quirk or software bug. Yet across metro, inter-city, and transcontinental links, network delay is fundamentally governed by the laws of optical physics and the refractive index of glass silicon.
1. Refractive Index (n): 31% Slower Than Vacuum
Light moves through a vacuum at roughly 299,792 km/s. Inside standard telecommunications single-mode fiber (e.g., Corning SMF-28), photons propagate through a silica glass core with a refractive index of n ≈ 1.4682. Applying the phase velocity equation (v = c / n), effective propagation speed drops to 204,190 km/s. This establishes an unbreakable physical law: for every 1,000 km of optical fiber, light requires exactly 4.90 milliseconds one-way (9.80 ms Round-Trip Time).
2. Route Sinuosity: Why Fiber Never Runs in Straight Lines
While great-circle distance between two cities might measure 1,500 km, real-world ping never approaches the straight-line ideal. Terrestrial fiber conduits follow highway easements, railway rights-of-way, and utility trenches. This introduces a typical sinuosity factor of 1.2x to 1.35x for land networks (and 1.15x to 1.20x for subsea cables), drastically extending the real optical path photons must traverse.
3. The BDP Bottleneck: Why 10 Gbps Links Yield 20 Mbps Without Window Scaling
The Bandwidth-Delay Product (BDP) defines the total volume of data «in flight» needed to saturate a channel before receiving an acknowledgment (ACK). Over a 10 Gbps pipe with 30 ms RTT, the BDP equals 37.5 Megabytes. If a host lacks TCP Window Scaling (RFC 7323) and relies on the legacy 64 KB window buffer, single-stream throughput collapses to merely 17 Mbps, discarding 99.8% of available optical transport capacity.
Frequently Asked Questions about Fiber Latency & TCP
What is the actual speed of light in optical fiber cables?
Due to the refractive index of silica glass (n ≈ 1.4682), light travels at roughly 204,190 km per second in standard single-mode optical fiber, or approximately 4.90 microseconds per kilometer.
What causes latency differences between subsea and terrestrial fiber?
Subsea cables feature lower sinuosity (1.15x) because ocean routes run straighter with fewer active routing hops, whereas terrestrial lines dodge geographical obstacles and cross multiple carrier border routers.
How does Bandwidth-Delay Product (BDP) affect TCP throughput?
BDP determines the required socket buffer size (Bandwidth × RTT). If the sender's TCP window is smaller than BDP, the pipeline empties while waiting for ACKs, severely limiting transfer speeds regardless of link capacity.