Online ping test: latency, jitter and packet loss
A free ping test that runs in your browser, with nothing to install: press the button below and it pings a global server and a mainland China server 20 times each, at the same time, to measure latency, jitter and packet loss. The rest of the page explains what the numbers mean, what a good ping is and how to lower it.
Each server gets one warm-up ping (not counted), then 20 pings. Both servers are tested at once, which usually takes a few seconds.
Global server jsDelivr CDN
—ms median
- Min
- —ms
- Max
- —ms
- Average
- —ms
- Jitter
- —ms
- Loss
- —
Not started
Mainland China server ByteDance CDN
—ms median
- Min
- —ms
- Max
- —ms
- Average
- —ms
- Jitter
- —ms
- Loss
- —
Not started
How to read your ping test result
- Median: the middle value once all successful pings are sorted, and the main result. One slow request can't pull it off course, so it represents your everyday latency better than the average. The rating next to it follows the reference table below.
- Min / Max: the fastest and slowest ping. The minimum is close to the best this route can do; the maximum shows occasional spikes.
- Average: the arithmetic mean of all successful pings. An average well above the median means a few pings were much slower than the rest.
- Jitter: the average difference between consecutive pings. Lower means steadier.
- Loss: the share of pings that timed out or failed (the warm-up ping isn't counted).
- Bar chart: one bar per ping, taller is slower. Red bars timed out or failed, the dashed line is the median and the label in the top-left corner is the top of the scale.
Everything is calculated and shown in your browser only; this page doesn't save or upload your results.
What is latency (ping)?
Latency is the time it takes data to travel from your device to a server and for the reply to come back, also called round-trip time (RTT), measured in milliseconds (ms). People call it "ping" after the ping command, the classic tool for measuring it.
Latency and bandwidth are different things. Bandwidth (download and upload speed) is how much data can move at once; latency is how long each trip takes. Loading a web page, every action in an online game and the back-and-forth of a video call are made of many small round trips, so a high-latency connection feels sluggish even when it is fast. To measure bandwidth, use the Internet speed test.
Latency comes from a few places: the distance the signal travels through fibre (roughly 1 ms of round trip for every 100 km), forwarding by routers along the way, queuing when parts of the network are busy, and the last wireless hop over Wi-Fi or mobile data.
What are jitter and packet loss?
Jitter: how steady your latency is
Jitter measures how much latency jumps around. This tool averages the absolute difference between consecutive pings: if you get 20, 22, 21 and 35 ms, jitter is (2 + 1 + 14) ÷ 3 ≈ 5.7 ms. Voice and video calls and cloud gaming are especially sensitive to it. With high jitter, apps have to buffer more to wait for late data, which shows up as choppy audio, frozen video or extra delay.
Packet loss: whether data arrives at all
Packet loss is data that never arrives. In this tool, a ping that gets no reply within 2.5 seconds, or whose request fails, counts as lost. If a server doesn't answer 3 times in a row (the warm-up ping counts too), the tool stops testing it rather than waiting through more timeouts.
Keep in mind that browser requests run over TCP (or QUIC), which resends lost packets automatically. Light packet loss therefore usually shows up here as the odd slow ping rather than as a lost one. When this tool does report loss, the connection was bad enough for whole requests to time out or fail.
What is a good ping? Latency reference table
The table gives rough round-trip latency guidelines for common uses. They are rules of thumb: how it feels also depends on jitter, packet loss and how well the app copes with delay.
| Latency (round trip) | Rating | Online gaming | Video calls | Browsing and streaming |
|---|---|---|---|---|
| < 20 ms | Excellent | Ideal for competitive shooters and fighting games | Delay is practically unnoticeable | Very snappy |
| 20–50 ms | Good | Smooth in almost every online game | Smooth | Smooth |
| 50–100 ms | Fair | Fine for casual games; noticeable in competitive play | Mostly smooth | Normal |
| 100–150 ms | High | Clearly delayed input | Occasional talking over each other | Pages start a little slower; streaming is mostly unaffected |
| ≥ 150 ms | Poor | Unsuitable for real-time matches | Noticeable pauses in conversation | Noticeably slower |
Jitter and packet loss matter just as much:
| Metric | Very good | Acceptable | Hurts the experience |
|---|---|---|---|
| Jitter | < 5 ms | 5–30 ms | > 30 ms: calls and games stutter |
| Packet loss | 0% | < 1% | ≥ 1%: choppy calls, rubber-banding in games |
This tool sends only 20 pings per server, so a single lost ping already reads as 5%. If it happens once, run the test again to confirm; if it keeps happening, the connection really is unstable.
Why browser ping differs from the ping command and from game ping
Compared with the ping command
The ping command sends ICMP echo requests, which the other side's network stack answers directly with almost no overhead. Web pages can't send ICMP, only HTTP(S) requests, so this page measures HTTP round-trip time. A warm-up request first takes care of DNS lookup and the TCP and TLS handshakes (it isn't counted); the pings that follow are timed on the open connection. When the server allows it (with a Timing-Allow-Origin header), the browser's Resource Timing API measures from sending the request to the first byte of the response. Otherwise the time until the response headers arrive is used, which adds a little browser overhead.
Because the CDN server also needs a moment to handle each HTTP request, browser ping is usually a few milliseconds higher than the ping command. That is expected and doesn't mean anything is wrong with your connection.
Compared with ping shown in games
A game shows your latency to its own game server, which sits somewhere else and is reached over a different route than the CDN servers used here. Many games also use UDP and calculate and display ping in their own way. Use this page to judge whether your connection itself is healthy (how high latency is, how steady, whether packets are lost), not to predict the exact number a game will show.
Global vs mainland China server: why the results differ
The tool tests two targets, the same ones behind the two latency results on the speed test ("Global · jsDelivr" and "China · ByteDance CDN"):
- Global server (jsDelivr CDN): a public CDN serving the whole world; outside mainland China you usually reach a node fairly close to you.
- Mainland China server (ByteDance image CDN): widely deployed inside mainland China, so latency from within China is usually very low.
A big gap between the two is normal. From mainland China, requests to the global server usually cross international links, so latency is clearly higher and can be less stable in the evening peak. Elsewhere it is usually the other way round, because the mainland server is farther away. Physical distance sets a floor on latency, so the more useful comparison is the same server at different times or on different connections (Wi-Fi vs cable, home broadband vs mobile data).
Loaded latency and bufferbloat: idle ping isn't the whole story
This page measures idle latency, with no other heavy traffic on your connection. Plenty of connections have low idle latency that shoots up to hundreds of milliseconds as soon as someone downloads, uploads or streams HD video, and games and calls immediately start to lag. This is called bufferbloat: buffers in the router or the provider's equipment are too large, so data waits in long queues.
Checking for it is easy. Run the speed test: it measures latency about every 0.4 seconds while downloading and uploading, and shows the result as "Loaded latency" for each direction. Compare it with your idle latency. An increase of a few to a few dozen milliseconds is normal; 100 ms or more points to significant bufferbloat, which SQM or QoS on your router (see below) can reduce.
How to lower your ping
- Use a cable where you can: Ethernet gives lower latency and less jitter than Wi-Fi. On Wi-Fi, move closer to the router, prefer the 5 GHz band and keep walls out of the way.
- Close apps that use the network: downloads, cloud sync, system updates and HD streaming on other devices in your home all push latency up. Pause them before a match or a meeting.
- Turn on SQM or QoS on your router: SQM (such as the fq_codel or CAKE algorithms) can greatly reduce bufferbloat; it usually needs a speed limit set slightly below your measured bandwidth. QoS can give gaming and call devices priority.
- Pick nearer servers: in games and apps, choose the region or data centre closest to you. Distance sets the minimum latency, and no connection can beat it.
- Check your VPN or proxy: traffic takes a detour through a relay server, which usually adds latency. Turn it off when you don't need it and test again to compare.
- Restart your modem and router, and contact your provider if needed: if latency and loss stay high at different times and on different devices, share screenshots of this page and the speed test with your provider to help them find line problems.
For more on getting an accurate result and what each speed test number means, read the speed testing guide; for data usage, accuracy and privacy, see the speed test FAQ.
Ping test FAQ
Why is my ping different every time?
Network conditions change all the time: other devices in your home, Wi-Fi interference and how busy your provider's network is all affect the result. A few milliseconds of variation is normal. Test a few times at different times of day and focus on the median.
Why does the global server keep timing out or losing pings?
Your network may reach jsDelivr slowly or not at all, and congested international links can have the same effect. When a server doesn't answer 3 times in a row, the tool stops testing it. Compare with the mainland China server: if that one is fine, the problem is most likely the international route; if both struggle, look at your local network first.
How is the ping test different from the speed test?
The ping test only measures idle latency, jitter and packet loss, sending one request at a time to each server, so it never fills your line. The speed test uses many connections to fill your line and measures download, upload and loaded latency, using far more data (100 Mbps for 10 seconds is about 125 MB of download alone).