Earthquake Science Early Warning

How Earthquake Early Warning Works: P-Waves vs S-Waves Explained

6 min read By GeoShake Team

Every earthquake generates two main types of seismic waves that behave very differently — and the time gap between them is what makes earthquake early warning possible. Understanding P-waves and S-waves is fundamental to understanding how earthquake detection works and why seconds of warning exist.


The Two Waves

When rock fractures deep underground along a fault line, the released energy radiates outward as seismic waves. Two body waves travel through the Earth's interior:

P-Waves (Primary Waves)

  • Type: Compressional — particles move back and forth in the direction the wave travels (like a slinky being pushed and pulled)
  • Speed: 6–8 km/s in rock (faster in denser material)
  • Arrive: First (hence "Primary")
  • Effect: A sharp jolt or rumble. Relatively low damage potential.
  • How they feel: Like a loud thump or a single sharp shake. People often describe it as "an explosion" or "a truck hitting the building."

S-Waves (Secondary Waves)

  • Type: Shear — particles move perpendicular to the direction the wave travels (like shaking a rope side to side)
  • Speed: 3.5–4.5 km/s in rock (roughly 60% of P-wave speed)
  • Arrive: Second (hence "Secondary")
  • Effect: Strong side-to-side and up-and-down shaking. This is what causes most damage.
  • How they feel: Violent, sustained shaking that makes standing difficult. This is the shaking that topples buildings.

The Warning Window

Because P-waves travel roughly twice as fast as S-waves, there is always a time gap between them:

   P-wave arrival                    S-wave arrival
        │                                 │
        ▼                                 ▼
════════╪═════════════════════════════════╪═══════►  time
        │◄──── WARNING WINDOW ───────────►│
        │  (seconds to tens of seconds)   │

This gap increases with distance from the epicenter:

Distance P-Wave Arrival S-Wave Arrival Gap (Warning Window)
10 km 1.4 s 2.5 s 1.1 seconds
30 km 4.3 s 7.5 s 3.2 seconds
50 km 7.1 s 12.5 s 5.4 seconds
100 km 14.3 s 25.0 s 10.7 seconds
200 km 28.6 s 50.0 s 21.4 seconds

How Sensors Use This Gap

Earthquake early warning systems detect P-waves the instant they arrive at a sensor, and then:

  1. Calculate the earthquake's location, magnitude, and predicted shaking
  2. Send alerts electronically (at the speed of light, 300,000 km/s) to people in the S-wave's path
  3. People receive warnings before the destructive S-waves reach them

The key physics: electronic alerts travel ~50,000 times faster than seismic waves. Even with processing delays of 3–5 seconds, there's enough time to deliver warnings to locations some distance from the epicenter.


What You Can Do With the Warning

Warning Time Achievable Actions
2 seconds Drop and cover your head
5 seconds Full Drop, Cover, Hold On under a table
10 seconds Above + alert family members, open doors
15 seconds Above + turn off stove, move away from windows
30+ seconds Move to a safer room, grab emergency kit

Research from Japan shows that even 2–3 seconds of Drop-and-Cover response reduces head injury rates by ~50%.


Why Sensor Proximity Matters

The closer a sensor is to the earthquake's epicenter, the faster it detects the P-waves, and the more warning time is available for everyone else.

Government station 50 km away: P-wave reaches station in ~7 seconds → processing takes ~5 seconds → alert sent at second 12 → S-wave already hitting some areas.

Community sensor 5 km away: P-wave reaches sensor in ~0.7 seconds → processing takes ~3 seconds → alert sent at second 3.7 → S-wave doesn't arrive at the sensor until second ~1.3, and at a city 50 km away until second ~12.5.

Net result: The nearby community sensor provides 8+ more seconds of warning for people at moderate distances.

This is why dense community sensor networks like GeoShake, with sensors in homes and buildings, can provide faster warnings than sparse government networks for local earthquakes.


Surface Waves: The Slow Destroyers

Two additional wave types travel along the Earth's surface:

  • Love waves — horizontal shearing motion along the surface
  • Rayleigh waves — rolling motion (like ocean waves)

Surface waves are slower than body waves but often carry the most energy for shallow earthquakes. They arrive after S-waves and can cause sustained, large-amplitude shaking that lasts for minutes.

The P→S→Surface wave sequence means that the worst shaking typically builds over time — early warning of the initial P-wave arrival gives you time to take cover before the worst arrives.


See It Yourself

When the GeoShake app detects an earthquake near your sensor, you'll see the wave pattern clearly in the PGA chart:

  1. Baseline — flat line (normal background noise)
  2. P-wave spike — a sharp, brief increase, primarily on the vertical (Up) axis
  3. Quiet gap — brief return toward baseline (the warning window)
  4. S-wave — large, sustained increase on horizontal (East, North) axes
  5. Surface waves — extended shaking, gradually decreasing

📱 Watch waves in real time. Download GeoShake — free on iOS and Android.


Related Articles:

Ready to join the network?

Get the GeoShake T1 sensor and start detecting earthquakes at home.

Get GeoShake T1

Share this article:

Get earthquake insights in your inbox

One short email a month — new guides, network updates, real detection stories. No spam, unsubscribe anytime.