Toolvito

Works on this device

Earthquake Distance Calculator

Find how far a seismic station is from an earthquake by the gap between the arrival of the P wave and the S wave. Type the gap or the two arrival times, and the wave velocities. With the P arrival time, the tool also gives the time the earthquake started.

Enter your values

Your values

The time between the first P wave and the first S wave on the seismogram.

Type it to also get the time the earthquake started, such as 14:03:28.6.

6 km/s is an example for the upper part of the Earth's crust. Use the velocity for your rock or region.

3.5 km/s is an example for the upper part of the Earth's crust. Use the velocity for your rock or region.

If you know how deep the earthquake started, the tool also gives the distance along the surface to the epicentre.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

How to use this calculator

  1. Choose whether you have the S–P interval in seconds, or the P and S arrival times read from a seismogram.
  2. Type the P-wave and S-wave velocities. The boxes start with 6 and 3.5 km/s, examples for the upper part of the crust.
  3. If you know the depth of the earthquake, type it to get the distance along the surface to the epicentre.
  4. Choose Calculate.

The formula

Over a distance d the P wave takes d ÷ Vp and the S wave d ÷ Vs. The gap between them is Δt = d ÷ Vs − d ÷ Vp. Turned round, the distance is:

  • d = Δt × Vp × Vs ÷ (Vp − Vs)
  • Origin time = P arrival time − d ÷ Vp.
  • Distance to the epicentre along the surface = √(d² − depth²), when the depth of the focus is known.

Worked example

The S wave arrives 20 s after the P wave. With Vp = 6 km/s and Vs = 3.5 km/s, each second of gap is 6 × 3.5 ÷ 2.5 = 8.4 km, so the earthquake is 20 × 8.4 = 168 km away.

If the P wave arrived at 14:03:28.6, it travelled 168 ÷ 6 = 28 s, so the earthquake started at 14:03:00.6.

Limits you should know

  • The waves are taken to travel in straight lines at constant speeds. This is a fair guide for near earthquakes, up to a few hundred kilometres. For far earthquakes the paths bend through the Earth, and seismologists use travel-time tables of an Earth model.
  • The result is only as good as the velocities you type. Rocks and regions differ.
  • One station gives the distance but not the direction. The earthquake lies on a circle round the station; the circles of three or more stations meet near the epicentre. This tool does not find the epicentre from several stations.
  • For the travel times over a known distance, use the Seismic Wave Travel Time Calculator. For the size of an earthquake, use the Earthquake Magnitude Energy Calculator.

Related tools