How to Find an Earthquake's Origin Time: P- and S-Wave Speeds and Hypocentral Distance from Arrival Times at Two Stations
“The P wave reached station A at 10:15:20 and station B at 10:15:25. When did the earthquake happen?” This classic middle-school science problem takes three steps: (1) divide the difference in distance by the difference in arrival time to get the P-wave speed, (2) work out how many seconds the P wave took to travel from the hypocenter to station A, and (3) subtract those seconds from the arrival time at station A. In this example the P wave travels at 8 km/s and the earthquake began at 10:15:15. This guide covers the basics of P waves, S waves and the duration of preliminary tremors, the worked example step by step, subtracting times that cross a minute boundary, finding the arrival time or distance at another station, how to get k in Omori's formula, how to read a travel-time graph, early-warning lead time and epicentral distance, all with numbers we actually ran through the Hypocentral Distance Calculator.
The short answer: find the speed, then subtract the travel time from the arrival time
An earthquake's origin time is the time a wave arrived at a station minus the number of seconds it took to travel there from the hypocenter. That travel time is distance ÷ speed, so first you need the wave's speed. If the problem doesn't give it, compare the arrival times at two stations at different distances from the hypocenter.
- 1
1. P-wave speed = difference in hypocentral distance ÷ difference in P-wave arrival time
The wave covered the extra distance between the two stations in the extra seconds between the two arrivals.
- 2
2. Seconds for the P wave to reach station A = station A's hypocentral distance ÷ P-wave speed
Divide the distance from the hypocenter to station A by the speed from step 1.
- 3
3. Origin time = P-wave arrival time at station A − the seconds from step 2
Doing the same calculation with the S wave should give the same origin time, which makes a good check.
| Common question | Answer (values from the worked example below) |
|---|---|
| What is the P-wave speed? | (80 − 40) km ÷ 5 s = 8 km/s |
| What is the S-wave speed? | (80 − 40) km ÷ 10 s = 4 km/s |
| When did the earthquake happen? | 10:15:20 − 40 km ÷ 8 km/s (5 s) = 10:15:15 |
| When does shaking start 120 km from the hypocenter? | P wave at 10:15:30, S wave (strong shaking) at 10:15:45 |
| How far from the hypocenter is a station with 12 seconds of preliminary tremors? | Omori's coefficient k = 8, so 12 s × 8 = 96 km |
Below we solve this example with every step written out, then go through the parts that trip people up on tests: times that cross a minute, finding times and distances for other stations, and reading answers off a graph. Every number was checked in the “Origin time from 2 stations” tab of the Hypocentral Distance Calculator.
Key terms first: P wave, S wave, preliminary tremors and principal motion
When an earthquake happens, two kinds of waves leave the hypocenter at the same moment and spread out in every direction. The fast wave that arrives first is the P wave, which causes the small, rattling “preliminary tremors.” The slower wave that arrives later is the S wave, which causes the large, rolling “principal motion.” Because the two waves start from the same place at the same time but travel at different speeds, the gap between the P-wave arrival and the S-wave arrival grows the farther you are from the hypocenter. That gap is the “duration of preliminary tremors,” also called the S-P time. It's the same idea as judging how far away lightning is from the gap between the flash and the thunder (how far away is the lightning).
| Term | Meaning | Typical numbers |
|---|---|---|
| P wave | The fast wave that arrives first and causes preliminary tremors | About 5–7 km/s in rock near the surface |
| S wave | The slow wave that arrives later and causes the principal motion | About 3–4 km/s (roughly 0.6 times the P-wave speed) |
| Duration of preliminary tremors | Seconds from the P-wave arrival to the S-wave arrival | Grows in proportion to the hypocentral distance |
| Hypocenter | The point underground where the earthquake started | “Distance from the hypocenter” in a problem is measured to here |
| Epicenter | The point on the surface directly above the hypocenter | If the hypocenter has depth, the epicentral distance is shorter than the hypocentral distance |
Example 1: P- and S-wave speeds and the origin time from a two-station table
An earthquake was recorded at two stations at different distances from the hypocenter, with the results below. Find the P- and S-wave speeds and the time the earthquake began.
| Station | Distance from hypocenter | P-wave arrival | S-wave arrival |
|---|---|---|---|
| A | 40 km | 10:15:20 | 10:15:25 |
| B | 80 km | 10:15:25 | 10:15:35 |
- 1
P-wave speed
The difference in distance is 80 − 40 = 40 km, and the difference in P-wave arrival time is 25 s − 20 s = 5 s. The P wave covered 40 km in 5 seconds, so its speed is 40 ÷ 5 = 8 km/s.
- 2
S-wave speed
The difference in S-wave arrival time is 35 s − 25 s = 10 s, so 40 ÷ 10 = 4 km/s, exactly half the P-wave speed.
- 3
Seconds for the P wave to reach station A
Station A is 40 km from the hypocenter, so 40 ÷ 8 = 5 seconds.
- 4
Origin time
The P wave reached station A at 10:15:20, so the earthquake began 5 seconds earlier, at 10:15:15.
- 5
Check with the S wave
The S wave took 40 ÷ 4 = 10 seconds to reach station A, and 10:15:25 − 10 s = 10:15:15. It matches the time from the P wave, so the calculation is right.
While we're here, look at the duration of preliminary tremors too: 25 − 20 = 5 seconds at station A and 35 − 25 = 10 seconds at station B. Doubling the distance exactly doubles the duration. This is the property we'll use from here on: the duration of preliminary tremors is proportional to the hypocentral distance.
Example 2: when the times cross a minute, convert to seconds before subtracting
A common test mistake comes when the arrival times straddle a minute, such as “:58” and “:07.” If you look only at the seconds and compute 7 − 58, the numbers stop making sense.
| Station | Distance from hypocenter | P-wave arrival | S-wave arrival |
|---|---|---|---|
| A | 36 km | 14:46:58 | 14:47:04 |
| B | 90 km | 14:47:07 | 14:47:22 |
- 1
Find the time differences in seconds
From 14:46:58 to 14:47:00 is 2 seconds, and from there to 14:47:07 is 7 seconds, so the P waves arrived 2 + 7 = 9 seconds apart. For the S waves, 14:47:04 to 14:47:22 is 18 seconds.
- 2
Find the speeds
The difference in distance is 90 − 36 = 54 km. The P wave travels at 54 ÷ 9 = 6 km/s and the S wave at 54 ÷ 18 = 3 km/s.
- 3
Find the origin time
The P wave takes 36 ÷ 6 = 6 seconds to reach station A, so the earthquake began 6 seconds before 14:46:58, at 14:46:52. The S wave agrees: 36 ÷ 3 = 12 seconds, and 14:47:04 − 12 s = 14:46:52.
If in doubt, first turn each time into “seconds after a reference time,” then subtract. Taking 14:46:00 as 0 seconds, 14:46:58 is 58 s and 14:47:07 is 67 s, so the difference is 67 − 58 = 9 s. For the origin time, 58 − 6 = 52 s, which converts back to 14:46:52, with no borrowing across the minute to worry about.
Finding the arrival time or hypocentral distance at another station
Once you know the speeds and the origin time, you can work out stations that aren't in the table. These three question types come up most often. We use Example 1 (P wave 8 km/s, S wave 4 km/s, origin time 10:15:15).
| Question | Calculation | Answer |
|---|---|---|
| When does shaking reach a station 120 km from the hypocenter? | P wave 120 ÷ 8 = 15 s later, S wave 120 ÷ 4 = 30 s later | P wave 10:15:30, S wave 10:15:45 |
| And a station 200 km away? | P wave 25 s later, S wave 50 s later | P wave 10:15:40, S wave 10:16:05 |
| The P wave arrived at 10:15:32. How far is that station from the hypocenter? | 17 s after the origin, so 8 × 17 | 136 km |
| How far from the hypocenter is a station with 12 seconds of preliminary tremors? | 40 km gave 5 s, so 8 km per second; 12 × 8 | 96 km |
The duration of preliminary tremors is 30 − 15 = 15 seconds at 120 km and 50 − 25 = 25 seconds at 200 km. Compared with station A's 5 seconds at 40 km, both are proportional to distance. As in the last row, to turn a duration into a distance you multiply by the ratio distance ÷ duration (8 in this example). That is Omori's formula, covered in the next section.
Omori's formula D = kT, and getting k from the P- and S-wave speeds
Omori's formula D = kT expresses the proportional relationship between the duration of preliminary tremors T (seconds) and the hypocentral distance D (km); the constant k is called Omori's coefficient. At D km from the hypocenter the P wave arrives D ÷ Vp seconds after the origin and the S wave D ÷ Vs seconds after, so T = D ÷ Vs − D ÷ Vp. Solving for D gives D = Vp × Vs ÷ (Vp − Vs) × T, so k = Vp × Vs ÷ (Vp − Vs).
| P-wave speed | S-wave speed | k = Vp × Vs ÷ (Vp − Vs) | Distance for 10 s of tremors |
|---|---|---|---|
| 6 km/s | 3 km/s | 6 | 60 km |
| 5 km/s | 3 km/s | 7.5 | 75 km |
| 8 km/s | 4 km/s | 8 | 80 km |
| 6 km/s | 3.5 km/s | 8.4 | 84 km |
| 7 km/s | 4 km/s | about 9.33 | about 93 km |
In Example 1 the P wave is 8 km/s and the S wave 4 km/s, so k = 8 × 4 ÷ 4 = 8, matching station A's 40 km ÷ 5 s = 8. For a quake with a 7 km/s P wave and a 4 km/s S wave, a station 56 km from the hypocenter with 6 seconds of preliminary tremors gives k = 56 ÷ 6 ≈ 9.33, the same as 7 × 4 ÷ 3 ≈ 9.33 from the speeds. Since k can come either from one station's distance ÷ duration or from the speed formula, use whichever fits the numbers the problem gives you.
Reading the origin time off a travel-time graph
Some problems give a graph instead of a table, with distance from the hypocenter on the horizontal axis and time on the vertical axis (a travel-time curve). The P-wave and S-wave arrivals each form a straight line. Here are the numbers from Example 1 laid out by distance.
| Distance from hypocenter | P-wave arrival | S-wave arrival | Duration of preliminary tremors |
|---|---|---|---|
| 0 km (hypocenter) | 10:15:15 | 10:15:15 | 0 s |
| 40 km (station A) | 10:15:20 | 10:15:25 | 5 s |
| 80 km (station B) | 10:15:25 | 10:15:35 | 10 s |
| 120 km | 10:15:30 | 10:15:45 | 15 s |
| 160 km | 10:15:35 | 10:15:55 | 20 s |
- Extend both lines to the left: the time where they meet 0 km is the origin time. The P-wave line and the S-wave line pass through the same point (10:15:15)
- The steeper line is the slower wave. It takes longer to cover the same distance, so the S-wave line is steeper
- The vertical gap between the two lines at a given distance is the duration of preliminary tremors, and it widens to the right
- Read the speed from two points on a line as difference in distance ÷ difference in time. Points on round grid values are easier to calculate with
Graph problems work exactly like table problems. Get the speed from two points you read off, then find the origin time either by extending the line to 0 km or by calculating it. If the graph doesn't reach close to 0 km, calculating is more accurate than reading. The “Origin time from 2 stations” tab of the Hypocentral Distance Calculator plots your two stations and station C on a travel-time graph, so you can compare it with the graph in the problem.
Going further: seconds of warning between an earthquake early warning and strong shaking
An earthquake early warning detects the P wave at stations near the hypocenter and sends an alert before the S wave (strong shaking) arrives. Entrance exams combine this with the origin-time calculation by asking how many seconds after the warning the principal motion begins. We'll assume a 6 km/s P wave, a 3.5 km/s S wave, 12 km from the hypocenter to the first station, and 4 seconds from detecting the P wave to issuing the warning.
- 1
How many seconds after the earthquake is the warning issued?
The P wave reaches the station 12 ÷ 6 = 2 seconds after the origin, and the warning follows 4 seconds later, so 6 seconds after the origin.
- 2
How many seconds until the S wave reaches you?
At 84 km from the hypocenter, 84 ÷ 3.5 = 24 seconds after the origin.
- 3
Lead time = S-wave arrival − time of the warning
24 − 6 = 18 seconds. Strong shaking starts about 18 seconds after you receive the warning.
| Distance from hypocenter | Time until the S wave arrives | Lead time after the warning |
|---|---|---|
| 40 km | about 11.4 s | about 5.4 s |
| 84 km | 24 s | 18 s |
| 150 km | about 42.9 s | about 36.9 s |
The S wave has already arrived by the time the warning goes out at 6 seconds anywhere within 3.5 × 6 = 21 km of the hypocenter. Closer than that, strong shaking comes before the warning, which is why warnings are said to have been “too late” for quakes directly beneath a city. You can run the same calculation in the “Early warning lead time” tab of the Hypocentral Distance Calculator.
Checking the difference between hypocentral and epicentral distance
Omori's formula and arrival times give you the hypocentral distance, the distance to the hypocenter underground. To get the distance on a map (the epicentral distance), use the depth of the hypocenter h and the Pythagorean theorem: epicentral distance = √(hypocentral distance² − h²).
| Hypocentral distance | Depth of hypocenter | Epicentral distance |
|---|---|---|
| 80 km | 30 km | about 74.2 km |
| 100 km | 60 km | 80 km |
| 50 km | 10 km | about 49.0 km |
The shallower the hypocenter and the farther the station, the smaller the gap between the two distances. Conversely, for a deep earthquake the hypocentral distance never drops below the depth, even right next to the epicenter. Enter the focal depth in the “Hypocentral distance (Omori)” tab of the Hypocentral Distance Calculator and it shows the epicentral distance as well.
Common mistakes and how to check your answer
- Subtracting times using only the minutes or only the seconds: when the times cross a minute, convert to seconds first
- Getting the P-wave speed as station A's distance ÷ the seconds of station A's arrival time: until you know the origin time, use the difference between two stations, not an arrival time by itself
- Calculating the origin time as arrival time + seconds: the earthquake happens before the wave arrives, so always subtract
- Getting an S wave faster than the P wave: you misread an arrival time. The S wave is always slower than the P wave
- Getting different origin times from the P and S waves: a reading or a subtraction is wrong somewhere. Read the table again
- Mixing up distance from the hypocenter with distance from the epicenter: Omori's formula gives the hypocentral distance
For example, if you misread station B's S-wave arrival in Example 2 as 14:47:19, the S wave comes out at 54 ÷ 15 = 3.6 km/s, and the origin time from the S wave becomes 14:47:04 − 36 ÷ 3.6 (10 s) = 14:46:54. That is 2 seconds off the 14:46:52 you got from the P wave, so you can spot the mistake. The Hypocentral Distance Calculator also shows a warning when the origin times from the P and S waves disagree.
Checking your working with the Hypocentral Distance Calculator
- 1
Open the “Origin time from 2 stations” tab
Enter the hypocentral distances of station A and station B and the P-wave (preliminary tremor) and S-wave (principal motion) arrival times as hours:minutes:seconds, such as “10:15:20.”
- 2
Look at the results and the worked steps
You get the origin time, the P-wave speed, the S-wave speed and Omori's coefficient k, and the “Worked steps” list the calculations such as difference in distance ÷ difference in time. You can compare them line by line with your own solution.
- 3
Enter a distance for station C
Enter a distance under “Hypocentral distance of another station C” to see when the P and S waves reach station C and its duration of preliminary tremors, with A, B and C plotted on the travel-time graph.
- 4
Use the other tabs too
Check problems that turn a duration of preliminary tremors into a distance in the “Hypocentral distance (Omori)” tab, early-warning problems in the “Early warning lead time” tab and magnitude problems in the “Magnitude & energy” tab.
FAQ
- How do you find the time an earthquake happened?
- Get the P-wave speed as the difference in hypocentral distance between two stations ÷ the difference in P-wave arrival time, then divide one station's hypocentral distance by that speed to get the seconds the P wave took to arrive. Subtract those seconds from that station's P-wave arrival time. If the P wave reached a station 40 km away at 10:15:20 and one 80 km away at 10:15:25, it travels at 8 km/s, takes 5 seconds to cover 40 km, and the earthquake began at 10:15:15.
- Can I use the S-wave arrival time to find the origin time instead?
- Yes. Work out the S-wave speed the same way (difference in distance ÷ difference in S-wave arrival time) and you'll get the same origin time as from the P wave. If the two match, that also confirms your calculation.
- How do I subtract arrival times that cross a minute?
- Convert to seconds first. For 14:46:58 and 14:47:07, it's 2 seconds from :58 to the next minute and then 7 more, so the difference is 9 seconds. You can also treat 14:46:00 as 0 seconds and take the difference between 58 and 67.
- How do I get the hypocentral distance from the duration of preliminary tremors?
- Use Omori's formula D = kT: multiply the duration T by Omori's coefficient k. Get k either from one station's hypocentral distance ÷ duration of preliminary tremors, or from the P- and S-wave speeds with k = Vp × Vs ÷ (Vp − Vs). With k = 8, a station with 12 seconds of preliminary tremors is 96 km away.
- When does shaking start at a point 120 km from the hypocenter?
- Add distance ÷ speed to the origin time. With a P wave of 8 km/s, an S wave of 4 km/s and an origin time of 10:15:15, the P wave arrives 15 seconds later at 10:15:30 and the S wave 30 seconds later at 10:15:45. The duration of preliminary tremors there is 15 seconds.
- Where on a travel-time graph do I read the origin time?
- Extend the P-wave or S-wave line to the left and read the time where it meets the vertical axis at 0 km from the hypocenter. The P-wave and S-wave lines meet at the same point. If the graph isn't drawn all the way to 0 km, calculating from the speed between two points is more accurate.
- How many seconds are there between an early warning and strong shaking?
- It depends on distance from the hypocenter. With a 6 km/s P wave, a 3.5 km/s S wave, 12 km to the first station and 4 seconds to issue the warning, the warning goes out 6 seconds after the origin. At 84 km from the hypocenter the S wave arrives after 24 seconds, giving 18 seconds of warning. Within 21 km of the hypocenter, strong shaking arrives before the warning.
Tools in this article
Related articles
How to Count and Play Polyrhythms: Counting 3 Against 2, 4 Against 3 and 5 Against 4 on Least-Common-Multiple Cells, the Right and Left Hand Order, Intervals in ms by BPM, and How to Practice
When you try to practice 3 against 2 (3 over 2) or 4 against 3 (4 over 3) on drums or piano, it is hard to tell where the right and left hands meet and in what order to play, and one hand keeps getting pulled along by the other. If you divide one cycle into as many cells as the least common multiple of the two numbers and count those, it becomes clear which note lands on which cell. 3 against 2 has 6 cells, with the right hand on 1, 3 and 5 and the left hand on 1 and 4; 4 against 3 has 12 cells, with the right hand on 1, 4, 7 and 10 and the left hand on 1, 5 and 9. This article covers how to count and the order of the hands, a chart of 12 common polyrhythms including 5 against 4 and 7 against 4, how to work out note intervals in ms from the BPM, how 6 against 4 and polymeters differ, a practice order that gets you playing it, and how to read your timing errors, all with numbers calculated by the Polyrhythm Metronome.
Read article →How to Write and Read Roman Numerals: Writing Place by Place, the Subtraction Rule for 4 and 9, Years and Birthday Dates (Tattoos and Engravings), and Common Mistakes Such as IIII and IC
2026 is MMXXVI and 1999 is MCMXCIX. You see Roman numerals in film credits, on clock faces and in anniversary engravings, but the moment you try to write one yourself, you get stuck on questions like “is IIII fine for 4?”, “can I write 99 as IC?” and “where do I split 1988?”. Roman numerals need only seven letters, I, V, X, L, C, D and M, plus four rules. The most reliable method is to split the number into thousands, hundreds, tens and ones, turn each place into Roman numerals and join them. This article covers how to write and read them step by step, a list of common mistakes with the correct forms, a chart of years, the order and checks to use when turning a birthday or wedding date into Roman numerals, how to write 4,000 and above, and what to watch out for with the clock IIII and symbols such as Ⅻ, all using results from the Roman Numeral Converter.
Read article →How to Calculate Opening Hand Probability: Odds of a 3-of or 4-of in Your Opening Hand, the Hypergeometric Distribution by Hand, How Many Copies for 80%, and Combo, Prized-Card and Mulligan Odds
Whether a card will show up in your opening hand can be worked out exactly with a calculation called the hypergeometric distribution. A card with 3 copies in a 40-card deck shows up at least once in a 5-card opening hand 33.76% of the time, and a card with 4 copies in a 60-card deck shows up in a 7-card hand 39.95% of the time. Both are roughly “1 in 3”, which most players find lower than they expected. This article covers the formula and how to work it out on a calculator, why the binomial distribution gives the wrong answer, the chance of exactly x copies and the expected number, quick-reference tables for 40- and 60-card decks, how many copies reach 80%, the odds by turn going first or second, the chance of assembling a two-card combo, and prized-card and mulligan odds, all with figures from the Opening Hand Probability Calculator.
Read article →