The guide
The b-value weighs small quakes against large ones, and the completeness cutoff can move it more than the data
Each step up in magnitude leaves a fixed fraction of the events; estimating that fraction by maximum likelihood is easy, and the hard part is knowing which events to count.
- 1.034 Aki-Utsu b-value of the 500-event synthetic catalog
- 1.1738 b-value for that catalog if the half-bin correction is left out
- 0.8613 b-value from a least-squares line through cumulative counts
- 31.62 times energy release for one more unit of magnitude
Read the full guide Fold the guide
Count the earthquakes in a region over a decade, sorted by size. Small ones vastly outnumber large ones, and the way they thin out follows a pattern so regular that seismologists compress it into a single number. That number is the b-value, and this essay is about what it means, how to estimate it without fooling yourself, and what it cannot be used for.
What the law says
The Gutenberg-Richter law says that the logarithm of the number of events at or above magnitude M falls on a straight line: log10 N = a - bM. The a-value sets the overall level of activity in the catalog, and the b-value sets the slope. Because magnitude is itself logarithmic, the relationship is an instance of the Pareto distribution, a power law in disguise.
In seismically active regions b comes out close to 1.0. That means ten times as many events at or above magnitude 3 as at or above magnitude 4, and a hundred times as many at or above magnitude 2. Values range from about 0.5 to 2 depending on the setting, and during swarms b can climb as high as 2.5, a very high share of small events.
A tilt away from 1.0 invites stories about stress, depth and rock strength, and the literature debates those. A more mundane explanation comes first on the checklist: a b-value far from 1.0 may simply signal a problem with the data set, such as missing small events or errors in the magnitudes.
Which events count
Completeness is the whole game. A seismograph network detects events above some size and misses many below it, and the magnitude where detection becomes reliable is the magnitude of completeness, Mc. Near and below it, the count of recorded events falls short, the cumulative curve bends flat, and the apparent b-value rolls off. The law’s own page attributes that roll-off largely to incompleteness. At the other end, a short record has not waited long enough for the rare large events.
The tool’s synthetic example shows the damage. It makes a catalog that behaves like b = 1 above magnitude 1.8 but loses small events steadily below that: 874 events were recorded, 192 of them at or above 1.8. Analysed from 1.8 the b-value is 0.991. Analysed with every event kept, it falls to 0.623, an error of more than a third, with no change at all in the physics.
How do you pick Mc? A common first guess is the most frequent magnitude bin. The tool offers it, and labels it as a heuristic. In the incomplete example the most frequent bin is 1.1, well below the real cutoff, so the shortcut would have gone wrong here. Look at where the cumulative counts stop following a straight line, and treat the choice as a judgment, not a proof.
Estimating b without a ruler
The tempting method is to plot log10 of the cumulative counts against magnitude and lay a least-squares line through the points. It is easy and it is biased. The cumulative counts are not independent of each other, and the sparse large events carry as much weight in the fit as the thousands of small ones.
On the tool’s 500-event synthetic catalog, generated with a true b of 1, the line gives 0.8613, about 17 percent low. The maximum-likelihood estimate gives 1.034. Maximum likelihood means choosing the parameter under which the observed data are most probable, and here it has a closed form. Above the threshold, magnitudes follow an exponential distribution, and the best estimate of its rate is the reciprocal of the mean excess. The tool converts it to base 10: b = log10(e) divided by the mean magnitude minus the threshold.
Which threshold? Catalogs list magnitudes rounded to a bin, usually 0.1. A value listed as 2.0 stands for events from 1.95 up, so the threshold is Mc minus half a bin. Leave that correction out and the example gives 1.1738, about 13.5 percent too high, a large error from a small oversight.
The bin width matters for the correction, so the tool asks for it. Choose 0 when the magnitudes carry their full precision and the correction vanishes. Choose the real width, often 0.1, when the catalog rounds. The exact binned estimate and the half-bin form differ by well under one percent at width 0.1 and drift apart as the bins widen.
The standard error is b over the square root of N, 0.0462 for 500 events, so the true value of 1 lies within one standard error of the estimate. A simulation backs the formula: the spread of 2,000 simulated estimates from catalogs of that size came to 0.0446. The tool offers an exact discrete version for binned data, which gives 1.039. The numeric maximiser agrees with it to better than one part in ten million, and the gap to the simpler formula is under half a percent.
Sample size sets the precision. With 500 events the standard error is about 4.5 percent of b; with 50 it would be about 14 percent, enough that a b of 0.9 and a b of 1.1 cannot be told apart. A catalog of 300 events generated with a true b of 1.6, the kind of high value seen in swarms, gave an estimate of 1.730 with a standard error of 0.0999, so the true value sat 1.3 standard errors below it. An unbinned catalog of 400 events with a true b of 0.8 gave 0.863.
Rates, chances and what they leave out
Once a and b are known, the law tells you how many events to expect at or above any magnitude. In the example a is 4.767, so about 0.395 events at or above magnitude 5 per catalog duration, or 0.0395 per year over ten years. A Poisson model, which counts events that arrive independently at a constant mean rate, turns a rate into a chance: 1 - exp(-rate x time). That gives 0.326 for at least one event in ten years and 0.861 in fifty.
Read those numbers as properties of a model, not of nature. The Poisson assumption of independent events at a steady rate is exactly what real seismicity breaks. Large earthquakes are followed by aftershocks, smaller events in the same area that decay in number and size in a consistent pattern. A return period, the average time between events, is likewise an estimate built from historic data, and an average carries no schedule.
Nor is a recurrence chance a prediction. Prediction, in the usual definition, specifies time, place and size within stated limits, and a b-value from one catalog supplies none of the three. Seismic hazard, the probability of ground motion above a threshold in a window of time, needs more than a count of magnitudes. Do not use this tool for building, planning or safety decisions.
Magnitude, moment and energy
Magnitudes are logarithmic, and so are the conversions the tool offers. The moment magnitude is defined from the seismic moment M0, the product of the rock’s shear modulus, the slipped area and the average slip. Kanamori’s form is Mw = (log10 M0 - 9.1) / 1.5 with M0 in newton metres. The USGS writes it as 2/3 times (log10 M0 - 16.1) for dyne-cm and notes the constant is 9.1 for N m. One N m is 10^7 dyne-cm, so the two forms agree. Read an N m figure with the dyne-cm constant and magnitude 5 comes out as 0.33.
A second puzzle: the other common definition, with 10.7 for dyne-cm, works out to 9.05 in N m. The two constants differ by 0.0333 magnitude units, a factor of 1.1220 in moment. At magnitude 6 the moment is 1.2589e+18 N m with 9.1 and 1.1220e+18 N m with 9.05. The tool defaults to 9.1 and shows both.
For energy, each whole magnitude unit is about 32 times more energy, a factor of 10^1.5, which is 31.62 times, so two units are 1,000 times. At magnitude 6 the radiated energy is 6.310e+13 joules by 10^(1.5 M + 4.8). The relation E = M0 / 20,000 gives a value 0.24 percent lower. So a magnitude 8 releases a thousand times the energy of a magnitude 6 even though it is only two steps up.
What the method cannot do: find completeness for you, handle clustered or time-varying rates, or turn a slope into a warning. Used with care, a b-value is a compact description of a catalog, and a good prompt to ask how complete that catalog is.
Sources
Every source consulted for this guide. Links checked November 22, 2026.
- Gutenberg-Richter law Wikipedia
- Moment magnitude scale Wikipedia
- Earthquake Magnitude, Energy Release, and Shaking Intensity U.S. Geological Survey
- Magnitude Types U.S. Geological Survey
- Seismic moment Wikipedia
- Richter scale Wikipedia
- Aftershock Wikipedia
- Power law Wikipedia
- Pareto distribution Wikipedia
- Maximum likelihood estimation Wikipedia
- Poisson distribution Wikipedia
- Exponential distribution Wikipedia
- Return period Wikipedia
- Earthquake prediction Wikipedia
- Seismic hazard Wikipedia
- minimize_scalar SciPy documentation