CORAA
University · Forensic and audit analytics

Benford's law checker — the first-digit test.

Paste a list of amounts and compare the first-digit pattern with what Benford's law expects. See the chi-squared statistic, the mean absolute deviation and a digit-by-digit table. It runs in your browser and nothing is uploaded.

Your amounts
One amount per line, or separated by commas
Signs, rupee symbols and commas are ignored, and zeros are skipped. The sample above is only an illustration. Use a population that suits the test, such as invoice or journal amounts, and a few hundred items at least.
Conformity (MAD)
Non-conformity
20 amounts tested. A sample this small gives an unreliable result.
Result
Amounts tested20
Chi-squared (8 degrees of freedom)7.24
Against critical values 15.507 (5%) and 20.090 (1%)Not rejected at 5%
Mean absolute deviation0.0563
MAD bandNon-conformity
Digit by digit
DigitCountActualExpectedDifference
11155.0%30.1%24.9 pts
2315.0%17.6%-2.6 pts
3210.0%12.5%-2.5 pts
415.0%9.7%-4.7 pts
515.0%7.9%-2.9 pts
615.0%6.7%-1.7 pts
700.0%5.8%-5.8 pts
800.0%5.1%-5.1 pts
915.0%4.6%0.4 pts
Keep going

One workspace for every journal entry.

Start free on CORAA StudioExplore more tools

Background reading: what is a forensic audit and the forensic audit guide.

How Benford's law is tested

Benford's law says that in many naturally occurring sets of numbers, the first digit is not spread evenly. The digit 1 leads about 30.1% of the time, 2 about 17.6%, and 9 only about 4.6%. The expected share of digit d is log10(1 + 1/d).

The checker counts the first digit of each amount you paste, compares the actual share of each digit with the expected share, and reports two measures. Chi-squared adds up the squared gaps between the actual and expected counts, scaled by the expected counts. With eight degrees of freedom, a value above 15.507 rejects conformity at the 5% level and above 20.090 at the 1% level. The mean absolute deviation averages the gaps between the actual and expected percentages, and is read against bands from the forensic accounting literature: up to 0.006 is close conformity, up to 0.012 acceptable, up to 0.015 marginal, and above that is non-conformity.

A departure is a prompt to look closer. It is not proof of error or fraud, and a conforming result does not prove the figures are right. The test suits large populations of amounts that span several orders of magnitude, such as invoices, payments or journal entries.

Worked example: a small list of invoice amounts

An auditor pastes twenty invoice amounts. Eleven start with 1, four with 2, two with 3, and one each with 4, 5 and 6. Is the pattern in line with Benford?

Inputs
Amounts20
Digit 1 share55.0% (expected 30.1%)
Digit 2 share20.0% (expected 17.6%)
Digit 9 share0.0% (expected 4.6%)
Output
ReadingDigit 1 is well above its expected share
CautionTwenty items is too few for a reliable test
Digit 1 appears far more often than the expected 30.1%, which would be worth following up in a larger population. With only twenty items, chance alone can produce this, so the auditor would extend the test to the full year of invoices before drawing any conclusion.

Common mistakes

Testing a population that should not follow the law
Numbers with a built-in range, such as prices set at ₹99 or ₹499, cheque numbers, or amounts capped by policy, do not follow Benford. A departure there tells you about the population, not about misstatement.
Using too small a sample
With a few dozen items the result is unreliable. Chi-squared in particular becomes over-sensitive in very large samples and unreliable in very small ones, so read it together with the mean absolute deviation and the digit table.
Treating a departure as proof
An unusual first-digit pattern is a reason to look at the underlying entries. Round-number approval limits, rate-based billing and legitimate recurring amounts can all cause it.
Testing amounts after rounding or conversion
Amounts that have been rounded, converted from another currency or truncated lose the natural pattern. Test the original recorded amounts.
Stopping at the first digit
The first-two-digits test and the last-two-digits test pick up different patterns, such as an excess of amounts just below an approval limit. Use this checker as a first screen, not the whole procedure.

Frequently asked questions

What is Benford's law?+
Benford's law describes the usual distribution of first digits in many sets of real-world numbers. Digit 1 leads about 30% of the time and digit 9 under 5%. Auditors compare the actual pattern in a set of amounts with the expected one to spot populations worth examining more closely.
Can Benford's law detect fraud?+
It cannot prove fraud. A pattern that differs from the expected one can point to invented, rounded or manipulated amounts, but it can equally come from legitimate causes. It is used as a screening step, followed by examining the entries behind the departure.
How many amounts do I need?+
More is better. A few hundred amounts is a minimum for a first-digit test to say much, and thousands is better. The checker warns when the sample is under one hundred.
What is the chi-squared critical value used here?+
The first-digit test has nine digits and so eight degrees of freedom. The critical values are 15.507 at the 5% level and 20.090 at the 1% level. A statistic above the critical value means the observed pattern is unlikely to arise by chance if the data followed Benford's law.
Does the tool upload my data?+
No. The test is computed in your browser and nothing is sent to a server.

Authoritative sources

Nigrini, M. J., Benford's Law: Applications for Forensic Accounting, Auditing and Fraud Detection (Wiley, 2012) — The MAD conformity bands for the first-digit test follow Nigrini. Chi-squared critical values are standard for eight degrees of freedom. SA 240 requires the auditor to respond to the risk of fraud; Benford analysis is one optional screening tool.
Always confirm against the latest version of the source. Regulations evolve and amendments are common.
Related calculators
What is a forensic audit →Forensic audit guide →Schedule III ratio calculator →Cash transaction checker →
Share this tool
Last reviewed: 2026-10-09 · For informational purposes only — not professional advice.