Calculate Earthquake Distance Using P and S Wave Times


Earthquake Distance Calculator (P & S Wave Method)

A professional tool to calculate earthquake distance using P and S wave times.


Enter the time difference in seconds between the S-wave and P-wave arrival.
Please enter a valid, positive number for the time lag.



Dynamic Chart: S-P Time Lag vs. Epicenter Distance
Example P-Wave vs. S-Wave Travel Times
Distance P-Wave Travel Time (approx.) S-Wave Travel Time (approx.) S-P Time Lag
100 km 16.7 s 28.6 s 11.9 s
500 km 83.3 s 142.9 s 59.6 s
1000 km 166.7 s 285.7 s 119.0 s

Understanding the Earthquake Distance Calculation

What is an Earthquake Distance Calculator?

An earthquake distance calculator is a tool used in seismology to determine the distance from a seismic recording station to the earthquake’s epicenter. It does this by using the arrival times of two different types of seismic waves: the P-wave (primary or pressure wave) and the S-wave (secondary or shear wave). Because P-waves travel faster than S-waves, they arrive at the seismograph first. The time difference between their arrivals is directly related to the distance the waves have traveled. This method is fundamental to the process of locating earthquakes worldwide. Anyone from a student learning about seismology to a professional geophysicist can use this principle to calculate earthquake distance using P and S wave times.

The Formula to Calculate Earthquake Distance Using P and S Wave Times

The relationship between the S-P time lag and the epicentral distance is approximately linear for local and regional earthquakes. The simplified formula used by this calculator is:

Distance = S-P Time Lag (s) × VConstant

Where the VConstant is a velocity constant that approximates the combined effect of the P-wave and S-wave speeds through the Earth’s crust. It is derived from the more complex formula: VConstant = (Vp * Vs) / (Vp - Vs), where Vp is the P-wave velocity and Vs is the S-wave velocity.

Variable Meaning Unit Typical Range / Value
Distance The distance from the seismograph to the epicenter. km or miles 0 – 10,000+
S-P Time Lag The time difference between the S-wave and P-wave arrivals. seconds 0 – 800+
VConstant A multiplier representing average crustal wave velocities. km/s or mi/s ~8.4 km/s or ~5.2 mi/s

Practical Examples

Example 1: A Nearby Tremor

A seismograph records a small tremor. The operator notes the P-wave arrival and then the S-wave arrival.

  • Input: S-P Time Lag = 15 seconds
  • Unit: Kilometers
  • Calculation: 15 s * 8.4 km/s = 126 km
  • Result: The earthquake’s epicenter is approximately 126 kilometers away.

Example 2: A Distant Quake

A major earthquake is detected from across the continent.

  • Input: S-P Time Lag = 485 seconds
  • Unit: Miles
  • Calculation: 485 s * 5.2 mi/s = 2522 miles
  • Result: The earthquake’s epicenter is approximately 2,522 miles away.

How to Use This Earthquake Distance Calculator

  1. Find the S-P Time Lag: Look at a seismogram and find the arrival time of the P-wave (the first disturbance) and the S-wave (the second, larger disturbance). Calculate the difference in seconds.
  2. Enter the Time Lag: Input this value into the “S-P Arrival Time Lag” field.
  3. Select Your Unit: Choose whether you want the final distance to be in kilometers or miles from the dropdown menu.
  4. Calculate and Interpret: Click “Calculate Distance”. The result shown is the epicentral distance—the distance along the Earth’s surface from your station to the point directly above the earthquake’s origin. The intermediate results show the constant used for the calculation.

Key Factors That Affect Earthquake Distance Calculations

  • Crustal Composition: P and S waves travel at different speeds through different materials (e.g., granite vs. sediment). The constant used here is an average for continental crust.
  • Depth of the Earthquake (Hypocenter): The calculation assumes a relatively shallow earthquake. Very deep earthquakes can alter the travel paths and times slightly.
  • Path of the Seismic Waves: Waves don’t travel in perfectly straight lines; they refract and reflect off different layers within the Earth, like the mantle and core. This is especially true over very long distances.
  • Local Geology: The specific rock types and structures directly beneath the seismograph station can slightly speed up or slow down wave arrivals.
  • The Moho Discontinuity: The boundary between the Earth’s crust and the mantle can cause significant changes in wave speed, affecting calculations for distant quakes.
  • Data Accuracy: The precision of the calculation is entirely dependent on how accurately the P-wave and S-wave arrival times can be picked from the seismogram. For more on this, see these {related_keywords}.

Frequently Asked Questions (FAQ)

1. What are P-waves and S-waves?

P-waves (primary waves) are compressional waves that travel fastest through the Earth. S-waves (secondary waves) are shear waves that travel slower and cannot pass through liquid, such as the Earth’s outer core.

2. Why does this method only give distance, not direction?

A single seismograph can only determine the distance to an epicenter, creating a circle of possible locations. To pinpoint the exact location, you need data from at least three separate stations (a process called trilateration). For more information, you might want to look into {related_keywords}.

3. How accurate is this calculation?

For local and regional earthquakes (up to a few hundred kilometers), this simplified method is quite accurate. For distant earthquakes, seismologists use more complex travel-time curves that account for the Earth’s layered structure.

4. Can I use this for any S-P time?

Yes, but the farther the quake, the more the Earth’s curvature and deep structures affect the travel times, reducing the accuracy of this simple formula. It’s best for times under about 12-14 minutes (approx. 800 seconds).

5. Does the unit selection (km vs. miles) change the science?

No, it only changes the final output for your convenience. The calculator automatically adjusts the velocity constant (VConstant) to one calibrated for either kilometers or miles.

6. What if the input is not a number?

The calculator includes validation and will show an error message. It will not attempt to calculate earthquake distance using P and S wave times with invalid text.

7. Where can I find seismic data to use with this calculator?

Organizations like the USGS and IRIS Consortium provide real-time and historical seismogram data that you can analyze. Check out their resources to try a real example. A search for {related_keywords} may help.

8. Can this calculator tell me the earthquake’s magnitude?

No. This calculator is designed only to calculate earthquake distance using p and s wave times. Magnitude (like the Richter scale) is determined by measuring the amplitude (height) of the seismic waves, not their arrival times. Find out more about {related_keywords}.

© 2026 GeoCalcs. All rights reserved. For educational purposes.



Leave a Reply

Your email address will not be published. Required fields are marked *