Network Troubleshooting
Remote probes by Globalping

ICMP REACHABILITY

How to Ping a Website or IP Address in 2026

Updated

Your website loads instantly on your laptop, yet a customer on another continent reports a timeout. Your game feels laggy but the provider says the connection is fine. Somebody has to prove where the fault begins, and a ping test is the fastest first witness you can call.

This guide shows how to ping a website or IP address from Windows, macOS and Linux, how to read the two numbers that matter — latency and packet loss — and when to run a free online ping test from a remote Globalping probe instead of trusting only your own network.

How to ping a website from any device — laptop terminal sending ICMP echo requests to a server across a network map
Ping is the first reachability check: send an echo request, measure the reply.

What ping actually does

Ping sends ICMP echo request packets to a target and waits for echo replies. The name comes from sonar: send a pulse, listen for the return. Each reply proves the host is alive and routable, and the round-trip time between request and reply tells you how fast the path is right now.

That is also the limit of what ping proves. It does not check a web server, a database or DNS. It checks that an IP-level path to the host exists. When a site works but ping fails, the host is almost always ignoring ICMP on purpose.

ICMP echo request and reply flow between a laptop, router, internet and destination server
Each reply carries a measured round-trip time between your device and the target.

How to ping a website or IP address: step by step

Every operating system ships with ping. The command name is identical everywhere; only the packet-count flag differs. Follow the steps below, or jump straight to the online ping test to run the same check from a remote probe.

Ping command terminal showing four echo replies from example.com
A healthy run ends with zero loss and a latency summary.

Step 1: Open a terminal

Windows: press Win + R, type cmd and press Enter. macOS: open Spotlight with Cmd + Space, type Terminal and press Enter. Linux: most distributions open a terminal with Ctrl + Alt + T.

Step 2: Run the ping command

Windows sends four echo requests and stops on its own. macOS and Linux keep sending until you press Ctrl+C unless you add a count flag:

The same check on every operating system.
ping example.com        # Windows
ping -c 4 example.com  # macOS and Linux

Step 3: Ping an IP address instead

Pinging an IP skips DNS entirely. Use it when the site name fails to resolve but you suspect the network is fine, or when you already know the address you care about:

IPv4 and IPv6 targets both work.
ping 8.8.8.8
ping -c 4 2606:4700:4700::1111

How to read ping results

Two numbers decide whether the result is healthy: latency and packet loss. The summary line adds a stability check most people skip.

Ping output explained — latency and 0% packet loss highlighted in a command terminal
Latency, loss and the min/avg/max summary are the three numbers worth reading.
LatencyVerdictTypical cause
Under 20 msExcellentClose server, fiber or cable, or the local gateway
20–50 msGoodNormal broadband to a same-region server
50–100 msAcceptableCross-country route or average mobile network
100–150 msNoticeableLong-distance or congested international path
Over 150 msSlowDistance, congestion, satellite, or a failing link

Latency: how fast is the path

Round-trip time under 20 ms is excellent on broadband. Up to 80 ms is a normal day for most websites. Above 150 ms usually means long distance, congestion, or a path that crosses a satellite link.

Packet loss: how many replies never returned

Zero loss is normal. A few lost packets on a busy Wi-Fi network is common, but repeated loss on a wired connection points to a real problem: interference, a failing cable, an overloaded router, or congestion between networks.

Minimum, average, maximum: how stable is the path

A large gap between minimum and maximum latency means the path is jittery. If the maximum is three times the minimum, the connection is unstable even when the average looks fine — flaky Wi-Fi is the usual first suspect.

When your local ping lies to you

A local ping only proves the path from your network. Three situations make it misleading:

  • Firewalls drop ICMP all the time. 100% packet loss to a site that opens fine in your browser means the host ignores ping, not that it is down.
  • Distance hides problems. A site can look perfect from your city while timing out for visitors on another continent.
  • Your ISP sits in the middle. A broken path between your provider and the host will not show up until you test from somewhere else.
Local ping test compared with a remote online ping test from US East, Europe and Asia Pacific
One measurement from your desk cannot represent four other regions.

Run an online ping test from another location

The online ping tool on this site runs the same ICMP measurement from one Globalping probe in the region you pick: US East, US West, Europe or Asia Pacific. Every result shows the actual probe city and network, so you know exactly what visitors there experience — the honest answer to "is it down for everyone, or just me?"

Globalping measurements are asynchronous, so expect a few seconds: the probe gets found, the packets go out, and the result comes back.

Online ping test from Globalping probe regions — US East, US West, Europe and Asia Pacific on a world map
Select the region your visitors are in and measure from there.

Run a ping from a selected Globalping region

What ping can't tell you

Ping tests ICMP reachability, not service health. A host can answer ping while its web server is dead, and refuse ping while serving traffic perfectly well. If a site loads but ping fails, or ping works but the site does not load, move up the stack: a TCP port check proves whether port 443 accepts connections, and a website speed test measures the full HTTP exchange.

What a ping test covers — ICMP layer next to TCP port and HTTP website checks
Ping proves the IP layer. Higher layers need their own checks.
QuestionTest to runTool on this site
Is the host reachable at the IP level?Ping (ICMP echo)Online Ping
Can a TCP connection reach port 443?TCP port checkPort Check
How long do DNS, TCP, TLS and the response take?HTTP timing testWebsite Speed Test
Which hops sit between me and the host?TracerouteOnline Traceroute

Summary: ping first, then prove the next layer

A ping test answers one question extremely well: does an IP-level path to this host work, and how fast is it right now? Start every network complaint there. If ping is clean but the service still fails, the fault is in a higher layer, so move to a TCP port check or a website speed test. If the path itself looks slow, traceroute shows where the delay begins.

  • Latency under 20 ms is excellent; over 150 ms usually means distance or congestion.
  • Zero packet loss is normal; repeated loss deserves a second measurement from another location.
  • A failed ping is not a dead website — ICMP is often blocked on purpose.
  • Test from your machine first, then from a remote probe to separate "my network" from "the internet".

Frequently asked questions

What is a good ping time?

Under 20 ms is excellent on broadband, 20–80 ms is normal, and over 150 ms usually means long distance or a congested path. Gamers tend to draw the line around 100 ms.

What does 100% packet loss in ping mean?

No echo reply came back: the host is unreachable, ICMP is blocked, or the route failed. It does not prove the site is down. Plenty of hosts block ICMP while serving traffic perfectly well.

Why does ping work but the website will not load?

Ping only checks ICMP. The web server, DNS, TLS or the HTTP service itself can still be broken. Run a TCP port check on port 443 and a website speed test next.

Can I ping a website from another country?

Yes. An online ping test runs the measurement from a probe in the region you select. The one on this site shows the actual probe city and network in every result, so you can compare regions honestly.

Is an online ping test accurate?

It uses the same ICMP mechanism as local ping, from a data-center probe in the region you chose. Treat it as a snapshot of that location and network at that moment, which is what you want when checking regional reachability.

Ready to run the online ping?

Free, no account required. Results show the exact probe location for every measurement.

Run Online Ping