Arrival Time Calculator using Magnitude and Amplitude


Seismic Wave Arrival Time & Distance Calculator

Analyze P-wave and S-wave arrival data to determine the distance to an earthquake’s epicenter. Learn the roles of magnitude and amplitude in seismic events.



The time in seconds it takes for the primary (P) wave to be detected.


The time in seconds it takes for the secondary (S) wave to be detected.


Average velocity of the P-wave through the Earth’s crust, typically 6-8 km/s.


Average velocity of the S-wave through the Earth’s crust, typically 3.5-4.5 km/s.


Select the desired unit for the final distance result.


Calculation Results

S-P Time Lag
Velocity Ratio (Vp/Vs)
Travel Factor

Travel Time Comparison Chart

Visual comparison of P-Wave vs. S-Wave travel times for the calculated distance.

What is an Arrival Time Calculator Using Magnitude and Amplitude?

While the phrase “arrival time calculator using magnitude and amplitude” might suggest a direct calculation, in seismology, these terms play related but distinct roles. Magnitude (e.g., on the Richter scale) quantifies the total energy released at the earthquake’s source. Amplitude refers to the maximum ground motion recorded by a seismograph. A higher magnitude earthquake will produce waves with higher amplitude.

However, to determine the arrival time or, more practically, the distance to the epicenter, seismologists use the difference in arrival times between two types of seismic waves: Primary (P-waves) and Secondary (S-waves). This calculator uses that fundamental principle. P-waves travel faster than S-waves, so the farther away an earthquake is, the greater the time gap between their arrivals. Our seismic wave analysis tool provides deeper insights.

The Formula for Calculating Epicenter Distance

The core of this arrival time calculator is the S-P time difference method. By knowing the arrival times and the average velocities of P-waves and S-waves, we can calculate the distance to the earthquake’s epicenter.

The travel time for each wave is given by Time = Distance / Velocity. Since they travel the same distance (D):

  • TimeP-wave (Tp) = D / Vp
  • TimeS-wave (Ts) = D / Vs

The time difference (ΔT) is Ts – Tp. Rearranging the formula to solve for Distance (D) gives:

D = ΔT * (Vp * Vs) / (Vp – Vs)

Variables Table

Variables used in the epicenter distance calculation.
Variable Meaning Unit (Typical) Typical Range
D Distance to Epicenter km or miles 0 – 20,000 km
ΔT S-P Arrival Time Lag seconds (s) 0 – 1,200 s
Vp P-Wave Velocity km/s 5.5 – 8.0 km/s
Vs S-Wave Velocity km/s 3.5 – 4.5 km/s

Practical Examples

Example 1: Nearby Tremor

A seismograph records the arrival of a P-wave at 10 seconds and an S-wave at 15 seconds.

  • Inputs: Tp = 10s, Ts = 15s, Vp = 8.0 km/s, Vs = 4.5 km/s
  • Time Lag (ΔT): 15s – 10s = 5s
  • Result: The calculator would show a distance of approximately 51.4 km.

Example 2: Distant Earthquake

A powerful, distant earthquake is recorded. The P-wave arrives after 120 seconds, and the S-wave arrives after 210 seconds.

  • Inputs: Tp = 120s, Ts = 210s, Vp = 8.0 km/s, Vs = 4.5 km/s
  • Time Lag (ΔT): 210s – 120s = 90s
  • Result: The epicenter is calculated to be about 4,628.6 km away. For more on global earthquake patterns, see our plate tectonics guide.

How to Use This Arrival Time Calculator

  1. Enter P-Wave Arrival Time: Input the time (in seconds) when the first disturbance (P-wave) was detected.
  2. Enter S-Wave Arrival Time: Input the time (in seconds) when the more intense secondary wave (S-wave) was detected.
  3. Adjust Velocities (Optional): The calculator uses standard average velocities for the Earth’s crust. For more precision, you can adjust these values based on the specific geology of the region.
  4. Select Units: Choose whether you want the final distance to be in kilometers or miles.
  5. Interpret the Results: The primary result is the calculated distance to the epicenter. The intermediate values show the S-P time lag and other factors used in the formula, which are helpful for understanding the calculation. The chart provides a quick visual of the travel time difference.

Key Factors That Affect Arrival Time & Wave Speed

  • Rock Density: Seismic waves travel faster through denser, more rigid materials.
  • Earth’s Layers: Wave speeds change as they pass through different layers of the Earth (crust, mantle, core). This is a key principle explored in our earth structure overview.
  • Temperature and Pressure: Higher temperature tends to slow down seismic waves, while higher pressure increases their speed.
  • Medium State: P-waves can travel through solids, liquids, and gases, while S-waves can only travel through solids. This is why S-waves do not pass through the Earth’s liquid outer core.
  • Fault Type: The orientation and type of fault rupture can influence the initial energy distribution of the waves.
  • Topography: Surface features can cause complex reflections and refractions of seismic waves, affecting local amplitude. Learn more at our geological survey methods page.

Frequently Asked Questions (FAQ)

1. Why don’t you just input magnitude and amplitude to get arrival time?

Magnitude and amplitude describe the *energy* and *intensity* of a wave, not its travel speed. The speed is determined by the properties of the medium (like rock density). The arrival time depends on this speed and the distance traveled.

2. What is a P-wave?

A P-wave, or primary wave, is a compressional wave that is the fastest type of seismic wave. It pushes and pulls the ground in the same direction as the wave is moving.

3. What is an S-wave?

An S-wave, or secondary wave, is a shear wave that moves the ground perpendicular to the direction of wave travel. It is slower than a P-wave but often has a larger amplitude.

4. Can this calculator pinpoint the exact location of the earthquake?

No, this calculator gives you the distance from a single seismograph to the epicenter. To find the exact location (triangulation), you need distance data from at least three different seismograph stations.

5. Are the P-wave and S-wave velocities always the same?

No, they vary significantly based on the material they are traveling through. The values in the calculator are averages for the crust. For precise scientific work, seismologists use detailed models of the Earth’s interior.

6. How does magnitude relate to amplitude?

In general, a one-step increase in magnitude (e.g., from 5.0 to 6.0) corresponds to a tenfold increase in the measured amplitude of the seismic waves.

7. What if the P-wave and S-wave arrival times are the same?

This would mean the time lag is zero, indicating a distance of zero. This implies you are at the epicenter of the earthquake, which is practically impossible as the event occurs deep underground (at the hypocenter).

8. Why is the S-P time lag important?

It’s the most direct and reliable piece of data for determining distance. Since both waves start at the same time and location, the growing gap between them is purely a function of distance traveled and their different speeds. Check our data analysis techniques for more info.

Related Tools and Internal Resources

Explore more of our physics and geology tools:

© 2026 Your Website. All rights reserved. For educational purposes only.


Leave a Reply

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