Fiber Optic Latency Calculator: Propagation Delay, RTT & DWDM Distance
Calculate the exact physical latency of optical fiber links based on the speed of light in glass (v = c / n ≈ 204,190 km/s), real-world duct route curvature, and active DWDM equipment delays. Model one-way propagation delay, Round-Trip Time (RTT), and determine whether your datacenter distance permits synchronous database replication or low-latency multiplayer gaming netcode.
🌐 1. Geographic Distance & Cable Route
🔬 2. Optical Physics & Active Equipment
💾 3. Architecture Workload Context
Optical Propagation & RTT Diagnostics
SYNC SAFETransmission Mediums: Optical Fiber vs Copper vs LEO Satellite
| Transmission Medium | Refractive Index / NVP | Propagation Speed | Propagation Delay | Architectural Application |
|---|---|---|---|---|
| Fibra Estándar (SMF-28 Sílice) | n = 1.4682 | ~204.190 km/s | 4.90 μs/km (9.80 μs RTT) | Estándar global en el 99% de datacenters y cables submarinos |
| Hollow-Core Fiber (Núcleo de Aire) | n = 1.0020 | ~299.190 km/s | 3.34 μs/km (6.68 μs RTT) | 33% más rápida; adoptada en High-Frequency Trading (HFT) e IA |
| Cobre Ethernet (Cat6a / DAC) | NVP = 0.65 - 0.75 | ~210.000 km/s | 4.76 μs/km | Limitado a < 100m por atenuación severa e interferencias |
| Satélite LEO (Starlink / Kuiper) | Vacío (n = 1.0) | ~299.792 km/s | ~25 - 45 ms RTT | Luz más rápida pero penalizado por subida/bajada orbital (~550 km) |
Frequently Asked Questions About Optical Latency & RTT
What is the actual speed of light in optical fiber cables?
In a vacuum, light travels at 299,792 km/s. However, inside the silica glass core of standard single-mode optical fiber (G.652), light slows down due to the core's refractive index (n ≈ 1.4682). The resulting speed is v = c / n ≈ 204,190 km/s. This equates to approximately 4.897 microseconds per kilometer of one-way travel (or ~9.80 microseconds per kilometer of Round-Trip Time).
Why is real-world optical latency always higher than straight-line distance calculations?
Three factors explain this divergence: 1) Terrestrial Duct Curvature: Fiber conduits follow railways, highways, and topography, typically adding 25% to 40% more physical fiber length than the great-circle geographic distance. 2) Active DWDM Hardware: Optical transceivers, ROADMs, chromatic dispersion compensators, and EDFA amplifiers add 0.1 to 1.0 ms of serialized processing delay. 3) Core Routing & Buffer Queues: IP-layer routing hops and packet buffering add jitter on unmanaged public internet transit.
What is the maximum latency threshold for synchronous database replication?
Synchronous replication (PostgreSQL synchronous_commit, MySQL Group Replication, CockroachDB/YugabyteDB Raft) requires the primary database to wait for an acknowledgment (ACK) from the replica before completing each commit. Best practices recommend keeping Round-Trip Time (RTT) strictly under 5 milliseconds (equivalent to ~250-300 km of terrestrial fiber). Above 10 ms RTT, transactional throughput drops drastically, and asynchronous replication is strongly recommended.
What is Hollow-Core Fiber (HCF) and why is it revolutionary for latency?
Hollow-Core Fiber (HCF) guides light pulses through a central micro-structured air core rather than solid silica glass. Because air has a refractive index very close to 1.000 (n ≈ 1.002), light travels at nearly 299,190 km/s (33% faster than in conventional silica fiber). Originally deployed in high-frequency algorithmic financial trading between London and Frankfurt, it is now being tested by hyperscalers (Meta, Microsoft, AWS) to connect distributed AI GPU training clusters across campuses.
How does optical latency impact multiplayer game netcode and frame budgets?
A standard 60 FPS video game renders a frame every 16.6 milliseconds (at 128 FPS, every 7.8 ms). If a player's round-trip network ping to the game server is 40 ms, client-side state is 2 to 5 frames behind server reality. Game engines use client-side prediction and lag compensation to mask this delay, but when round-trip latency exceeds 60-70 ms, interpolation artifacts ('rubberbanding' and 'ghost hits' around corners) become unavoidable due to the speed of light limits.