Earthquake magnitude calculator

Enter two magnitudes to see how many times larger the ground motion and the released energy of the first are, with each quake's energy in terajoules and tonnes of TNT. Or switch to the fault mode, enter the rupture length, width and slip, and get the seismic moment and the moment magnitude Mw.

Mode
Energy ratio (1 ÷ 2)31.62
Amplitude ratio (1 ÷ 2)
10
Energy released
1,995.262 TJ
TNT equivalent
476,879.1 t
Energy of earthquake 2
63.096 TJ
TNT equivalent of earthquake 2
15,080.2 t
Seismic moment M₀
3.98107E19 N·m

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Compare: enter two magnitudes. The first is compared with the second.
  2. From fault size: enter the rupture length and width in km, the average slip in metres and the rigidity (30 GPa is a common value for crustal rock).
  3. Read the ratios, the energies and the TNT equivalent.

Formulas

  • Amplitude ratio = 10^(M₁ − M₂)
  • Energy log₁₀ E = 1.5 × M + 4.8 (E in J), so the energy ratio = 10^(1.5 × (M₁ − M₂))
  • TNT equivalent: 1 tonne of TNT = 4.184 × 10⁹ J
  • Seismic moment M₀ = μ × L × W × D (N·m), moment magnitude Mw = ⅔ × (log₁₀ M₀ − 9.1)
Magnitude step Amplitude Energy
+0.2 1.58× 2×
+0.5 3.16× 5.62×
+1 10× 31.6×
+2 100× 1000×

Worked example

Magnitude 7 against magnitude 6:

  • amplitude ratio 10^1 = 10
  • energy ratio 10^1.5 = 31.62
  • E₁ = 10^(1.5 × 7 + 4.8) = 10^15.3 J = 1,995.262 TJ, about 476,879.1 t of TNT
  • E₂ = 10^13.8 J = 63.096 TJ, about 15,080.2 t of TNT

A rupture 100 km long and 20 km wide that slips 2 m in rock of 30 GPa: M₀ = 3 × 10¹⁰ × 10⁵ × 2 × 10⁴ × 2 = 1.2 × 10²⁰ N·m, so Mw = 7.32.

Tips

  • Magnitude is not intensity. Damage depends on depth, distance and ground; intensity scales describe the shaking at a place.
  • The energy figure is radiated seismic energy, an estimate; the total energy of the rupture is larger.
  • Small and negative magnitudes exist: sensitive networks record quakes below magnitude 0.

Frequently asked questions

How much stronger is a magnitude 7 than a magnitude 6?

The recorded wave amplitude is 10 times larger and the released energy about 31.6 times larger, because energy grows as 10^(1.5 × M).

How is earthquake energy calculated?

With the Gutenberg–Richter relation log₁₀ E = 1.5 M + 4.8, E in joules. A magnitude 7 releases 10^15.3 J = 1,995.262 TJ, about 476,879 tonnes of TNT.

What is moment magnitude?

Mw = ⅔ × (log₁₀ M₀ − 9.1), where the seismic moment M₀ = μ × A × D is rigidity times rupture area times average slip, in N·m. It is the scale agencies use for large earthquakes.

Is the Richter scale the same as Mw?

Not exactly. Richter's local magnitude saturates for big earthquakes; Mw does not. For moderate quakes the numbers are similar, and the formulas here treat any magnitude the same way.

More in Math

All tools in this category: Math ·Updated November 4, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.