Mathematics is used throughout criminal justice less as a single tool than as a family of methods—counting, measuring, estimating, comparing, and modeling uncertainty—and its most consequential role is in turning imperfect information into decisions about suspicion, guilt, punishment, and resource allocation. That answer needs one immediate qualification: the question spans policing, forensic science, courts, corrections, and criminology, and each uses mathematics differently. Some applications are routine bookkeeping; others are statistically sophisticated and legally contested. What follows distinguishes those uses and flags where mathematics describes the world versus where it helps decide what to do about a person.
Counting and describing crime
The most basic use is measurement. Police departments, courts, and prisons produce counts—reported offenses, arrests, prosecutions, convictions, sentences, admissions and releases—and those counts become the raw material for rates. A raw count is nearly meaningless for comparison because jurisdictions differ in population. Criminologists therefore convert counts into rates per 100,000 residents so that a city of 200,000 and a county of two million can be compared on a common scale.
A simple illustration: if a jurisdiction with 250,000 residents records 1,250 burglaries in a year, the burglary rate is (1,250 ÷ 250,000) × 100,000 = 500 per 100,000 residents. That arithmetic is trivial, but the interpretive problems are not. Reported crime depends on reporting behavior, police recording practices, and the definition of the offense. Victimization surveys such as the National Crime Victimization Survey exist precisely because police-recorded counts and actual victimization diverge. Mathematics can standardize and summarize, but it cannot repair a biased or incomplete source. Confusing "crimes known to police" with "crimes committed" is one of the most common errors in public discussion.
Descriptive statistics—means, medians, percentages, age- and sex-adjusted rates—are the workhorses here. Age standardization matters because populations with different age structures will show different crude crime rates even with identical underlying behavior. Analysts also use time-series methods to separate seasonal patterns from trends, and they decompose changes into components (for example, whether a rise in arrests reflects more offenses or a change in police policy).
Probability and the logic of evidence
Probability theory underlies how courts and investigators reason about evidence. The central idea is that evidence rarely proves a fact outright; it shifts the plausibility of competing explanations. A likelihood ratio expresses how much more probable a piece of evidence is under one hypothesis than another. If a DNA profile is a billion times more likely to match under "this person is the source" than under "a random unrelated person is the source," that ratio quantifies the discriminating power of the match—but it is not the probability that the person is guilty. Converting a match probability into a probability of guilt requires a prior probability and is a separate inferential step that is easy to get wrong.
This distinction is the source of recurring courtroom confusion. The "prosecutor's fallacy" treats the probability of a random match as the probability of innocence. Its mirror image, the "defense attorney's fallacy," misuses the same numbers in the other direction. Both errors come from conflating a conditional probability with its inverse—P(match | innocent) is not P(innocent | match). Statisticians and forensic scientists have written extensively on communicating these quantities to juries, and some jurisdictions regulate how such testimony may be phrased.
Bayes' theorem provides the formal framework for updating belief as evidence arrives, but courts generally do not ask jurors to compute posterior probabilities, and there are real debates about whether jurors should be given numerical likelihood ratios at all. The mathematics is well established; its legal use is contested.
Forensic statistics
Forensic science uses mathematics in several distinct ways. DNA interpretation relies on population-genetics models to estimate profile frequencies, accounting for the fact that allele frequencies differ among populations and that relatives share more genetic material than unrelated people. The calculations are sensitive to the reference population chosen and to assumptions about the number of contributors in a mixed sample—issues that have produced documented case failures.
Beyond DNA, statistics appears in firearms and toolmark comparison (where examiners' conclusions are categorical and researchers have studied error rates), fingerprint analysis (where latent-print comparisons have been studied for accuracy and bias), and trace evidence. A recurring theme is that an examiner's categorical conclusion—"identification," "exclusion," "inconclusive"—is a human judgment, and quantifying its reliability requires controlled studies of error and bias rather than assuming perfection. Cognitive bias research has shown that contextual information can influence examiners, which is an empirical finding about human decision-making, not a mathematical theorem.
An important caution: a statistical model embedded in an instrument can carry the same biases as the data used to build it. Accuracy figures are not transferable across populations, conditions, or versions of a method, and the relevant figure for a given case depends on the specific circumstances. Anyone relying on such figures should check the applicable method, its validation, and the laboratory's protocols.
Risk assessment and actuarial prediction
Actuarial risk instruments are among the most consequential mathematical applications in criminal justice. These tools combine factors—age, prior record, offense type, sometimes static and dynamic variables—into a score estimating the probability of a future event such as reoffending or failure to appear. They are used in bail, sentencing, parole, and supervision decisions.
The mathematics involved includes logistic regression and related classification models, and increasingly machine learning. Key statistical concepts are calibration (do predicted probabilities match observed frequencies?) and discrimination (can the tool rank people by risk better than chance?). A tool can be well calibrated overall yet perform differently across subgroups—a point at the center of the influential 2016 ProPublica analysis of the COMPAS tool and the company's rebuttal. The two sides emphasized different metrics (false-positive rates across groups versus overall predictive accuracy), and much of the disagreement was about which metric matters for fairness. That is a value question as much as a mathematical one. Different fairness criteria are mathematically incompatible in general—one cannot simultaneously equalize all error rates and predictive values across groups under realistic conditions—so choosing a tool means choosing which trade-offs are acceptable.
Risk scores are predictions about groups, not verdicts about individuals. A person with a 10% predicted reoffense probability is not "10% dangerous" in any simple sense; the estimate summarizes what happened among similar people in the development sample. Base rates, the reference population, and the time horizon all shape the number, and tools validated in one setting may not transfer to another.
Criminal justice operations and resource allocation
Mathematics helps agencies allocate finite resources. Patrol scheduling uses optimization and queueing models to place officers where calls-for-service demand is highest. Crime mapping and hot-spot analysis use spatial statistics to identify concentrations of incidents and to evaluate whether interventions reduce crime. Predictive policing applies models to forecast where or when crimes are likely; evaluations have produced mixed results, and critics note feedback loops—if police patrol an area more heavily, more offenses are recorded there, which can reinforce the original prediction. Distinguishing a model that predicts crime from one that predicts police attention is a genuine methodological challenge.
Courts use data to manage caseloads and scheduling. Corrections agencies use forecasting to project prison populations and budget for capacity. All of these applications share a common dependency: the quality of the underlying data and the honesty of the assumptions.
Sentencing, guidelines, and quantitative policy
Sentencing guidelines and statutory formulas often incorporate numerical weights and scoring. Structured sentencing systems may assign points for prior convictions or offense characteristics and map totals to recommended ranges. These are arithmetic and policy choices, not discoveries of nature—the weights reflect legislative or commission judgments about seriousness and culpability. Mathematics makes the system transparent and consistent, but a formula can also embed disparities if its inputs correlate with race, poverty, or geography. Analysts audit such systems for disparate impact, which requires careful statistical work to separate the effect of the input variables from confounding factors.
Criminological research and program evaluation
Criminology uses regression, survival analysis, and quasi-experimental methods to estimate the effects of policies and interventions. Randomized controlled trials—where feasible—and natural experiments allow researchers to compare outcomes with and without an intervention. The mathematics of causal inference (counterfactuals, instrumental variables, difference-in-differences) is central because association is not causation. A program that coincides with falling crime may or may not have caused the decline; rigorous designs help separate the two. Meta-analysis aggregates results across studies, and understanding effect sizes and confidence intervals is essential to reading such work responsibly.
Where mathematics stops and judgment begins
Several boundaries deserve emphasis. First, mathematical outputs are only as good as their inputs; biased data yield biased conclusions, and models can encode historical disparities. Second, statistical predictions are probabilistic and group-level, whereas legal decisions are individual and normative. Third, numerical evidence can be presented misleadingly—precision can masquerade as certainty. Fourth, many fairness questions are not resolvable by mathematics alone because different reasonable definitions of fairness conflict. The legitimate role of mathematics is to clarify trade-offs and quantify uncertainty, not to supply the values that decide among them.
The cases above illustrate the range: rate calculations and time-series in crime measurement; likelihood ratios and Bayes' theorem in evidence; population-genetics models in DNA; logistic models and calibration/discrimination metrics in risk tools; optimization and spatial statistics in operations; scoring formulas in sentencing; and causal-inference methods in evaluation. Each is a different branch of mathematics applied to a different question, and conflating them is a frequent source of confusion in public debate.
Frequently asked questions
Is mathematics "used" in a criminal trial? Yes, but mostly indirectly—through forensic statistics, through the structure of evidentiary reasoning, and through the arithmetic of sentencing guidelines—rather than as a visible calculation performed by jurors.
Do risk-assessment tools determine outcomes automatically? In most U.S. jurisdictions they inform human decisions rather than replace them, but the degree of reliance varies by setting and has been the subject of litigation. The specific legal status depends on the jurisdiction and the tool, which cannot be assumed from general descriptions.
Can a DNA match alone establish guilt? No. A match is one piece of evidence whose weight depends on the profile's rarity, sample quality, and the full context. The probability of a match is not the probability of guilt.
Are crime statistics reliable? They are the best available summaries of what is recorded, but they reflect reporting and policing practices as well as underlying events. Victimization surveys and multiple data sources help triangulate.
Is predictive policing the same as risk assessment? No. Risk assessment estimates the likelihood of outcomes for individuals; predictive policing forecasts the location or timing of incidents. Both rely on data and both raise fairness questions, but they are different applications.