Home / Science / Earth sciences / Geophysics and seismology / Phone seismometerTool #885

Phone seismometer: record vibrations with your phone's accelerometer, PGA, spectrum and dominant frequency

Lay your phone on a table and record its accelerometer: a live trace of the three components, gravity removed by a highpass filter, peak ground acceleration (PGA), the amplitude spectrum and dominant frequency. Save recordings in this browser, download CSV or SAC. A toy for learning, not an earthquake detector.

Keep it one tap away for everyday use.

Bookmark Phone seismometer?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Start
  2. Record
  3. Gravity off
  4. PGA, Hz
Nothing is uploadedWorks offline once open

Record

A toy for learning, not an earthquake detector. A phone's accelerometer is far less sensitive than a seismometer, picks up every footstep and tap, and this page gives no warnings. For earthquake alerts and reports, follow your national geological survey or civil protection agency.

Lay the phone flat on a table or the floor, screen up, press Start and don't touch it. Your phone may ask to allow motion and orientation access; the readings stay on this page. Keep the screen on while recording.

On a computer: open or paste a recording (CSV)

Columns time (s), x, y, z in m/s², as this page's CSV download or apps such as phyphox write them (a time column named in ms is read as milliseconds). Or three columns x, y, z with the sampling rate below.

Saved in this browser

Recordings you save are kept only in this browser on this device (its local storage), never sent anywhere, and stay until you delete them here or clear the site's data. Up to 5 minutes each.

What it does

Every smartphone has an accelerometer: a tiny sensor that measures acceleration along three axes, about 50 to 200 times a second. Lying still on a table it reads gravity, about 9.8 m/s² on the axis out of the screen, plus small wobbles from anything that shakes the table. This page turns your phone into a toy seismometer:

  • Records the three components after you press Start (your phone may ask for permission first; the page never starts by itself) and draws the last 10 seconds live.
  • Resamples the readings evenly (phones deliver them at slightly uneven times) and removes gravity and slow tilt with a zero-phase Butterworth highpass filter.
  • Measures the peak ground acceleration (PGA) on each component, in m/s² and as a percentage of g, plus the 3-D and horizontal peaks.
  • Shows the amplitude spectrum and the dominant frequency of each component.
  • Saves recordings in this browser only, and downloads them as CSV or as a SAC file to open in the Seismogram viewer or seismology software.

It is a toy for learning, not an earthquake detector. A phone is thousands of times less sensitive than a real seismometer, its sensor drifts, and footsteps or a closing door look like earthquakes. It gives no warnings. For real earthquake information follow your national geological survey or civil protection agency.

How to use it

  1. Lay the phone flat on a solid surface, screen up, and press Start recording. On iPhones, allow Motion & Orientation access when asked.
  2. Don’t touch the phone. Make something shake: walk past, drop a book on the floor nearby, or record a washing machine.
  3. Press Stop (or wait for the time limit). The analysis appears below.
  4. Adjust Remove below (the highpass corner; 0.5 Hz removes gravity and slow tilt) and optionally Remove above to cut fast noise. Higher filter orders cut more steeply.
  5. Save this recording to keep it in this browser, or download the CSV or SAC.

On a computer (which has no accelerometer), open a CSV recording from a phone app, or press Use the demo recording.

Worked example

The demo is a made-up 30-second recording of a phone on a table, with readings about every 16 ms (62.5 a second, slightly uneven) resampled to 63 Hz. A lorry passes from 8 to 16 s and a door is slammed at 21 s. With the default 0.5 Hz highpass, the page reports PGA 0.314 m/s² (3.20 % g) on z, at 21.06 s: the door. The dominant frequency on z is 3.17 Hz (the door’s knock) and on y 12.0 Hz (the lorry’s hum, which shakes y most). Set Remove above to 5 Hz and the lorry almost disappears from y, because its 12 Hz is filtered out.

Good to know

  • The axes are the phone’s own: x across the screen, y along it, z out of the screen. Lying flat, z is vertical.
  • Phones deliver readings unevenly and some stop when the screen locks; keep the screen on. The page states the spread of the intervals.
  • A sharp tap on the table gives a huge PGA: that is why it says “check your recording” for large values.

FAQ

Is my recording sent anywhere? No. Readings stay on this page. Saved recordings are kept in this browser’s storage on this device until you delete them.

Why is the PGA not zero when nothing happens? The sensor has noise of a few thousandths of a m/s², plus building vibration.

Can I use it for a science fair? Yes: compare floors of a building, machines, or how a heavier table damps vibration.

Where the numbers come from

  • Motion readings from the W3C DeviceOrientation Event specification (devicemotion, accelerationIncludingGravity in m/s²; device axes x across the screen, y along it, z out of the screen).
  • Linear resampling, Butterworth highpass by the bilinear transform with zero-phase filtering, Tukey taper and amplitude spectrum: standard signal processing written by fibub, checked against NumPy (interp, rfft) and SciPy 1.18 (butter, sosfiltfilt, detrend, tukey). Standard gravity g = 9.80665 m/s².
  • The words for how strong shaking feels are fibub's rough guide for scale, not an intensity scale. The demo recording is made up by fibub.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-09.

Related tools

Earthquake locator and magnitude calculator #878 Paste P and S arrival times from three or more seismic stations. Get each station's S−P distance, the epicentre and origin time by least squares (Geiger's method, on a flat map or the globe), optional depth, error estimates, a map with distance circles, local magnitude ML from amplitudes, and Mw from seismic moment or fault size. Seismogram viewer #879 Open SAC and miniSEED seismogram files (Steim-1, Steim-2, integers and floats) in your browser. See several traces at once with zoom and pan, remove the trend, taper, apply a Butterworth bandpass (one pass or zero phase), see the amplitude spectrum and a spectrogram, tap to pick P and S, and download CSV. GPR radargram viewer #513 Open ground-penetrating radar profiles in SEG-Y (rev 0 or 1, IBM or IEEE floats, integers, either byte order) or GSSI DZT format in your browser. Set time zero, dewow, remove the background, add linear, exponential or AGC gain, show depth from a wave speed, fit a hyperbola for the speed, view single traces and save the radargram as PNG. Gravity survey corrections #880 Paste a day of gravity meter readings with base station repeats. Get drift-corrected observed gravity, normal gravity from GRS80 or WGS84, free-air and Bouguer slab corrections at your density, ring terrain corrections, and free-air, simple and complete Bouguer anomalies as a table, a profile plot and a CSV. Magnetic anomaly modeller #881 Model the total-field magnetic anomaly of a buried sphere, horizontal cylinder, thin dipping dyke or vertical-sided prism in any field inclination and declination, with optional remanent magnetisation. See the profile and a map, and compare with pasted survey readings by RMS misfit. Seismic refraction interpreter #882 Paste first-arrival picks from a forward shot and, if you have one, a reverse shot. The page splits them into 2 or 3 layers, fits each line, and gives speeds, depths by the intercept-time and crossover methods, a dipping-layer solution from the two shots, reciprocal time check and a forward model to compare.