Network Latency from Distance Calculator

Network Latency from Distance Calculator

Popular AI Skill PRO

Enter Calculation

Formula

RTTms=2·dc·Velocity Factor×1000where{d=Distance (km)×1000c=299792458m/s\begin{gathered} \text{RTT}_{ms} = \frac{2 \cdot d}{c \cdot \text{Velocity Factor}} \times 1000 \\[1.5em] \text{where}\quad \left\{ \begin{aligned} d &= \text{Distance (km)} \times 1000 \\ c &= 299792458 \ \text{m/s} \end{aligned} \right. \end{gathered}
Usage stats

Advertisement

Results

Round-Trip Latency (RTT)
9.96
milliseconds
One-way latency 4.98 ms
Effective signal speed 200,860,947 m/s
Distance 1,000,000 m

Report an error on this page

What is this calculator?

This tool estimates the theoretical minimum network latency caused by the physical distance between two points. Data in fiber-optic cable travels at roughly two-thirds the speed of light in a vacuum, so distance imposes a hard floor on how fast packets can travel — no amount of bandwidth can beat physics.

How to use it

Enter the cable distance between the two endpoints, choose kilometers or miles, and set the fiber velocity factor (typically about 0.67 for standard single-mode fiber). The calculator returns the one-way propagation delay and the round-trip time (RTT), which is what a ping measures.

Diagram comparing speed of light in vacuum versus reduced speed in fiber due to velocity factor
In fiber the signal travels at about two-thirds the speed of light, set by the velocity factor.

The formula explained

The signal travels at an effective speed of \(c \times v_f\), where \(c\) = 299,792,458 m/s and \(v_f\) is the velocity factor. One-way latency is distance ÷ effective speed; RTT doubles that to account for the return trip. Real-world latency is always higher because of routing detours, switching, and processing delays.

$$\text{RTT} = \frac{2 \cdot d}{c \cdot \text{Velocity Factor}} \times 1000$$ $$\text{where}\quad \left\{ \begin{aligned} d &= \text{Distance (km)} \times 1000 \\ c &= 299792458 \ \text{m/s} \end{aligned} \right.$$
Advertisement

Worked example

For 1,000 km of fiber at \(v_f = 0.67\): effective speed = \(299{,}792{,}458 \times 0.67 \approx 200{,}860{,}946 \ \text{m/s}\). One-way = \(1{,}000{,}000 \ \text{m} \div 200{,}860{,}946 \approx 0.004979 \ \text{s} \approx 4.98 \ \text{ms}\). RTT ≈ 9.96 ms.

Diagram showing light signal traveling through fiber optic cable between two cities, with round trip path
Round-trip latency is the time a signal takes to travel the distance \(d\) and back through the fiber.

Velocity Factor by Medium

The velocity factor (vf) is the fraction of the speed of light in a vacuum (c = 299,792,458 m/s) at which a signal travels through a medium. It is related to the refractive index n by \(\text{vf} = 1/n\). The values below are typical and approximate. They vary by cable manufacturer, construction and wavelength, so check the datasheet when you need precision.

Medium Typical velocity factor Approx. refractive index n
Vacuum / free space 1.00 1
Standard single-mode fiber ~0.67 (about 0.68) ≈ 1.47
Hollow-core fiber ~0.99 ≈ 1.01
Copper twisted pair (Cat5e / Cat6) ~0.64–0.70 ≈ 1.43–1.56
Coaxial cable ~0.66 (solid dielectric) to ~0.85 (foam / air-spaced) ≈ 1.18–1.52
Microwave / radio line-of-sight (air) ~0.99+ ≈ 1.0003

For standard fiber, 0.67 is the common default. Light then travels at about 200,000 km/s, or roughly 5 µs per km one-way.

Typical Distance and Latency Comparisons

The table uses \(\text{RTT} = \dfrac{2d}{c \cdot \text{vf}} \times 1000\) with vf = 0.67, which gives about 4.98 µs per km one-way and about 9.96 µs per km round-trip. Distances are approximate great-circle or route lengths, and the times are pure propagation delay in fiber.

Route / distance Distance (km) One-way (ms) RTT (ms)
Metro / regional 100 0.50 1.00
Regional 500 2.49 4.98
National 1,000 4.98 9.96
New York – London 5,570 27.73 55.46
Intercontinental 10,000 49.79 99.57
Near-antipodal 16,000 79.66 159.32

Worked example (New York–London): \(\text{RTT} = \dfrac{2 \times 5{,}570{,}000}{299{,}792{,}458 \times 0.67} \times 1000 \approx 55.46\) ms.

Real-world ping is higher than these figures. Cables rarely follow the great-circle path, and routers, switches, queuing and server processing all add delay.

Advertisement

Interpreting Your Result

The calculated value is a lower bound. It is the physical minimum for propagation delay over the given length of fiber, and no routing or hardware improvement can beat it on that medium. A useful rule of thumb is about 1 ms of RTT per 100 km of fiber.

  • Real-world RTT is typically 1.5–2× the calculated value, and sometimes more. Causes include indirect cable routes, multiple hops, queuing, serialization and processing delays, and detours through peering points.
  • VoIP and voice: ITU-T G.114 recommends keeping one-way delay under about 150 ms for most applications. Quality degrades noticeably beyond that.
  • Online gaming: fast-paced games generally feel best when RTT is below roughly 50 ms, and many players notice delays above 100 ms.
  • Video calls: these tolerate somewhat more latency than gaming, but conversation becomes awkward as one-way delay approaches 150–200 ms.
  • Financial trading: latency is competitive down to microseconds, which is why firms use shorter, straighter routes and microwave or hollow-core links with a higher velocity factor.

Bandwidth does not reduce propagation delay. A faster link moves more bits per second, but each bit still needs the same time to travel the distance. Only a shorter path or a medium with a higher velocity factor lowers it.

FAQ

Why 0.67? The refractive index of glass fiber (~1.47) slows light to about 67% of its vacuum speed.

Why is my real ping higher? Routers, switches, queueing, and indirect cable paths all add delay on top of this physical minimum.

Can I use it for satellite links? For free-space or vacuum paths, set the velocity factor close to 1.0.

Last updated:

Most popular in Industry-Specific

View all Industry-Specific calculators