P-Waves vs S-Waves: The Physics Behind Earthquake Detection
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: about 6 km/s in the Earth's crust (roughly 5 to 8 km/s, faster in denser rock)
- 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: about 3.5 km/s in the Earth's crust (roughly 3 to 4.5 km/s, about 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 about 1.7 times as fast as S-waves, there is always a time gap between them:
P-wave arrival S-wave arrival
│ │
▼ ▼
════════╪═════════════════════════════════╪═══════► time
│◄─────────── S-P GAP ───────────►│
│ (seconds to tens of seconds) │
This gap increases with distance from the epicenter. The table uses average speeds in the Earth's crust, 6.0 km/s for P-waves and 3.5 km/s for S-waves:
| Distance | P-Wave Arrival | S-Wave Arrival | S-P gap |
|---|---|---|---|
| 10 km | 1.7 s | 2.9 s | 1.2 seconds |
| 30 km | 5.0 s | 8.6 s | 3.6 seconds |
| 50 km | 8.3 s | 14.3 s | 6.0 seconds |
| 100 km | 16.7 s | 28.6 s | 11.9 seconds |
| 200 km | 33.3 s | 57.1 s | 23.8 seconds |
This gap is the most a single sensor at your own location could give you. A network with sensors near the source can warn you earlier, and near the epicenter there may be no warning at all.
How Sensors Use This Gap
Earthquake early warning systems detect P-waves the instant they arrive at a sensor, and then:
- Calculate the earthquake's location, magnitude, and predicted shaking
- Send alerts electronically (at the speed of light, 300,000 km/s) to people in the S-wave's path
- 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 the station in about 8.5 seconds → processing takes ~5 seconds → alert sent at about second 13.5 → S-wave already hitting some areas.
Community sensor 5 km from the epicenter: P-wave reaches the sensor in about 1.9 seconds (the earthquake starts about 10 km underground) → processing takes ~3 seconds → alert sent at about second 4.9 → the S-wave reaches a city 50 km away at about second 14.6.
Net result: The nearby community sensor provides about 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:
- Baseline — flat line (normal background noise)
- P-wave spike — a sharp, brief increase, primarily on the vertical (Up) axis
- Quiet gap — brief return toward baseline (the warning window)
- S-wave — large, sustained increase on horizontal (East, North) axes
- 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 home earthquake sensor and start detecting earthquakes.
Get earthquake insights in your inbox
One short email a month — new guides, network updates, real detection stories. No spam, unsubscribe anytime.