We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS


This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The rtt read-only property of the NetworkInformation interface returns the round-trip time estimate in milliseconds, rounded to the nearest multiple of 25 milliseconds. This value is based on recently observed application-layer round-trip time measurements across recently active connections, excluding connections made to private address space. In the absence of data, this value is determined by the properties of the underlying connection technology.


var rtt = NetworkInformation.rtt


A Double.


Specification Status Comment
Network Information API
The definition of 'rtt' in that specification.
Editor's Draft Initial definition.

Browser Compatibility

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 61 ? ? 48 ?
Feature Android Webview Chrome for Android Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile
Basic support 61 61 ? ? ? 48 ?

Document Tags and Contributors

Contributors to this page: suterj, Onkar316, jpmedley, jsong0605
Last updated by: suterj,